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
Service Dependencies
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Service Dependencies
Gavin,
In order to no longer receive notifications if a specific service's state changes simply select the service from Views>Service Detail> and once you are on the services page after selecting it, Configure>Re-Configure This Service>Notifications>Here you can set basic preferences.
If you need a more detailed set of options enter Core Config Manager>Services>Select the Configure icon next to your Service of choice>Alert Settings.
If this was not what you are looking for let us know!
In order to no longer receive notifications if a specific service's state changes simply select the service from Views>Service Detail> and once you are on the services page after selecting it, Configure>Re-Configure This Service>Notifications>Here you can set basic preferences.
If you need a more detailed set of options enter Core Config Manager>Services>Select the Configure icon next to your Service of choice>Alert Settings.
If this was not what you are looking for let us know!
Re: Service Dependencies
I am talking about setting services dependencies, so if one service is critical, it doesn't send a notification if the 2nd services is still up.
Re: Service Dependencies
Dependencies can be a bit tricky, but the best overall documentation on the logic of it is still the Core manual:
http://nagios.sourceforge.net/docs/3_0/ ... ncies.html
http://nagios.sourceforge.net/docs/3_0/ ... ncies.html