HI there

I set up several monitors. But the running order is not that, what i
expected.

I have following monitorings with following dependencies:

hostgroup cluster 192.168.0.168
service ping # ping this address
service httpd # check, if this service is running, depend cluster:ping
service httpd2 # check, if websites are accessible, depend cluster:httpd
service tomcat # check, if service is running, depend cluster:httpd
service mysql # check, if service is running, depend cluster:ping
service mysq2 # check, if db is accessible, depend cluster:mysql

hostgroup directmaster 10.0.0.1
service ping # ping this address

hostgroup directslave 10.0.0.2
service ping # ping this address, depend directmaster:ping

hostgroup firewall 192.168.0.50
service ping # pign firwall, depend cluster:ping


At first, the rest of the syntax is ok. When i want to test, if a monitor
reacts, for example: I stop the interface 192.168.0.168. Mon should see,
that this address isnt avail anymore and then it should execute an alert
script. But at first, mon says, that the mysql2 monitor check failed. After
that, mon says, that http2  monitor check failed. These two tests shouldn't
be made, if the first test (ping 192.168.0.168) failed. 
These monitors should only be executed, when the ping test and the
httpd/mysql tests successed. 

Is something wrong with my dependencies? Or is it not possible to make more
than one service depending on another service? And, are dependencies over
different hostgroups possible?

I hope you understand my problem.

Much appreciation for help!


-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to