Jason Martin a écrit : > On Mon, Jul 17, 2006 at 12:41:59PM -0600, Tim Pushor wrote: >> - Has anything like this been done >> - If not, whats the best (easiest) way to monitor the nagios process? >> Can nagios be configured to write something to a log file, so we know >> that its still running? (by checking on the modified date on the file) > There is a plugin called check_nagios that checks the nagios > status file for that very thing. The CGI's can also call this > plugin, although you'll have to check what the output looks like > when Nagios is down to see what to check for with the HTTP > monitor. > > -Jason Martin > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null
Hi The best way is to use nagios plugin: "check_nagios" from the web interface. Check your config file from the "cgi.cfg" file. This way, if nagios is stopped, we suppose that apache is still running, because it is a nagios problem. So you can see on the web interface that nagios is faulty ! But, if i remember, there is no way to send email by that way... Regards Guillaume -- Guillaume E-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
