Hi gang…I’m new to Nagios and Linux. I’ve installed linux, Nagios and Apache. I can open the browser and connect to Http://localhost/nagios/ and get the main screen of Nagios. After that none of the links work. So, I know I need to configure Nagios at this point. Now when i test my Nagios configs with:
/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg
I get the following:
Error: Could not find any contact matching ‘nagios’ (config file ‘/etc/nagios/objects/contacts.cfg’, starting on line 51)
Error: Could not expand member contacts specified in contactgroup (config file ‘/etc/nagios/objects/contacts.cfg’, starting on line 51)
I’m really having a hard time with verifying nagios configs and was hoping someone would tell me what config files I need to check. I’ve looked at contacts.cfg but can’t seem to figure out why it’s complaining.
contents of my contacts.cfg file:
define contactgroup{
contactgroup_name nagios
alias Nagios Administrators
members nagios
}
I have a group called nagios and a user called nagios.