Check file size

Toto Capuccino shoktai at gmail.com
Fri Apr 28 21:55:50 CEST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060428/fc62a6e0/attachment.html>


More information about the Users mailing list