Search found 9 matches

by stanrate
Sun Mar 04, 2018 11:30 pm
Forum: Open Source Nagios Projects
Topic: nrpe intermittent Error: Request contained command arguments
Replies: 12
Views: 20105

Re: nrpe intermittent Error: Request contained command argum

Have you reproduced the issue using the information I provided on 23 February?

Thanks.
by stanrate
Thu Feb 22, 2018 5:24 pm
Forum: Open Source Nagios Projects
Topic: nrpe intermittent Error: Request contained command arguments
Replies: 12
Views: 20105

Re: nrpe intermittent Error: Request contained command argum

It is very simple to run a test to illustrate that nrpe is non-deterministic and does not properly check whether an argument has been passed. I found that nrpe.c does not check the correct string for a "!" to find out whether arguments have been passed. There are two consequences as a resu...
by stanrate
Wed Feb 21, 2018 7:49 pm
Forum: Open Source Nagios Projects
Topic: check nrpe Receive header underflow error
Replies: 5
Views: 6602

Re: check nrpe Receive header underflow error

I got the same error i.e. following message was output once or twice: CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected). when I ran the following command a few hundred times: /usr/lib64/nagios/plugins/check_nrpe -H xxxx -c xxxx -a xxxx I suspect it's caused by a bug in nrpe.c...
by stanrate
Wed Feb 21, 2018 7:33 pm
Forum: Open Source Nagios Projects
Topic: Security bug introduced into nrpe.c when V3 code was added
Replies: 1
Views: 1280

Security bug introduced into nrpe.c when V3 code was added

When /usr/lib64/nagios/plugins/check_nrpe is run with an argument, if nrpe.cfg contains "dont_blame_nrpe=0", the request should fail and following two messages should be logged: Error: Request contained command arguments, but argument option is not enabled! Client request from was invalid,...
by stanrate
Wed Feb 21, 2018 6:01 pm
Forum: Open Source Nagios Projects
Topic: nrpe intermittent Error: Request contained command arguments
Replies: 12
Views: 20105

Re: nrpe intermittent Error: Request contained command argum

Please get the Developers to investigate what I suspect to be a bug and to provide a fix asap.
by stanrate
Mon Feb 19, 2018 6:38 pm
Forum: Open Source Nagios Projects
Topic: nrpe intermittent Error: Request contained command arguments
Replies: 12
Views: 20105

Re: nrpe intermittent Error: Request contained command argum

Please note that none of our nrpe check commands contain arguments. If fact, there is only one check command (shown in an earlier post). It does not contain arguments. This is an intermittent problem. 99% of the time when the check command is run, the error messages are not logged. The messages are ...
by stanrate
Sun Feb 18, 2018 11:02 pm
Forum: Open Source Nagios Projects
Topic: nrpe intermittent Error: Request contained command arguments
Replies: 12
Views: 20105

Re: nrpe intermittent Error: Request contained command argum

To debug this intermittent problem, I disabled the Nagios command that ran the nrpe check and instead ran it via the command line on the Nagios server host: # while date;do /usr/lib64/nagios/plugins/check_nrpe -H xxxx -c check_success;sleep 1;done Mon Feb 19 14:51:57 AEDT 2018 OK output to stdout by...
by stanrate
Sun Feb 18, 2018 10:28 pm
Forum: Open Source Nagios Projects
Topic: nrpe intermittent Error: Request contained command arguments
Replies: 12
Views: 20105

Re: nrpe intermittent Error: Request contained command argum

Here is a copy of the Nagios server host.cfg file: define host{ use linux-server ; Name of host template to use host_name xxxx alias xxxxxxxxxxxxxxxxx address xxxx check_command check_nrpe!check_success active_checks_enabled 1 notifications_enabled 1 } Here is a copy of the "check_nrpe" co...
by stanrate
Thu Feb 15, 2018 8:16 pm
Forum: Open Source Nagios Projects
Topic: nrpe intermittent Error: Request contained command arguments
Replies: 12
Views: 20105

nrpe intermittent Error: Request contained command arguments

We are running nagios-4.3.4-7.el6.x86_64 and nrpe-3.2.0-6.el6.x86_64 (under xinetd). nrpe.cfg contains dont_blame_nrpe=0 The Nagios server frequently checks clients to make sure they are responsive. The same check is done on all clients via nrpe. On some clients, following messages are intermittentl...