Nagios ------ 2006-06-27 Get RPMS from dag RPM repo: nagios, nagios-plugins, fping, perl-net-SNMP, perl-Crypt-DES, perl-Socket6; nagios-npre, nagios-plugins-nrpe (nrpe is for clients, maybe also on server) up2date -i libtool-lib net-snmp-perl perl-Digest-HMAC rpm -Uvh all of them damn things vi /etc/nagios/nagios.cfg host/service info definitions comment minimal.cfg add 2 config dir directives for hosts and conf.d folders mkdir hosts and conf.d mv checkcommands command-plugins misccommand into conf.d rm bigger and minimal Remove duplicates from command-plugins (compared to misccommand) vi /etc/nagios/conf.d/templates.cfg add your templates vi /etc/nagios/conf.d/contacts.cfg includes individuals and groups vi /etc/nagios/conf.d/hostgroups.cfg define groups of servers vi /etc/nagios/conf.d/timeperiods.cfg define your time periods for service checking and notification cd /etc/nagios/hosts #let's create a server's config! vi dev101s.cfg To verify config files: nagios -v /etc/nagios/nagios.cfg hopefully no errors vi /etc/nagios/cgi.cfg allow users (nagiosadmin) to have perms to all things http://www.example.com/nagios/ nagios/nagios checkcommands tells me what commands/services I can check against in /etc/nagios/nagios.cfg check_external_commands=1 (if I want to initiate from web; 0 if not)