Re: Sevice Dependencies
Posted: Mon May 06, 2013 11:53 am
I wouldn't try setting this up with service dependencies. The easiest way to do this would be via the Nagios BPI.
Create a new BPI Group, add hosts A & B (these would be the ping checks for both hosts), set the "Health Thresholds" as "Warning" = 49 and "Critical" = 48.
If one of the two hosts goes down, the status of the BPI group would be still "OK". If both go down, status will change to "Critical".
After you are done, run the "BPI Wizard" to set up check for your BPI group.
Create a new BPI Group, add hosts A & B (these would be the ping checks for both hosts), set the "Health Thresholds" as "Warning" = 49 and "Critical" = 48.
If one of the two hosts goes down, the status of the BPI group would be still "OK". If both go down, status will change to "Critical".
After you are done, run the "BPI Wizard" to set up check for your BPI group.