RRDTool?
![]()
I am interrested in the settings/scripts used to render the rrd graphs for tunnel statistics. Is it available anywhere?
RRDTool?
![]()
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?
![]()
Great! I took a quick look on cacti and it seem to offer many nice features. Thanks.
RRDTool?
![]()
#!/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
|