Re: [Nagios-users] Alert History seems empty
On Mar 2, 2009, at 11:25 AM, Rahul Nabar wrote: > If I try "View Alert History for this Service" I seem to get an error > "No history information was found for this this service in the current > log file" > > The file that it reports "File: /usr/local/nagios/var/nagios.log" is > indeed correctly present. What else could be wrong? Does "Alert > History" have to be explicitly enabled in some way? No. > This is a simple "ping" service so it does have performance data. Alert history isn't performance data. An 'alert' is logged when the service changes state (i.e. OK->CRITICAL for example). Your service has not changed state in the current log file. Nagios does not log performance data to nagios.log. -- Marc -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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
Re: [Nagios-users] Alert History seems empty
2009/3/2 Rahul Nabar : > If I try "View Alert History for this Service" I seem to get an error > "No history information was found for this this service in the current > log file" > > The file that it reports "File: /usr/local/nagios/var/nagios.log" is > indeed correctly present. What else could be wrong? Does "Alert > History" have to be explicitly enabled in some way? > > This is a simple "ping" service so it does have performance data. > > -- > Rahul The history will normally only record anything if the ping check has changed state (for example from OK to Warning). If there's nothing in the log for a particular day, it simply means it''s been pinging fine all day (or if it's been critical all day long). Nagios itself doesn't do anything with the performance data, but can be configured to pass it on to flat files, a database or to a graph for example PNP or nagiosgrapher. I use (and recommend) PNP as it's easy to install and use and seems to get better & better with every new release. http://www.pnp4nagios.org/pnp/start -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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
Re: [Nagios-users] Alert History seems empty
On Mon, Mar 2, 2009 at 1:12 PM, Marc Powell wrote: > > On Mar 2, 2009, at 11:25 AM, Rahul Nabar wrote: > > Alert history isn't performance data. An 'alert' is logged when the > service changes state (i.e. OK->CRITICAL for example). Your service > has not changed state in the current log file. Thanks Marc. My bad. What I should have been looking for is "View Trends for this service". I got confused between those two. -- Rahul -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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
Re: [Nagios-users] Alert History seems empty
On Mon, Mar 2, 2009 at 1:57 PM, Jim Avery wrote: > The history will normally only record anything if the ping check has > changed state (for example from OK to Warning). If there's nothing in > the log for a particular day, it simply means it''s been pinging fine > all day (or if it's been critical all day long). > > Nagios itself doesn't do anything with the performance data, but can > be configured to pass it on to flat files, a database or to a graph > for example PNP or nagiosgrapher. I use (and recommend) PNP as it's > easy to install and use and seems to get better & better with every > new release. http://www.pnp4nagios.org/pnp/start Thanks Jim. That makes sense now. I was misinterpreting the term "alert history". I already have PNP4nagios working. -- Rahul -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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