NRPE++ checkiis - no handler for command: checkiis

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

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

Postby Nagios_Admin_M » Thu May 18, 2017 11:11 am

c:\program files\nsclient++\scripts\checkiss.vbs(63,1) Microsoft VBScript runtime error: path not found.
Nagios_Admin_M
 
Posts: 69
Joined: Fri Jul 22, 2016 4:39 am

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

Postby tgriep » Thu May 18, 2017 12:04 pm

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

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

Postby Nagios_Admin_M » Fri May 19, 2017 5:51 am

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
}
Nagios_Admin_M
 
Posts: 69
Joined: Fri Jul 22, 2016 4:39 am

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

Postby tgriep » Fri May 19, 2017 9:33 am

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

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

Postby Nagios_Admin_M » Mon May 22, 2017 3:04 am

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...
Nagios_Admin_M
 
Posts: 69
Joined: Fri Jul 22, 2016 4:39 am

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

Postby tgriep » Mon May 22, 2017 8:43 am

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

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

Postby Nagios_Admin_M » Mon May 22, 2017 1:53 pm

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"
Nagios_Admin_M
 
Posts: 69
Joined: Fri Jul 22, 2016 4:39 am

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

Postby tgriep » Mon May 22, 2017 2:02 pm

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

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

Postby Nagios_Admin_M » Mon May 22, 2017 2:16 pm

Everything is set as you wrote.
Nagios_Admin_M
 
Posts: 69
Joined: Fri Jul 22, 2016 4:39 am

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

Postby tgriep » Mon May 22, 2017 2:17 pm

What is the error message?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 5002
Joined: Thu Oct 30, 2014 9:02 am

PreviousNext

Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 16 guests