Added servers to Nagios
September 23, 2008 – 13:00Added some new fresh servers to nagios:
cd /usr/local/share/nagios/etc/servers
Add host-file to that directory. In host-file add services:
http
Edit following files (add new hosts):
/usr/local/share/nagios/etc/hostgroups.cfg (add server to hostgroup / VMWare group / ) /usr/local/share/nagios/etc/hostextinfo.cfg /etc/n2rrd/templates/maps/service_name_maps
Installed snmp and nrpe on servers to check additional services:
yum install net-snmp.x86_64 service snmpd start chkconfig --level 2345 snmpd on yum install nagios-nrpe service nrpe start chkconfig --level 2345 nrpe on
edit firewall settings.
edit /etc/snmp/snmpd.conf : see example on other servers. Basically allow DMZ to access snmp views to monitor the system.




















Sorry, comments for this entry are closed at this time.