Howto make Nagios send notifications if just output of plugin changes

Lee Ball lee at effective-it.co.uk
Fri Aug 26 22:49:18 CEST 2005


I've seen a problem with availability reports. The total % seems to 
include some undetermined time.

For example if I ran an availability report for the last 24 hours where 
the host was only setup to be monitored 12 hours ago I'll have 50% 
undetermined and it seems like the host only has lets say a 47% UP 
status and maybe 3% Critical and 50% Undetermined.

It doesn't become a problem I think after the initial 24 hours.

Mikko Kaipila wrote:
> On Fri, 2005-08-26 at 07:40 -0700, Jason Martin wrote:
> 
>>On Fri, Aug 26, 2005 at 05:10:03PM +0300, Mikko Kaipila wrote:
>>
>>>Ok, but Nagios has capability to parse the plugin output text because of
>>>stalking_options I think...
>>
>>stalking just tells it to *log* every change in output, but it
>>doesn't trigger any actions. Nagios doesn't parse the output
>>text ever, just record it.
>>
>>-Jason Martin
> 
> 
> Ok, I made the plugin which is now smarter :) That changes exit value if
> text output changes...
> 
> btw, how Nagios create availibilty report (%)? Is that percent value (by
> desired timeperiod) of different states duration of some service - or
> what?
> 
>  
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list