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
UNKNOWN: No handler for that command
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: UNKNOWN: No handler for that command
How are you calling the command? NRPE?
Re: UNKNOWN: No handler for that command
Hi, yes i am calling it via NRPE
$USER1$/./check_nrpe -H $HOSTADDRESS$ -c check_backupexec is the command i am using on XI
$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
did you enable the externalscripts and NRPElistener dlls in the nsc.ini?
Re: UNKNOWN: No handler for that command
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
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
The command should bedwatson wrote: i have setup a command $USER1$/./check_nrpe! -c check_be as per the instructions
any help please
Code: Select all
$USER1$/check_nrpe! -c check_be