hi folks,
first of all, thanks to all developers for this great piece of software..!
..lets have a look at my problem:
whenever i try to duplicate the existing ping_uunet_phi-function, i get the fallowing error message:
CANNOT FIND DATA SOURCE: /usr/local/httpd/htdocs/cacti/rra/ping_uunet_phi_copy.rrd
Nothing helped, I tried it several times, also with the "Update .rrd File"-checkbox..
Is there a better method to monitor a host with ping, and if yes, how?
My 2nd question is: Does anyone know how to monitor packet loss? Whould be gread if someone can help me..
thank you,
greets Phazer
ping function / packet-loss monitoring
Moderators: Developers, Moderators
For once that error is normal. It is simply saying that it cannot find the .rrd file associated with the data source that you just created. After changing the name to something more meaningful, this message should go away in less then 5 minutes (when cmd.php runs).
Also, I have never tried graphing packet loss from within cacti. Anyone else try this? I know there are other rrdtool-based packages that will do this though, such as Tobi's smokeping.
-Ian
Also, I have never tried graphing packet loss from within cacti. Anyone else try this? I know there are other rrdtool-based packages that will do this though, such as Tobi's smokeping.
-Ian
Graphing ping time and packet loss together
I wrote a script that returns the ping time and percent packet loss which I graph together. Ping time as an AREA and packet loss as an INF STACK with the color showing the percent of loss. You can see all my graphs here:
http://www.meshier.com/cacti/graph_view.php?action=tree
Brent Meshier
Global Transport Logistics
http://www.gtlogistics.com/
http://www.meshier.com/cacti/graph_view.php?action=tree
Brent Meshier
Global Transport Logistics
http://www.gtlogistics.com/
I was very impressed when I saw this graph! Looks exactly like other rrdtool packet loss representations I have seen (which is good). Excellent work. Do you have to have the script that gathers packet loss available? I'm sure others would be interested making these kinds of graphs (including me ).
-Ian
-Ian
Code for ping / packet loss
Here is the short PERL script I wrote:
-----[ping.pl]-----
#!/usr/bin/perl
$ping = `/bin/ping -c $ARGV[0] -w 300 -n -q $ARGV[1]`;
($packet_loss) = ($ping =~ /packets received, (\d+)% packet loss/);
($round_trip) = ($ping =~ /round-trip min\/avg\/max\/mdev = \d+\.\d+\/(\d+\.\d+)\/.* ms/);
print "$round_trip $packet_loss";
-----[end]-----
Brent Meshier
Global Transport Logistics
http://www.gtlogistics.com/
-----[ping.pl]-----
#!/usr/bin/perl
$ping = `/bin/ping -c $ARGV[0] -w 300 -n -q $ARGV[1]`;
($packet_loss) = ($ping =~ /packets received, (\d+)% packet loss/);
($round_trip) = ($ping =~ /round-trip min\/avg\/max\/mdev = \d+\.\d+\/(\d+\.\d+)\/.* ms/);
print "$round_trip $packet_loss";
-----[end]-----
Brent Meshier
Global Transport Logistics
http://www.gtlogistics.com/
Cool stuff ! Also, take a look at
http://www.grzyby.pl/monitor/ping.htm
for additional ping graphing options
http://www.grzyby.pl/monitor/ping.htm
for additional ping graphing options
Re: Graphing ping time and packet loss together
These graphs look great. I'd like to know how to use the Cacti interface to create these. From the link above I can get to the rrdtool graph source data but I do not know how to specify all those parameters in the Cacti interface.Anonymous wrote:I wrote a script that returns the ping time and percent packet loss which I graph together. Ping time as an AREA and packet loss as an INF STACK with the color showing the percent of loss. You can see all my graphs here:
http://www.meshier.com/cacti/graph_view.php?action=tree
Brent Meshier
Global Transport Logistics
http://www.gtlogistics.com/
How about a Cacti import function?
Tnx
Kevin
Who is online
Users browsing this forum: No registered users and 5 guests