zabbix_sender doesn't appear to return a non-zero exit code when the server fails to process a key.
Is it possible to change this?
I want to run a script via cron but only want cron to send me the output if there's a problem with the script.
Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000024" ===> RETURN 1
Info from server: "Processed 1 Failed 0 Total 1 Seconds spent 0.000022" ===> RETURN 0
Thanks,
Brian
Is it possible to change this?
I want to run a script via cron but only want cron to send me the output if there's a problem with the script.
Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000024" ===> RETURN 1
Info from server: "Processed 1 Failed 0 Total 1 Seconds spent 0.000022" ===> RETURN 0
Thanks,
Brian