Page 1 of 1
HOST default DOWN
Posted: Wed Nov 10, 2021 4:42 am
by nagios_irvn
Hi everyone,
I have some servers that should be off by default. How do I generate a warning status when they become active?
Thx,
Peter-Hans
Re: HOST default DOWN
Posted: Wed Nov 10, 2021 5:07 pm
by benjaminsmith
Hi Peter-Hans,
This looks like a job for the negate plugin. You could set up ping checks but reverse the status, so down is up and up is down
We've got a guide on how to use and set up the negate plugin, take a look and run some tests from the CLI and let me know if that's going to work out here.
Using The Negate Plugin
Regards,
Benjamin
Re: HOST default DOWN
Posted: Mon Nov 15, 2021 4:16 am
by nagios_irvn
Thank you, I'll test it, but think this is what I need. Thank you and have a nice day.
Re: HOST default DOWN
Posted: Mon Nov 15, 2021 3:00 pm
by ssax
Great, let us know if that meets your needs.