6 Nov
2007
6 Nov
'07
11:03 p.m.
Henrik Stoerner wrote:
Hobbit uses either "hobbitping" or "fping" to do the network tests. Both have commandline options that you can use to make them more tolerant of brief network outages, see their man-pages.
If that is not sufficient (ie the transient glitches last more than 30 seconds), then you can use the "badconn:A:B:C" setting in the bb-hosts file to delay when the status goes red. From the bb-hosts man-page:
Normally when a network test fails, the status changes to red immediately. With a "badTEST:x:y:z" tag this behaviour changes: * While "z" or more successive tests fail, the column goes RED. * While "y" or more successive tests fail, but fewer than "z", the column goes YELLOW. * While "x" or more successive tests fail, but fewer than "y", the column goes CLEAR.If you're monitoring hosts behind these unstable WAN links, you may also want to look at the "depends" tag so you won't generate alerts on the hosts when the WAN link to them is down.
Excellent, this is exactly what I needed, thanks for helping a hobbit noob find the way.
Joe