Services; Nagios - Tripp Lite B092-016 Owner's Manual

Console server management switch console server with poweralert console server
Hide thumbs Also See for B092-016:
Table of Contents

Advertisement

Chapter 14: Command Line Configuration

14.1.21 Services

You can manually enable or disable network servers from the command line. For example if you wanted to guarantee the
following server configuration:
HTTP Server
HTTPS Server
Telnet Server
SSH Server
SNMP Server
Ping Replies (Respond to ICMP echo requests)
TFTP server
# 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'
# config -s config.services.ssh.portbase='port base number'
# config -s config.services.tcp.portbase='port base number'
# config -s config.services.rfc2217.portbase='port base number'
# config -s config.services.unauthtel.portbase='port base number
The following command will synchronize the live system with the new configuration:
# config -a

14.1.22 NAGIOS

To configure NAGIOS with the following settings:
NAGIOS host name
NAGIOS host address
NAGIOS server address
Enable SDT for NAGIOS ext.
SDT gateway address
Prefer NRPE over NSCA
# config -s config.system.nagios.enabled=on
# config -s config.system.nagios.name=b095
# 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
# 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
NRPE user
NRPE group
Allow command arguments
# 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
Enabled
Disabled
Disabled
Enabled
Disabled
Disabled
Enabled
b095 (Name of this system)
192.168.0.1 (IP to find this device at)
192.168.0.10 (upstream NAGIOS server)
Enabled
192.168.0.1 (defaults to host address)
Disabled (defaults to Disabled)
(disables SDT for nagios extensions)
5600 (port to listen on for nrpe. Defaults to 5666)
user1 (User to run as. Defaults to nrpe)
group1 (Group to run as. Defaults to nobody)
Enabled
Default: 2000
Default: 3000
Default: 4000
Default: 5000
Default: 6000
198

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents