I have tried this here' my output:
1. I have these files:
Running the command
Code: Select all
[nagios@am1nms-nagiosxi ~]$ /usr/local/nagios/libexec/check_nrpe -H am1-sha-app01-p_w-billing -t 30 -c check_files -a path="D:\\WS06\\CdrProcessing\\Reports\\VFI\\BalanceReportsFrom_eServ\\POSTFONE\\Sent\\" 'filter= written > -24h' 'warn= count = 0' 'empty-state=warning' 'empty-syntax=${status}: My CSV File is older then 24Hrs'
WARNING: My CSV File is older then 24Hrs|'count'=0;0;02. Next, I placed a new text file:
if I run the same command I still get a warning.
I expected to see an OK for both cases.
The server is a Windows 2008 Server R2 Datacenter with the latest NSCP client 0.5.3.35