Thanks Ged, I still a have question. The ping result of a slave varies from targets. From what I understand, we can define the alert in ***slave*** section by using ++override like following. And it also means a slave will use the same alert everywhere.
*** Alerts *** +rtt-30 type = rtt pattern = >30,*4*,>30 *** Slaves *** +Slave-A display_name= Slave-A color=d942ab ++override Slaves.Slave-A.Alerts = rtt-30 (<----correct me if the syntax is wrong) *** Targets *** +Target-A menu = Target-A title = Target-A host = IP slaves = Slave-A, Slave-B For example, Slave-A pings Target-A, averages at 10ms Slave-A pings Target-B, averages at 50ms If I apply alerts "rtt-30" to Target-A, it is meaningful, but if I apply "rtt-30" to Target-B, then it does not work right because it averages at 50ms. Please teach me how I can have different alerts for the same slave when it probes different targets. Or I should use something like this, *** Targets *** +Target-A menu = Target-A title = Target-A host = IP slaves = Slave-A, Slave-B ++override Slaves.Slave-A.Alerts = rtt-30 Slaves.Slave-B.Alerts = rtt-80 Thank you Andy _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
