NRPE++ checkiis - no handler for command: checkiis

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Nagios_Admin_M
Posts: 77
Joined: Fri Jul 22, 2016 4:39 am

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

Post 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...
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Nagios_Admin_M
Posts: 77
Joined: Fri Jul 22, 2016 4:39 am

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

Post by Nagios_Admin_M »

I used it in the command.cfg

I updated it as you requested but it didn't change the status.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Nagios_Admin_M
Posts: 77
Joined: Fri Jul 22, 2016 4:39 am

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

Post 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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post by tgriep »

If everything is working now, shall I close and lock the post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Nagios_Admin_M
Posts: 77
Joined: Fri Jul 22, 2016 4:39 am

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

Post by Nagios_Admin_M »

Yes, please.
bolson

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

Post by bolson »

Closing topic as resolved.

Thank you for using the Nagios Support Forum.
Locked