Smoke-ping 0.86c
Moderators: Developers, Moderators
Smoke-ping 0.86c
Hi !
I create a script and a template graph same as Smoke ping !
Features : Disponibility, Latency
P.S : Sorry , it's in french :p
I create a script and a template graph same as Smoke ping !
Features : Disponibility, Latency
P.S : Sorry , it's in french :p
- Attachments
-
- Sans titre.JPG (41.99 KiB) Viewed 78650 times
-
- Sans titre2.JPG (43.44 KiB) Viewed 78648 times
-
- smokeping.zip
- (4.57 KiB) Downloaded 8650 times
Smokeping smoking
Hello,
Installed smokeping and it looks very good. Could you give some translation of the french languake used?
Regards,
Michael
Installed smokeping and it looks very good. Could you give some translation of the french languake used?
Regards,
Michael
Merci beaucoup!
I've made the needed translations from French to English.
Here's my translated XML and a screenshot from how it looks after a couple of polls.
I've made the needed translations from French to English.
Here's my translated XML and a screenshot from how it looks after a couple of polls.
- Attachments
-
- graph_image.php.png (3.35 KiB) Viewed 78459 times
-
- cacti_graph_template_smoke_ping.xml
- (25.99 KiB) Downloaded 7539 times
This is my sick nature...
Something like:predou wrote:i don't understand you kestion lol :p
Explain a little more :p
"ping slashdot.org" INSIDE the graph next to "Succes rate".
Tu comprends?
And how to get rid of these reds..? That is "non-data" from before I started collecting. It's not showing up in RRD-Explorer, so it must be empty.
EDIT - Who changed this image?? This is not the one I uploaded way back...
- Attachments
-
- graph_image.php.png (4.42 KiB) Viewed 78371 times
Last edited by hbokh on Fri Oct 28, 2005 3:36 am, edited 3 times in total.
This is my sick nature...
using fping
It would be really nice if we could get the full smokeping functionality here too, using fping instead of regular ping. fping gives you a much more accurate picture of latency.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
some modifications to ping-latency.pl
predou,
merci beaucoup pour votre travail.
Many thanks for your work. Comparing this to some other solutions I found some interesting modifications.
In spite of I'm using now on RHEL 4.0.
-l 3 preloads 3 packets
-i .2 defines the time gap between to pings so it's faster
-w 2 will force the command to stop after 2 seconds maximum
For a more reliable ping time, I increased the ping count (-c) from 5 to 11.
Cheers
Reinhard
merci beaucoup pour votre travail.
Many thanks for your work. Comparing this to some other solutions I found some interesting modifications.
In spite of
Code: Select all
ping -nqc 5
Code: Select all
ping -nqc 11 -l 3 -i .2 -w 2
-l 3 preloads 3 packets
-i .2 defines the time gap between to pings so it's faster
-w 2 will force the command to stop after 2 seconds maximum
For a more reliable ping time, I increased the ping count (-c) from 5 to 11.
Cheers
Reinhard
smokeping graphs with fping
I have small script for fping because solaris ping doesn't have -c option in ping. I am reusing the same xml file as attached before with my script that gives same output but all I get is red graph. RRd file seems to get updated but all it has is NaN. Script on command line seems to work fine. Can anyone help ?
Here is my script ....
#!/usr/bin/perl
$host = $ARGV[0];
$ping=`fping -c 10 -p 50 -q $host 2>&1`;
($x, $y) = split (",", $ping);
($xmt,$rcv,$loss) = ($x =~ /(\d+)\/(\d+)\/(\d+)/);
($min,$avg,$max) = ($y =~ /(\d+\.?\d*)\/(\d+\.?\d*)\/(\d+\.?\d*)/);
$dev1 = $avg - $min;
$dev2 = $max - $avg;
$dev = ($dev1 + $dev2)/2;
print "min:$min avg:$avg max:$max dev:$dev loss:$loss";
Here is my script ....
#!/usr/bin/perl
$host = $ARGV[0];
$ping=`fping -c 10 -p 50 -q $host 2>&1`;
($x, $y) = split (",", $ping);
($xmt,$rcv,$loss) = ($x =~ /(\d+)\/(\d+)\/(\d+)/);
($min,$avg,$max) = ($y =~ /(\d+\.?\d*)\/(\d+\.?\d*)\/(\d+\.?\d*)/);
$dev1 = $avg - $min;
$dev2 = $max - $avg;
$dev = ($dev1 + $dev2)/2;
print "min:$min avg:$avg max:$max dev:$dev loss:$loss";
Who is online
Users browsing this forum: No registered users and 1 guest