UNKNOWN: No handler for that command

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dwatson
Posts: 18
Joined: Mon Oct 24, 2011 9:43 pm

UNKNOWN: No handler for that command

Post by dwatson »

Hi

I am trying to setup the backup exec monitoring and i am getting UNKNOWN: No handler for that command.
I am following the setup process from http://exchange.nagios.org/directory/Pl ... ec/details
I am getting the same error on the xi console and the client test.

I have added the command in the nsc.ini.
[External Scripts]
check_backupexec=cscript.exe //T:30 //NoLogo scripts\check_backupexec.vbs

the vbs is also in the scripts directory

any help please
thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: UNKNOWN: No handler for that command

Post by scottwilkerson »

How are you calling the command? NRPE?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dwatson
Posts: 18
Joined: Mon Oct 24, 2011 9:43 pm

Re: UNKNOWN: No handler for that command

Post by dwatson »

Hi, yes i am calling it via NRPE

$USER1$/./check_nrpe -H $HOSTADDRESS$ -c check_backupexec is the command i am using on XI
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: UNKNOWN: No handler for that command

Post by scottwilkerson »

did you enable the externalscripts and NRPElistener dlls in the nsc.ini?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dwatson
Posts: 18
Joined: Mon Oct 24, 2011 9:43 pm

Re: UNKNOWN: No handler for that command

Post by dwatson »

hi, this resolved the issues and i started recieving the reports.

the only thing is, this shows any error from any reports, so im looking at another script from http://exchange.nagios.org/directory/Pl ... ck/details

i have a script in the nsc.ini under [NRPE Client Handlers] as per instructions
check_be=check_be.exe "c:\Program Files\Symantec\Backup Exec\Data" "Nightly Backup" -w1 -c3
where the exe is under the scripts folder

i have setup a command $USER1$/./check_nrpe! -c check_be as per the instructions

then a service on the nagios xi with the host and the command

I now get an erro (Return code of 127 is out of bounds - plugin may be missing)

what am i doing wrong now? do i need to activate anything else in nsc?

any help please
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: UNKNOWN: No handler for that command

Post by scottwilkerson »

dwatson wrote: i have setup a command $USER1$/./check_nrpe! -c check_be as per the instructions
any help please
The command should be

Code: Select all

$USER1$/check_nrpe! -c check_be
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked