Marvin
There are two features in Xymon that are relevant to your quest:
1) 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
2) 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.
3) 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.
4) 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
▸ quoted from Marvin Stark
On 27 October 2014 19:46, Marvin Stark <user-cb6e493634fd@xymon.invalid> 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: XXX / XXX XXX XX <%20611%20673%2040>
Fax: XXX / XXX XXX XX <%20611%20673%2041>
▸ quoted from Marvin Stark
Geschäftsführer Matthias Krawen
Amtsgericht Hamburg - HRB 122540
USt.-IdNr: DE282432834
Es gelten ausschliesslich unsere AGB.