Page 1 of 1

UNKNOWN: No handler for that command

Posted: Mon Feb 13, 2012 3:59 am
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

Re: UNKNOWN: No handler for that command

Posted: Mon Feb 13, 2012 10:56 am
by scottwilkerson
How are you calling the command? NRPE?

Re: UNKNOWN: No handler for that command

Posted: Mon Feb 13, 2012 4:49 pm
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

Re: UNKNOWN: No handler for that command

Posted: Tue Feb 14, 2012 10:39 am
by scottwilkerson
did you enable the externalscripts and NRPElistener dlls in the nsc.ini?

Re: UNKNOWN: No handler for that command

Posted: Fri Feb 17, 2012 12:58 am
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

Re: UNKNOWN: No handler for that command

Posted: Fri Feb 17, 2012 9:07 am
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