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...
NRPE++ checkiis - no handler for command: checkiis
-
- Posts: 77
- Joined: Fri Jul 22, 2016 4:39 am
Re: NRPE++ checkiis - no handler for command: checkiis
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
You get this output
You run this
You get this output
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.
You run this
Code: Select all
./check_nrpe -H MYPC
Code: Select all
I (0.4.4.19 2015-12-08) seem to be doing fine...
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"
Code: Select all
OK: No entries found|'count'=0;1;1
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 77
- Joined: Fri Jul 22, 2016 4:39 am
Re: NRPE++ checkiis - no handler for command: checkiis
I used it in the command.cfg
I updated it as you requested but it didn't change the status.
I updated it as you requested but it didn't change the status.
Re: NRPE++ checkiis - no handler for command: checkiis
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.
After receiving that data, I can see if the commands are correct.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 77
- Joined: Fri Jul 22, 2016 4:39 am
Re: NRPE++ checkiis - no handler for command: checkiis
./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.
This check is working good and it returns the output of the Windows service.
Re: NRPE++ checkiis - no handler for command: checkiis
If everything is working now, shall I close and lock the post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 77
- Joined: Fri Jul 22, 2016 4:39 am
Re: NRPE++ checkiis - no handler for command: checkiis
Closing topic as resolved.
Thank you for using the Nagios Support Forum.
Thank you for using the Nagios Support Forum.