plugin for monitoring nagios, remembering to turn notifications back on

Yueh-Hung Liu yuehung.liu at gmail.com
Sat Feb 12 02:14:33 CET 2011


enable logging for external commands, won't you find the time about
disabling notification of services?


On Sat, Feb 12, 2011 at 12:43 AM, Ray Kiddy <ray at ganymede.org> wrote:
>
> I could not think of a way to search for this kind of plugin in the usual places, so I ended up creating a version myself.
>
> We had a service and had turned off notifications a bit ago and forgot to turn them back on once the problem was fixed. So, now I have a service which checks the services in the status.dat file and goes red is a service has notification turned off for longer than a day or two.
>
> How does one search the exchanges for a plugin which checks nagios itself. Doing a search for "nagios"  obviously does not work. Sort of like looking for R in Google. It turns out that there are a lot of pages that use that letter and not all of them are about the statistics tool....
>
> Anyway. Right now, the service is written and does not come up, probably because something is missing. After all, what host does one attach it to? It is about the nagios service itself, so no host would really be correct. Or I am missing something else. I am sure I can get it to work. I will be finishing this and will put it up in the exchange, but if anyone has suggestions, I would be interested in hearing them.
>
> One bother is that if a service has its notifications turned off, none of the time markers in the service say when that happened. If a service went down and up 7 days ago and the notifications were turned off 5 days ago, all the times point to the event 7 days ago. I do not see one which references the change 5 days ago. There seems to be no variable that stores the time a human changed something about a service in the service that was changed So, I have to store the time I first saw a service with its notifications turned off. I was storing this in a file, but I am going to use the output line from this service. Then the status.dat entry for this service will tell me about the notification setting time for the other services. Seems a bother, but there it is.
>
> Is there a name for this sort of nagios-monitoring, reflexive plugin? Does anyone know a key word to search for to find others like this?
>
> thanx - ray
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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