RRDTool?
Shadow Hawkins on Thursday, 27 January 2005 16:36:27
I am interrested in the settings/scripts used to render the rrd graphs for tunnel statistics. Is it available anywhere?
RRDTool?
Shadow Hawkins on Sunday, 30 January 2005 14:06:53
Hello,
You can simply use cacti with rrdtool to create graphs easily.
For ping6 stats, i have just modify default ping.pl script :
#!/usr/bin/perl
$ping = `ping6 -c 1 -n $ARGV[0] | grep icmp_seq`;
$ping =~ m/(.*time=)(.*) (ms|usec)/;
print $2;
RRDTool?
Shadow Hawkins on Monday, 31 January 2005 16:53:09
Great! I took a quick look on cacti and it seem to offer many nice features. Thanks.
RRDTool?
Shadow Hawkins on Tuesday, 08 March 2005 13:20:19
#!/usr/bin/perl
$ip = $ARGV[0];
if ( ($ip =~ tr/://) > 0 && ($ip =~ tr/.//) == 0) {
$ping = `/usr/sbin/ping6 -c 1 $ip -w 1 | grep icmp_seq`;
}
else {
$ping = `/bin/ping -c 1 $ip -w 1 | grep icmp_seq`;
}
$ping =~ m/(.*time=)(.*) (ms|usec)/;
print $2;
-- One ping script to do it all, however you have to use the ip address in either ipv4 or ipv6 syntax
Posting is only allowed when you are logged in. |