_____________________________________________________________________
724-746-5500 | b lackb o x.co m
Page 187
TFTP server
Enabled
# config -s config.services.http.enabled=on
# config -d config.services.https.enabled
# config -d config.services.telnet.enabled
# config -s config.services.ssh.enabled=on
# config -d config.services.snmp.enabled
# config -d config.services.pingreply.enabled
# config -s config.services.tftp.enabled=on
To set secondary port ranges for any service
# config -s config.services.telnet.portbase='port base number' Default: 2000
# config -s config.services.ssh.portbase='port base number'
Default: 3000
# config -s config.services.tcp.portbase='port base number'
Default: 4000
# config -s config.services.rfc2217.portbase='port base number' Default: 5000
# config -s config.services.unauthtel.portbase='port base number
Default: 6000
The following command will synchronize the live system with the new configuration:
# config -a
14.23 NAGIOS
To configure NAGIOS with the following settings:
NAGIOS host name
console at R3 (Name of this system)
NAGIOS host address
192.168.0.1 (IP to find this device at)
NAGIOS server address
192.168.0.10 (upstream NAGIOS server)
Enable SDT for NAGIOS ext.
Enabled
SDT gateway address
192.168.0.1 (defaults to host address)
Prefer NRPE over NSCA
Disabled (defaults to Disabled)
# config -s config.system.nagios.enabled=on
# config -s config.system.nagios.name=les1116
# config -s config.system.nagios.address=192.168.0.1
# config -s config.system.nagios.server.address=192.168.0.10
# config -s config.system.nagios.sdt.disabled=on (diables SDT for nagios extensions)
# config -s config.system.nagios.sdt.address=192.168.0.1
# config -s config.system.nagios.nrpe.prefer=''
To configure NRPE with following settings:
NRPE port
5600 (port to listen on for nrpe. Defualts to 5666)
NRPE user
user1 (User to run as. Defaults to nrpe)
NRPE group
group1 (Group to run as. Defaults to nobody)
Allow command arguments
Enabled
# config -s config.system.nagios.nrpe.enabled=on
# config -s config.system.nagios.nrpe.port=5600
# config -s config.system.nagios.user=user1
# config -s config.system.nagios.nrpe.group=group1
# config -s config.system.nagios.nrpe.cmdargs=on
To configure NSCA with the following settings:
NSCA encryption
BLOWFISH (can be: [ None | XOR | DES | TRPLEDES | CAST-256
| BLOWFISH | TWOFISH | RIJNDAEL-256 | SERPENT | GOST ]