199
Chapter 14: Command Line Configuration
TocongureNSCAwiththefollowingsettings:
NSCAencryption BLOWFISH(canbe:[None|XOR|DES|TRPLEDES|CAST-256|BLOWFISH|
TWOFISH|RIJNDAEL-256|SERPENT|GOST]
NSCApassword secret
NSCAcheck-ininterval 5minutes
NSCAport 5650(defaultsto5667)
usertorunas User1(defaultstonsca)
grouptorunas Group1(defaultstonobody)
# 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 –a
14.2 General Linux command usage
TheConsoleServerplatformisadedicatedLinuxcomputer,optimizedtoprovideaccesstoserialconsolesofcriticalserver
systemsandcontrolnetworkconnectedhosts.BeingbasedarounduClinux(asmallfootprintbutextensibleLinux),itembodies
amyriadofpopularandprovenLinuxsoftwaremodulesfornetworking(NetFilter,IPTables),secureaccess(OpenSSH)and
communications(OpenSSL)andsophisticateduserauthentication(PAM,RADIUS,TACACS+andLDAP).
ManycomponentsoftheConsoleServersoftwarearelicensedundertheGNUGeneralPublicLicense(version2).Youmay
obtainacopyoftheGNUGeneralPublicLicenseathttp://www.fsf.org/copyleft/gpl.htmlandsourcecodewillprovidedforanyof
thecomponentsoftheSoftwarelicensedundertheGNUGeneralPublicLicenseuponrequest.TheConsoleServersarebuilt
onthe2.6uClinuxkernelasdevelopedbytheuClinuxproject.ThisisGPLcodeandsourcecanbefound:http://cvs.uclinux.
org.