Page 2 of 3

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

Posted: Thu May 18, 2017 11:11 am
by Nagios_Admin_M
c:\program files\nsclient++\scripts\checkiss.vbs(63,1) Microsoft VBScript runtime error: path not found.

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

Posted: Thu May 18, 2017 12:04 pm
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?

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

Posted: Fri May 19, 2017 5:51 am
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
}

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

Posted: Fri May 19, 2017 9:33 am
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.

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

Posted: Mon May 22, 2017 3:04 am
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...

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

Posted: Mon May 22, 2017 8:43 am
by tgriep
At this point, you would have to contact the author of the plugin to see what is needed to run it.

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

Posted: Mon May 22, 2017 1:53 pm
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"

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

Posted: Mon May 22, 2017 2:02 pm
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/

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

Posted: Mon May 22, 2017 2:16 pm
by Nagios_Admin_M
Everything is set as you wrote.

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

Posted: Mon May 22, 2017 2:17 pm
by tgriep
What is the error message?