Active Checks Issue - Still run even when disabled

Sapon, Dimitry Dimitry.Sapon at rbccm.com
Wed Jun 6 18:50:19 CEST 2007


Ok, just in case anyone come across the same thing, it seems like it is a bug. I'll state it here but also, where do I log such bugs so that the developers are aware of them?

What I had to do to temporarily alleviate the problem was to comment out any definition that used or had anythign to do with that host (services, servicegroups, hostgroups etc). I then restarted Nagios and let it run for a bit to "clear out" any possible caching of values. I then uncommented those defitions back and the problem was gone.

It seems like if you globally enable active services checks for a host through the "Enable notifications on all services for this host" option on the host's page, it stores the value somewhere and it always overrides the template definitions. There is no reset to default option on the page, only enable/disable which either turn on/off globally.

Anyways, hope this helps future people who run into this. 

If anyone could point me to the webpage to log this bug, I'll do so also.

Regards,
Dimitry

-----Original Message-----
From: Hari Sekhon [mailto:hpsekhon at googlemail.com] 
Sent: Wednesday, June 06, 2007 11:20 AM
To: Sapon, Dimitry
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Active Checks Issue - Still run even when disabled

usually when this kind of weirdness is going on you have separate 2 instances of nagios running, perhaps one has checks disabled but the other has checks enabled.

I would close all nagios instances and start a new one and see if the problem persists.

beyond that I would suspect a bug. I am running 2.5 so I wouldn't know about 2.8.

-h

Hari Sekhon



Sapon, Dimitry wrote:
> Hi,
>  
> VER:Nagios 2.8
>  
> Just had another unexpected issue come up. I clicked on one of my 
> hosts and set "Enable notifications on all services for this host".
> Now even if in the service template definition active checks are 
> disabled for some/all of those services, active checks still run. At 
> first I thought it wasn't getting the new values, but I checked the 
> table in the View Config option for those services and the active 
> checks column shows no.
>  
> Seems like Nagios has another place it stores a value that enabled 
> active checks of all services on that host. It also seems that this 
> value overrides what's defined in the services.cfg definitions. Anyone 
> experience/solve this before? What was the solution?
>  
> Thanks.
>  
> Regards,
> Dimitry
> ______________________________________________________________________
> _
>
> This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential.
> Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. 
> This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message.
>
> Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. 
> Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
> Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.
> ----------------------------------------------------------------------
> --
>
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by DB2 Express Download DB2 Express 
> C - the FREE version of DB2 express and take control of your XML. No 
> limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> 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
_______________________________________________________________________

This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential.
Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. 
This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. 
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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