Hi Folks,
I'm trying to send the contents of a context to nagios and I need to
use a different record separator than '\n'.

Can this value be temporarily replaced?
This is the current action:
desc=PROCESS_SERVICE_CHECK_RESULT;$1;DIAG_WARN;1;
action=add   DIAG_WARN_$1 $2  Rate=$3/$4  ;\
        set  DIAG_WARN_$1 30 (empty DIAG_WARN_$1) ;\
        copy DIAG_WARN_$1 %sites ;\
        write /usr/local/nagios/var/rw/nagios.cmd [%u] %s %sites ;\
        write /tmp/secdebug.log [%u] %s %sites

On a related note, is there a way to create a variable so I can use
%OK,%WARN, and %CRIT instead of 0,1, and 2?
Ideally it would span cfsets

Thanks,
-Joe

------------------------------------------------------------------------------
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to