Have you looked at negate for changing the return code ?
https://www.monitoring-plugins.org/doc/man/negate.html
On 25/04/17 19:20, Matthew Herzog wrote:
Hey guys.
I'd like to have any and all snmp traps received be displayed as
critical regardless of what the monitored host sends. I have the
details posted here:
https://serverfault.com/questions/845777/how-do-i-change-trap-alert-from-unknown-to-critical-in-icinga-1
I need to override the return_code sent in the trap, I think.
Thanks for any advice.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users