Today is April 11, 2005. I’ve searched and read as many forum topics I could find related to the problem I’m experiencing but no solution yet. I’ve been through the Nagios documentation a number of times to make sure I didn’t miss something. I can’t find a resolution to my problem so I’m posting here.
The most basic of monitor, the check_host_alive, isn’t working.
I followed the manual exactly and complied Nagios 1.2 on RedHat 7.3. I have configured the CFG files, all using the default locations and other values because I didn’t make any changes during the Make process. I’ve confirmed all paths.
I can login to my Nagios installation and see my two hosts. I configured them to perform a check_host_ailve which equates to a ping command. Nagios reports the hosts are Down although I can run the command from the shell prompt and the hosts are alive and well (not down).
I enabled the check_nagios_process (for fun) and it tells me that Nagios isn’t running, although it does display the correct PID. I’m not getting any error messages in the Nagios event log or the shell console.
I haven’t tried any other monitoring commands, thinking that it doesn’t get easier than ping to troubleshoot. I can provide contents of CFG files, and so forth, but I’m not sure what info would be the most helpful to post.
I’m still relatively new with Linux but not a complete noob. Part of me is thinking the nagios user is lacking permission to run the ping command, but I’m not sure and the documentation says little more than to create a user object named “nagios”.
TIA and I’ll be happy to post more details.