[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] BBNET customize short interval ping



You would be better off writing your own test than to try to do this
with the standard Xymon functions.  All you need to do is write a test
that will ping at one second intervals and record the results.  then, at
the end of your test you can scan the results and send a consolidated
message to Xymon for display.
 
One ping per second is very aggressive, and you are going to find that
many pings are dropped or delayed (deferred) due to normal network
activity -- and that this is not a problem.
 
GLH


________________________________

	From: Naudit007 [mailto:mailinglist.benoit (at) gmail.com] 
	Sent: Friday, February 20, 2009 2:42 AM
	To: hobbit (at) hswn.dk
	Subject: [hobbit] BBNET customize short interval ping
	
	
	Hello guys,
	
	I have un other little xymon just for monitore a link throught
VPN, or internet...:)
	
	I'd like to configure xymon to monitor quickly link (every one
second, and less, if possible).
	
	Currentl, my hobbitlaunch is configured as fallow : 
	
	
	[bbnet]
	        ENVFILE /home/xymon/xymon/server/etc/hobbitserver.cfg
	        NEEDS hobbitd
	        CMD bbtest-net --report --ping --checkresponse
	        LOGFILE $BBSERVERLOGS/bb-network.log
	        INTERVAL 1s
	
	
	BUT the time isnt respect: 
	
	root (at) my_little_xymon:~# tcpdump -i eth0 host 10.X.X.X
	tcpdump: verbose output suppressed, use -v or -vv for full
protocol decode
	listening on eth0, link-type EN10MB (Ethernet), capture size 96
bytes
	08:57:02.183784 IP my_little_xymon.34417 > 10.X.X.X.telnet: S
1399962259:1399962259(0) win 5840 <mss 1460,sackOK,timestamp 17099822
0,nop,wscale 5>
	08:57:02.228000 IP my_little_xymon > 10.X.X.X: ICMP echo
request, id 8525, seq 2, length 64
	08:57:05.177405 IP my_little_xymon.34417 > 10.X.X.X.telnet: S
1399962259:1399962259(0) win 5840 <mss 1460,sackOK,timestamp 17100122
0,nop,wscale 5>
	08:57:08.137567 IP my_little_xymon > 10.X.X.X: ICMP echo
request, id 8524, seq 2, length 64
	08:57:08.205629 IP 10.X.X.X > my_little_xymon: ICMP echo reply,
id 8524, seq 2, length 64
	08:57:11.177752 IP my_little_xymon.34417 > 10.X.X.X.telnet: S
1399962259:1399962259(0) win 5840 <mss 1460,sackOK,timestamp 17100722
0,nop,wscale 5>
	08:57:23.083278 IP my_little_xymon.55506 > 10.X.X.X.telnet: S
1733075379:1733075379(0) win 5840 <mss 1460,sackOK,timestamp 17101912
0,nop,wscale 5>
	08:57:23.093086 IP my_little_xymon.55510 > 10.X.X.X.telnet: S
1743087463:1743087463(0) win 5840 <mss 1460,sackOK,timestamp 17101913
0,nop,wscale 5>
	08:57:23.126564 IP my_little_xymon > 10.X.X.X: ICMP echo
request, id 8534, seq 2, length 64
	08:57:23.138561 IP my_little_xymon > 10.X.X.X: ICMP echo
request, id 8535, seq 2, length 64
	08:57:26.077281 IP my_little_xymon.55506 > 10.X.X.X.telnet: S
1733075379:1733075379(0) win 5840 <mss 1460,sackOK,timestamp 17102212
0,nop,wscale 5>
	08:57:26.087252 IP my_little_xymon.55510 > 10.X.X.X.telnet: S
1743087463:1743087463(0) win 5840 <mss 1460,sackOK,timestamp 17102213
0,nop,wscale 5>
	08:57:29.047321 IP my_little_xymon > 10.X.X.X: ICMP echo
request, id 8533, seq 2, length 64
	08:57:29.048010 IP my_little_xymon > 10.X.X.X: ICMP echo
request, id 8534, seq 2, length 64
	08:57:29.154068 IP 10.X.X.X > my_little_xymon: ICMP echo reply,
id 8533, seq 2, length 64
	08:57:29.196275 IP 10.X.X.X > my_little_xymon: ICMP echo reply,
id 8534, seq 2, length 64
	
	
	I need to debug issue to micro line cut, and the ping is spaced
out more 1 second. 
	
	
	How to, can I win a time more short than currently, for test
more accurate ? 
	
	Thank you. 
	
	-- 
	                           
	<mailinglist.benoit - at - gmail!com>