ping intervals
list Gavin Leonard
I have some servers that it is critical that I know they are down within at the most a minute to two minutes... hobbit polls every 5min if I remember right? How do I decrease the polling intervals so I can catch these connection problems quicker? Thanks in advance... Gavin Leonard [cid:user-447e5fb69b56@xymon.invalid59EA00] Director, Systems-Network Engineering T XXX-XXX-XXXX F XXX-XXX-XXXX E user-d65663809eb4@xymon.invalid<mailto:user-d65663809eb4@xymon.invalid> Research | Marketing | Sales Generation www.progrexion.com<http://www.progrexion.com/> This email and its contents are confidential. If you are not the intended recipient, delete this email and do not use or disclose the information within this email or its attachments. Thank you.
list Josh Luthman
Pretty sure that's
[bbnet]
ENVFILE /home/shire/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD bbtest-net --report --ping --checkresponse --concurrency=48
#CMD bbtest-net --report --ping --checkresponse --concurrency=64
#CMD bbtest-net --report --ping --checkresponse
LOGFILE $BBSERVERLOGS/bb-network.log
* INTERVAL 5m*
in etc/hobbitlaunch.cfg
On Fri, May 16, 2008 at 2:22 AM, Gavin Leonard <user-d65663809eb4@xymon.invalid>
▸
wrote:
I have some servers that it is critical that I know they are down within at the most a minute to two minutes… hobbit polls every 5min if I remember right? How do I decrease the polling intervals so I can catch these connection problems quicker? Thanks in advance… *Gavin Leonard*
[image: cid:image001.gif at 01C856AD.922EF120] Director, Systems-Network Engineering *T* XXX-XXX-XXXX *F* XXX-XXX-XXXX *E* user-d65663809eb4@xymon.invalid Research | Marketing | Sales Generation *www.progrexion.com* <http://www.progrexion.com/>;
▸
This email and its contents are confidential. If you are not the intended
recipient, delete this email and do not use or disclose the information
within this email or its attachments. Thank you.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Sebastian Auriol
I suppose a feature request for 4.3.0 (or 5.0) since I don't believe it exists yet, is to have an flag in bb-hosts that tells bbnet how often to test (or report tests for) each host. Some tests, e.g. on the LAN, are fine being tested every 5 minutes, but it would be good to know when interconnects go down or suffer packet loss (a) more quickly, and (b) for shorter periods not detected by the 5 minute test unless we were lucky to test at the right time. However, there's no need to test every single host more frequently, which could slow down the time it takes for bbtest-net to report. Additionally (ideally): I would like to know results of continuous pings. Rather than just sending a few pings every x minutes and seeing the performance of those, it would be nice to have continuous, or at least pings that are continuous for the duration specifed in the new bb-hosts flag I have suggested above, e.g. at 5 or 10 second intervals (so as not to overload routers or links), and to report the results of these tests every x minutes (again, ideally, defined by the new tag I have suggested above). OK, the result here is more than 5 minutes, but e.g. this Linux ping command sends a ping request every 5 seconds, supresses the output and quits after 60 seconds or so: $ ping -i 5 -q -w 60 xxx.xxx.xxx.xxx PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 56(84) bytes of data. --- xxx.xxx.xxx.xxx ping statistics --- 2360 packets transmitted, 2359 received, 0% packet loss, time 11795758ms rtt min/avg/max/mdev = 1.350/2.078/61.857/3.262 ms I imagine I can't use that ping command in the FPING environment variable since there'd be concurrency issues. But if there was a way of doing something similar, we could really see what the performance on our links is. (It doesn't like there is the equivalent to the -w ping option in fping, although that can be approximated to a reasonable extent with -c or -C (count) given a known -i (interval).) Kind regards, SebA
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 16 May 2008 07:27
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] ping intervals
Pretty sure that's
[bbnet]
ENVFILE /home/shire/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD bbtest-net --report --ping --checkresponse --concurrency=48
#CMD bbtest-net --report --ping --checkresponse --concurrency=64
#CMD bbtest-net --report --ping --checkresponse
LOGFILE $BBSERVERLOGS/bb-network.log
INTERVAL 5m
in etc/hobbitlaunch.cfg
On Fri, May 16, 2008 at 2:22 AM, Gavin Leonard <user-d65663809eb4@xymon.invalid>
wrote:
I have some servers that it is critical that I know they are down within at
the most a minute to two minutes. hobbit polls every 5min if I remember
right? How do I decrease the polling intervals so I can catch these
connection problems quicker? Thanks in advance.
Gavin Leonard
cid:image001.gif at 01C856AD.922EF120
Director, Systems-Network Engineering
T
XXX-XXX-XXXX
F
XXX-XXX-XXXX
E
<mailto:user-d65663809eb4@xymon.invalid> user-d65663809eb4@xymon.invalid Research | Marketing | Sales Generation <http://www.progrexion.com/>; www.progrexion.com
▸
This email and its contents are confidential. If you are not the intended
recipient, delete this email and do not use or disclose the information
within this email or its attachments. Thank you.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Dan McDonald
▸
On Thu, 2008-11-13 at 18:14 +0000, SebA wrote:
Additionally (ideally): I would like to know results of continuous pings. Rather than just sending a few pings every x minutes and seeing the performance of those, it would be nice to have continuous, or at least pings that are continuous for the duration specifed in the new bb-hosts flag I have suggested above, e.g. at 5 or 10 second intervals (so as not to overload routers or links), and to report the results of these tests every x minutes (again, ideally, defined by the new tag I have suggested above).
I solve that particular problem by dumping all of my syslogs from all routers into a common syslog server, then watch for routing protocol state changes (EIGRP up or down). When I see a change down, I send a red message, and when I see an up, I send a green message. It's a little more complicated than that, since I have to maintain state for all of these tests over several years. The module I wrote is bb-eigrp, and it's on deadcat, but works fine with xymon -- Daniel J McDonald, CCIE #2495, CISSP #78281, CNX Austin Energy http://www.austinenergy.com
list Sebastian Auriol
▸
McDonald, Dan <mailto:user-290ce4e24e19@xymon.invalid> wrote:
On Thu, 2008-11-13 at 18:14 +0000, SebA wrote:Additionally (ideally): I would like to know results of continuous pings. Rather than just sending a few pings every x minutes and seeing the performance of those, it would be nice to have continuous, or at least pings that are continuous for the duration specifed in the new bb-hosts flag I have suggested above, e.g. at 5 or 10 second intervals (so as not to overload routers or links), and to report the results of these tests every x minutes (again, ideally, defined by the new tag I have suggested above).I solve that particular problem by dumping all of my syslogs from all routers into a common syslog server, then watch for routing protocol state changes (EIGRP up or down). When I see a change down, I send a red message, and when I see an up, I send a green message. It's a little more complicated than that, since I have to maintain state for all of these tests over several years. The module I wrote is bb-eigrp, and it's on deadcat, but works fine with xymon
Interesting. We don't use EIGRP though. However, I expect it could be adapted to other syslog messages. I suppose the module just needs to know what UP and DOWN messages can look like... Even though, that won't cover every single link in our network - not all devices support syslog (e.g. dumb switching hubs and ADSL routers). I think I would rather a better ping test, and then just red / yellow alarm certain syslog messages in the msgs column (because links can stop working even when the managed switch/router thinks they are still up (or before it thinks they are down)). Not to say I won't take a look at your module at some point... SebA