Hi,
I am planing to reconfigure xymon to send me an alert if a Server is going down.
Actually I am getting alerts for every service that is down but if a Server crashs, of course there are more than one service that switch to red. To get 6 SMS because 1 Server is down is a waste of money.
Is there a chance to configure xymon like this in the alerts to get only 1 alert if a Server goes down?
Kind regards,
Pascal Jarosch
-- Compositiv GmbH Süderstraße 232 20537 Hamburg Tel: 040 / 611 673 40 Fax: 040 / 611 673 41
Geschäftsführer Matthias Krawen Amtsgericht Hamburg - HRB 122540
USt.-IdNr: DE282432834 Es gelten ausschliesslich unsere AGB.
Am 27.10.2014 um 09:15 schrieb Pascal Jarosch: [...]
Hi,
Please discard my Mail I sent from a wrong identity (which is being hold right now).
To add some more detail to our problem: Is it possible to define dependencies for alerts? I saw following problem. If Router X is down all Services behind that router will be notified. That's very annoying and I want to prevent that. Notifying me, that Router X is down is enough.
Same for host connections. If a host is down I just want to get the host down alert. Furthermore is there a feature like "don't notifiy me if host/Service was red in <period>"?
I did not found any suitable option for that so far. I hope you can help us out.
Thanks and best regards Marvin Stark
-- Compositiv GmbH Süderstraße 232 20537 Hamburg Tel: 040 / 611 673 40 Fax: 040 / 611 673 41
Geschäftsführer Matthias Krawen Amtsgericht Hamburg - HRB 122540
USt.-IdNr: DE282432834 Es gelten ausschliesslich unsere AGB.
Marvin
There are two features in Xymon that are relevant to your quest:
- Xymon's network tests (ssh, telnet, smtp, etc) are all conditional on a successful ping response. If a server crashes, then ping will fail, and the "conn" test will go red, but also, all of the network tests will go clear. In such cases, Xymon will alert on the "conn" failure but no other network tests. Other tests that are not implemented by xymonnet will still go red and still cause alerts.
This is the default behaviour. You can disable this behaviour by using the "noclear" or by prefixing a test name with a tilde, like "~ssh".
Look for "noclear" in the man page for hosts.cfg
- You can configure router dependencies in Xymon. For example, if host1 is connected via router1, then your host1 entry in hosts.cfg might look a bit like this:
192.168.1.10 host1 # ssh telnet route:router1 192.168.1.1 router1 # ssh
If router1 is down, then any network tests for host1 will be changed from red to yellow. Read the man page for hosts.cfg for more information on the "route:" specification and function.
When Xymon detects that a host is down due to a ping (conn) failure, any client statuses (eg CPU usage, disk space) are prevented from going purple and instead go clear.
You can specify a "depends" clause to define dependencies. See the hosts.cfg man page for this.
Also, Xymon supports suppressing alerts for a period of time, using the "delayred" and "delayyellow" parameters. Refer to hosts.cfg man page for more.
Cheers Jeremy
On 27 October 2014 19:46, Marvin Stark <ms at compositiv.com> wrote:
Am 27.10.2014 um 09:15 schrieb Pascal Jarosch: [...]
Hi,
Please discard my Mail I sent from a wrong identity (which is being hold right now).
To add some more detail to our problem: Is it possible to define dependencies for alerts? I saw following problem. If Router X is down all Services behind that router will be notified. That's very annoying and I want to prevent that. Notifying me, that Router X is down is enough.
Same for host connections. If a host is down I just want to get the host down alert. Furthermore is there a feature like "don't notifiy me if host/Service was red in <period>"?
I did not found any suitable option for that so far. I hope you can help us out.
Thanks and best regards Marvin Stark
-- Compositiv GmbH Süderstraße 232 20537 Hamburg Tel: 040 / 611 673 40 <%20611%20673%2040> Fax: 040 / 611 673 41 <%20611%20673%2041>
Geschäftsführer Matthias Krawen Amtsgericht Hamburg - HRB 122540
USt.-IdNr: DE282432834 Es gelten ausschliesslich unsere AGB.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 28 October 2014 10:05, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
There are two features in Xymon that are relevant to your quest:
And by "two", I obviously meant "five". The fifth feature is where you can create combo tests, and adjust the alerting based on the result of boolean tests. For example, if you have router1 ping test and server2 http test, you can do this in combo.cfg:
router1\-server2.web = (router1.conn==1 && server2.http==0)
Then configure your alerting to not alert for server2.http and instead only alert for router1-server2.web. Then you will only get an alert if the router is up and the server web service is down.
To see the status of the combo test, you need to create a pseudo-host entry in hosts.cfg for "router-server2". More info in combo.cfg man page.
J
participants (3)
-
jlaidman@rebel-it.com.au
-
ms@compositiv.com
-
p.jarosch@compositiv.com