Error while executing check command
Posted: Wed Dec 04, 2019 1:37 am
Hi,
When we execute the following check command we are getting following error.
[root@nagios libexec]# ./check_nrpe -H host1 -p 5666 -c CheckEventLog -a filter=new file=system MaxWarn=1 MaxCrit=1 filter-generated=\>5m filter+eventID=="10004" filter+eventType==error filter+eventSource==DCOM filter=in filter=all truncate=30
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
[root@nagios]# ./check_nrpe -H host1 -p 5666
I (0.3.5.1 2008-09-24) seem to be doing fine...
[root@nagios]# ./check_nrpe -H host1
I (0.3.5.1 2008-09-24) seem to be doing fine...
I truncated the command and tried.
[root@nagios]# ./check_nrpe -H host1 -p 5666 -c CheckEventLog -a filter=new file=system
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
What is wrong in the check command.
Please help me.
Regards,
Pratapa
When we execute the following check command we are getting following error.
[root@nagios libexec]# ./check_nrpe -H host1 -p 5666 -c CheckEventLog -a filter=new file=system MaxWarn=1 MaxCrit=1 filter-generated=\>5m filter+eventID=="10004" filter+eventType==error filter+eventSource==DCOM filter=in filter=all truncate=30
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
[root@nagios]# ./check_nrpe -H host1 -p 5666
I (0.3.5.1 2008-09-24) seem to be doing fine...
[root@nagios]# ./check_nrpe -H host1
I (0.3.5.1 2008-09-24) seem to be doing fine...
I truncated the command and tried.
[root@nagios]# ./check_nrpe -H host1 -p 5666 -c CheckEventLog -a filter=new file=system
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
What is wrong in the check command.
Please help me.
Regards,
Pratapa