Cover by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

14.2 Configuring the Nagios Server

14.2.1 The configuration file nsca.cfg

For NSCA to work, the External Command File interface on the Nagios server must be activated in the configuration file /etc/nagios/nagios.cfg (13.1 The Interface for External Commands, page 292) and the corresponding data entered in the NSCA configuration file nsca.cfg:

# /etc/nagios/nsca.cfg
server_port=5667
server_address=192.168.1.1
allowed_hosts=127.0.0.1
nsca_user=nagios
nsca_group=nagios
debug=0
command_file=/var/nagios/rw/nagios.cmd
alternate_dump_file=/var/nagios/rw/nsca.dump
aggregate_writes=0
append_to_file=0
max_packet_age=30
password=verysecret
decryption_method=10

The parameters server_port, server_address, allowed_hosts, nsca_user, and nsca_group take effect only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required