we are looking for some way to exclude DohaChangeXMLStylesheet.vbs file which should be always there under:D:\middleware\messages\JapanForwarder\BillOfLadingInstruction\Pending
As of now we have configured this:
check_DohaCustoms_Out=scripts\check_winfile.exe --target D:\middleware\messages\JapanForwarder\BillOfLadingInstruction\Pending --filter "age lt -30 minutes" --rootonly --critical 0
It is working fine in terms of file age reporting, but the problem is it is always prompting critical alert due to existence of file DohaChangeXMLStylesheet.vbs under D:\middleware\messages\JapanForwarder\BillOfLadingInstruction\Pending
Exclusion/filer in file queue monitoring
Re: Exclusion/filer in file queue monitoring
I was trying filters like --filter "name match DohaChangeXMLStylesheet.vbs". Then I made apply configuration of relevant nagios service, but no help.
Is there a need to restart agent service too on monitored host in this regard?
please suggest.
thanks...
Is there a need to restart agent service too on monitored host in this regard?
please suggest.
thanks...
Re: Exclusion/filer in file queue monitoring
I tried with below one, seems its working for me, please comment.
check_DohaAndQaterCustomsOut_age=scripts\check_winfile.exe --target D:\middleware\messages\DohaCustoms\Out --filter "age lt -30 minutes" --filter "name match \.xml$" --rootonly --critical 0
check_DohaAndQaterCustomsOut_age=scripts\check_winfile.exe --target D:\middleware\messages\DohaCustoms\Out --filter "age lt -30 minutes" --filter "name match \.xml$" --rootonly --critical 0
Re: Exclusion/filer in file queue monitoring
We are suppose to check alerting only for xml files.
Re: Exclusion/filer in file queue monitoring
HAL,
Did you try useing the --filter name command to exclude DohaChangeXMLStylesheet.vbs from the results?
for example
-Yancy
Did you try useing the --filter name command to exclude DohaChangeXMLStylesheet.vbs from the results?
for example
Code: Select all
--filter "name match DohaChangeXMLStylesheet.vbs"-Yancy