That was it Shawn :


Try the old 8 char path names.

ie.

d:\Progra~1\Exchsrvr\MDBDATA\priv1.stm

Now it works in command line but in nagios web interface i  get no ouptut from NRPE ( CHECK_NRPE: No output returned from daemon) .

checkcommands.cfg contains :
 
define command {
        command_name check_exchangeDB
        command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5667 - c check_exchangeDB
  }

and the NSC.ini file contains :
check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G
File=d:\Progra~1\Exchsrvr\MDBDATA\priv1
.stm File=d:\Progra~1\Exchsrvr\MDBDATA\priv1.edb

Running in the command line it's ok :
/usr/local/nagios/libexec/check_nrpe -H catorsv03 -p 5667 -c check_exchangeDB
OK all file sizes are within bounds.|'d:\Progra~1\Exchsrvr\MDBDATA\priv1.stm'=4452261888;16106127360;17179869184; 'd:\Progra~1\Exchsrvr\MDBDATA\priv1.edb'=9100599296;16106127360;17179869184;

I dont have logs that could help me :( Nagios.log doesnt contain anything about command exchange_DB


Reply via email to