EXTERNAL COMMAND: PROCESS_FILE
Posted: Wed Aug 01, 2018 12:04 pm
Hello,
I am trying tu use EXTERNAL COMMAND : PROCESS_FILE
The issue is : file don't deleted after processing.
The command line :
echo "[`date +%s`] PROCESS_FILE;/app/submit_event_data/remote/eventdata3.ext;1" > nagios.cmd
The external commands from the file are processed
example :
[1533140044] PROCESS_SERVICE_CHECK_RESULT;preprod;test;2;This is an example plugin out|size=36
[1533140044] PROCESS_SERVICE_CHECK_RESULT;preprod;test2;2;This is an example plugin out|size=46
But the file remains even with delete option
Thank's
I am trying tu use EXTERNAL COMMAND : PROCESS_FILE
The issue is : file don't deleted after processing.
The command line :
echo "[`date +%s`] PROCESS_FILE;/app/submit_event_data/remote/eventdata3.ext;1" > nagios.cmd
The external commands from the file are processed
example :
[1533140044] PROCESS_SERVICE_CHECK_RESULT;preprod;test;2;This is an example plugin out|size=36
[1533140044] PROCESS_SERVICE_CHECK_RESULT;preprod;test2;2;This is an example plugin out|size=46
But the file remains even with delete option
Thank's