282
1. 8 7 7. 8 7 7. 2 26 9 BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.87 7.2269
CHAPTER 15: CONFIGURATION FROM THE COMMAND LINE
To configure NSCA with the following settings:
TABLE 15-21. NCSA SETTINGS
SETTING VALUE NOTES
NSCA encryption BLOWFISH
can be None, XOR, DES, TRPLEDES, CAST-256, BLOWFISH, TWOFISH,
RIJNDAEL-256, SERPENT, GOST
NSCA password secret —
NSCA check-in interval 2 minutes —
NSCA port 5650 Defaults to 5667
User to run as user1 Defaults to nsca
Group to run as group1 Defaults to nobody
Run the following commands
# config -s config.system.nagios.nsca.enabled=on
# config -s config.system.nagios.nsca.encryption=BLOWFISH
# config -s config.system.nagios.nsca.secret=secret
# config -s config.system.nagios.nsca.interval=2
# config -s config.system.nagios.nsca.port=5650
# config -s config.system.nagios.nsca.user=user1
# config -s config.system.nagios.nsca.group=group1
The following command will synchronize the live system with the new configuration:
# config -r auth