New answers tagged

1

I found the solution. There is a plugin called "negate" that does exactly this. That's how you configure it: object Host "hostname" { address = "192.168.1.11" vars.negate_command = "/usr/lib/nagios/plugins/check_tcp" vars.negate_arguments["-p"] = "443" vars.negate_arguments["-t"] = "3" check_command = "negate" }



Top 50 recent answers are included