Page 3 of 3

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Mon May 22, 2017 2:27 pm
by Nagios_Admin_M
This is the website status, but the errors appeared in log.

Status Information: I ( 0,4,1,73, 2012-12-17) seem to be doing fine...

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Mon May 22, 2017 2:35 pm
by tgriep
When you run the check_nrpe command with the Host name or address but you do not have any more options on the command line, it will return the version of the NSClient++ that is running on the host.
You run this

Code: Select all

./check_nrpe -H MYPC
You get this output

Code: Select all

I (0.4.4.19 2015-12-08) seem to be doing fine...
You run this

Code: Select all

./check_nrpe -H MYPC -p 5666 -c CheckEventLog -a file=system MaxWarn=1 MaxCrit=1 "filter=generated > -100d AND severity = 'error' AND id = 5002"
You get this output

Code: Select all

OK: No entries found|'count'=0;1;1
I would guess your service definition is missing the rest of the command and it is only returning the version number and not running the command.

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Mon May 22, 2017 2:50 pm
by Nagios_Admin_M
I used it in the command.cfg

I updated it as you requested but it didn't change the status.

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Mon May 22, 2017 2:59 pm
by tgriep
Can you PM me all of the nagios config files, the name of the host you are checking as well as the name of the service check?
After receiving that data, I can see if the commands are correct.

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Mon Jul 24, 2017 6:06 am
by Nagios_Admin_M
./check_nrpe -H MYPC -p 5666 -c CheckEventLog -a file=system MaxWarn=1 MaxCrit=1 "filter=generated > -100d AND severity = 'error' AND id = 5002"

This check is working good and it returns the output of the Windows service.

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Mon Jul 24, 2017 2:01 pm
by tgriep
If everything is working now, shall I close and lock the post?

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Tue Jul 25, 2017 6:34 am
by Nagios_Admin_M
Yes, please.

Re: NRPE++ checkiis - no handler for command: checkiis

Posted: Tue Jul 25, 2017 9:05 am
by bolson
Closing topic as resolved.

Thank you for using the Nagios Support Forum.