check_arcserve results in Bad return code
Posted: Mon Nov 14, 2011 12:06 pm
Hello everybody,
I've an issue with the plugin check_arcserve_jobstatus.vbs via nrpe. I use this plugin to monitore the ArcServer Backup Manager.
When I launch on the nagios Server
I get:
in the nrpe logfile (on the backup server) and nagios returns:
I tried a lof of things: -t 30 parameter, modify the vbs script
This is what I defined in the nrpe.cfg
Directly on the Backup Server, when I start: cscript //T:30 //NoLogo C:\NRPE_NT\bin\check_ArcServe_jobstatus.vbs in a Dos Box, there is no problem, I get the result.
I can't understand the "Bad return code :5"
Can somebody help me ?
Many thanks in advance.
I've an issue with the plugin check_arcserve_jobstatus.vbs via nrpe. I use this plugin to monitore the ArcServer Backup Manager.
When I launch on the nagios Server
Code: Select all
./check_nrpe -n -H IPSERVEUR -p 5777 -c check_arcserveCode: Select all
2011-11-10 11:32:24; 5560; 7;Running command: cscript //T:30 //NoLogo C:\NRPE_NT\bin\check_ArcServe_jobstatus.vbs
2011-11-10 11:32:54; 5560; 7;Command completed with return code 5
2011-11-10 11:32:54; 5560; 4;Bad return code for [The check didn't respond within the timeout period!]: 5Code: Select all
CHECK_NRPE: Socket timeout after 10 seconds.This is what I defined in the nrpe.cfg
Code: Select all
cscript //T:30 //NoLogo C:\NRPE_NT\bin\check_ArcServe_jobstatus.vbsI can't understand the "Bad return code :5"
Can somebody help me ?
Many thanks in advance.