Service Dependencies
Posted: Wed Aug 01, 2012 4:09 pm
Hi All,
I am attempting to setup service dependencies and I need a little push in the correct direction.
I have a script we wrote that runs a netstat against an expected ip, if the status is established the script returns ok to nagios, anything else it returns critical. We have a 2nd ip we check for, as long as that 2nd ip test returns ok, I don't want to get an alert. How exactly would I set this up in service dependencies? I set the 1st service test as my parent and the 2nd as the child. This still caused an alert, I reversed the order and got another alert.
Any suggestions? Do I disable the notifications in the service itself and just enable them in the dependencies?
Gavin
I am attempting to setup service dependencies and I need a little push in the correct direction.
I have a script we wrote that runs a netstat against an expected ip, if the status is established the script returns ok to nagios, anything else it returns critical. We have a 2nd ip we check for, as long as that 2nd ip test returns ok, I don't want to get an alert. How exactly would I set this up in service dependencies? I set the 1st service test as my parent and the 2nd as the child. This still caused an alert, I reversed the order and got another alert.
Any suggestions? Do I disable the notifications in the service itself and just enable them in the dependencies?
Gavin