[Pkg-nagios-devel] Bug#725826: nagios3: re-schedule a next service check leads to multiple checks in the normal check period

Marc Leurent lftsy at leurent.eu
Wed Dec 4 11:28:57 UTC 2013


UPDATE: I think I was thinking that problem was solved in nagios 3.5.1 (and Vaclav too based on experience on Fedora with nagios 3.5.1) because it is more difficult to reproduce and problem occurs less often


* Next Steps
1) Can some other people reproduce / acknowledge the problem
2) Test version 4.x


* Steps To Reproduce
1) Do several reschedule of the check
2) Reload nagios
3) Do several reschedule of the check


### Logs of my check on nagios 3.4.1-5
=> Using the "Steps To Reproduce", I can have the check duplicated many many times
[Wed Dec  4 12:18:34 2013.132061] [016.0] [pid=21295] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:18:54 2013.224657] [016.0] [pid=21295] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:19:04 2013.049928] [016.0] [pid=21295] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:19:14 2013.132136] [016.0] [pid=21295] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:19:24 2013.223254] [016.0] [pid=21295] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:19:24 2013.226946] [016.0] [pid=21295] ** Handling check result for service 'Current Users' on host 'localhost'...



#### Logs of my check on nagios 3.5.1-1 ###
=> Using the "Steps To Reproduce", for the time being, I can only have the check duplicated once

[Wed Dec  4 12:13:41 2013.235362] [016.0] [pid=18861] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:14:01 2013.041023] [016.0] [pid=18861] ** Handling check result for service 'Current Users' on host 'localhost'...

[Wed Dec  4 12:14:41 2013.147914] [016.0] [pid=18861] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:15:01 2013.194611] [016.0] [pid=18861] ** Handling check result for service 'Current Users' on host 'localhost'...

[Wed Dec  4 12:15:41 2013.057754] [016.0] [pid=18861] ** Handling check result for service 'Current Users' on host 'localhost'...
[Wed Dec  4 12:16:01 2013.105146] [016.0] [pid=18861] ** Handling check result for service 'Current Users' on host 'localhost'...



On Wednesday 04 December 2013 10:06:19 Marc Leurent wrote:
> Package: nagios3
> Version: 3.5.1-1
> Followup-For: Bug #725826
> 
> Dear Maintainer,
> I have tested version 3.5.1 and problem is still there, so upgrading to this version won't help
> 
>    * What led up to the situation?
> => I had to upgrade from nagios 3.2 to 3.4 to solve some bugs, but I did cope with this bug that is increasing load on server and is triggering false alarm on checks that calculate rates when run too quickly (ex: check_snmp --rate)
> 
>    * What exactly did you do (or not do) that was effective (or ineffective)?
> => Nagios 3.2 is not affected, Nagios 3.4.1-3 and 3.4.1-5 are affected
> => I did test version 3.5.1 and problem is still there
> => I did update http://tracker.nagios.org/view.php?id=388 too quickly, problem is still there, trying to have it reopened
> => I am currently checking the link in the last update of the Debian bug to see if I found something...
> 
> 
>    * What was the outcome of this action?
> => Problem is still there with nagios 3.5.1
> 
> 
>    * What outcome did you expect instead?
> => That rescheduled check remove the old one, to prevent having it duplicated
> 
> 
>    * Next Steps
> 1) Can some other people reproduce / acknowledge the problem
> 2) Test version 4.x
> 
> 
> Thanks & Best Regards
> 
> 
> 
> -- System Information:
> Debian Release: 7.2
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages nagios3 depends on:
> ii  nagios3-cgi   3.5.1-1
> ii  nagios3-core  3.5.1-1
> 
> nagios3 recommends no packages.
> 
> Versions of packages nagios3 suggests:
> ii  nagios-nrpe-plugin  2.13-3
> 
> -- no debconf information



More information about the Pkg-nagios-devel mailing list