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 »

c:\program files\nsclient++\scripts\checkiss.vbs(63,1) Microsoft VBScript runtime error: path not found.
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 provide any details on what you are trying to check on the server?
Is the checkiis.vbs script in that folder?
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 open up log file and found out that result of checkiis is OK.

Is that the way how I should configure the host file [check_command check_nrpe_checkiis] - it is not working.
define service {
use template
host_name host1
service_description www
check_command check_nrpe_checkiis
}
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 »

To run the checkiis.vbs script on the Windows system using the NSClient++ agent, you would have to use the check_nrpe command on the Nagios server to run the command on your Windows server.
If you have the check_nrpe command installed on the Nagios server using the default settings, you would change your service check from
check_command check_nrpe_checkiis
to
check_command check_nrpe!check_nrpe_checkiis
Save the change and restart Nagios.

Try that and if you have any errors, post them so we can view them.
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 »

Hi,

I updated the config files. Unfortunately the plugin does not report error when its occurs. As an example I get 403.13 error on IIS:

Current Status: OK
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 »

At this point, you would have to contact the author of the plugin to see what is needed to run it.
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 have the same output when I use this command:

check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckEventLog -a file=system MaxWarn=1 MaxCrit=1 "filter=generated > -100d AND severity = 'error' AND id = 5002"
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 »

What would the output be when you are running the CheckEventLog command?
Did you enable the checkeventlog module by adding the following in the nsclient.ini file under the [/modules] section and restart the service?

Code: Select all

CheckEventLog = 1
Take a look at these for more details in the NSClient++ agent.
https://docs.nsclient.org/reference/win ... figuration
https://docs.nsclient.org/reference/win ... kEventLog/
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 »

Everything is set as you wrote.
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 »

What is the error message?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked