Negate is a wrapper on commands. Traps are not commands.

On Wed, Apr 26, 2017 at 3:35 AM Assaf Flatto <[email protected]> wrote:

> 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 
> [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to