Bug#578721: nagios-nrpe-plugin: Timeout option is not working whichever integer is specified
I see the same problem in Squeeze, plugins time out no matter what timeout value I specify. But indeed, the parameters seem to be obeyed when running the command from the shell (as the same user as the Nagios process). It only ignores (additional) parameters when invoked by the Nagios process. I created a wrapper script around the check_nrpe plugin to print the command's arguments, and all parameters seem to be passed along just fine. Something seems to go wrong inside the check_nrpe command, probably there's some difference in the environment. Kind regards, Bram Schoenmakers -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#578721: nagios-nrpe-plugin: Timeout option is not working whichever integer is specified
tag 57821 unreproducible thanks Hristo Malinov schrieb am Thursday, den 22. April 2010: Package: nagios-nrpe-plugin Version: 2.12-1 Severity: normal check_nrpe -t 60 for example is not working. The timeouts are always 10s , which is the default according to the manual. I can't reproduce your problem: % time /usr/lib/nagios/plugins/check_nrpe -H google.de -t 20 CHECK_NRPE: Socket timeout after 20 seconds. /usr/lib/nagios/plugins/check_nrpe -H google.de -t 20 0.00s user 0.00s system 0% cpu 20.007 total time /usr/lib/nagios/plugins/check_nrpe -H google.de -t 5 CHECK_NRPE: Socket timeout after 5 seconds. /usr/lib/nagios/plugins/check_nrpe -H google.de -t 5 0.00s user 0.00s system 0% cpu 5.007 total There is also a strange behavior when using -u and -t . The option -u is working only when -t is not specified. Example: /usr/lib/nagios/plugins/check_nrpe -H hostname -u -c procs -a root cron CHECK_NRPE: Socket timeout after 10 seconds. 3 - UNKNOWN /usr/lib/nagios/plugins/check_nrpe -H hostname -u -t 60 -c procs -a root cron CRITICAL - Plugin timed out after 10 seconds 2 - CRITICAL time /usr/lib/nagios/plugins/check_nrpe -H google.de -t 5 -u CHECK_NRPE: Socket timeout after 5 seconds. /usr/lib/nagios/plugins/check_nrpe -H google.de -t 5 -u 0.00s user 0.00s system 0% cpu 5.007 total % echo $? 3 this one also looks good. (yeah I also tried together with -c and -a). Can you tell me how to reproduce the problem? Thanks in advance Alex -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#578721: nagios-nrpe-plugin: Timeout option is not working whichever integer is specified
Package: nagios-nrpe-plugin Version: 2.12-1 Severity: normal check_nrpe -t 60 for example is not working. The timeouts are always 10s , which is the default according to the manual. There is also a strange behavior when using -u and -t . The option -u is working only when -t is not specified. Example: /usr/lib/nagios/plugins/check_nrpe -H hostname -u -c procs -a root cron CHECK_NRPE: Socket timeout after 10 seconds. 3 - UNKNOWN /usr/lib/nagios/plugins/check_nrpe -H hostname -u -t 60 -c procs -a root cron CRITICAL - Plugin timed out after 10 seconds 2 - CRITICAL -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-vserver-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages nagios-nrpe-plugin depends on: ii libc6 2.7-18lenny1 GNU C Library: Shared libraries ii libssl0.9.8 0.9.8g-15+lenny6 SSL shared libraries Versions of packages nagios-nrpe-plugin recommends: ii nagios3 3.0.6-4~lenny2 A host/service/network monitoring nagios-nrpe-plugin suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org