Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


REPAIRED: SmokePing Like 1.0
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
HappyCZ



Joined: 09 Aug 2005
Posts: 6

PostPosted: Fri Aug 12, 2005 5:04 pm    Post subject: Reply with quote

As always your advice was fast, simple and whats more important solve my problem ... thank you.
Back to top
HappyCZ



Joined: 09 Aug 2005
Posts: 6

PostPosted: Sat Aug 13, 2005 8:35 am    Post subject: Reply with quote

Hi, its me again Now i have no questions but one sugestion ... if packet loss reach 100% then ss_fping stops returning purposeful results (it returns AV:U PL:100) - so in graph it looks absolutly same as if poller is turn off ... so i sugest to change this code
Code:
   if ($failed_results == $ping_sweeps) {
      return "AV:U PL:100";
to
Code:
   if ($failed_results == $ping_sweeps) {
      $loss = 100;
      return sprintf("loss:%0.4f", $loss);


After this little change when packet loss reach 100% then in graph you can see red backround without any ping, so you know that something is really wrong
Back to top
predou



Joined: 07 Jan 2005
Posts: 45

PostPosted: Fri Aug 19, 2005 7:44 am    Post subject: Reply with quote

I don't understand why do you create this script.
Cause I already created an script smokeping like four month ago !!!!

http://forums.cacti.net/viewtopic.php?t=7090&highlight=

Don't forget that dose12 please !!!
Back to top
kslt
Cacti User


Joined: 02 Aug 2005
Posts: 85

PostPosted: Wed Sep 14, 2005 3:45 am    Post subject: can't zoom Reply with quote

hello guys,

i can't zoom the smokyping graphs and i cant see graph tumbnail ...
whats wrong ?

using 086c
Back to top
johndoe123



Joined: 03 Oct 2005
Posts: 17

PostPosted: Thu Oct 13, 2005 1:52 pm    Post subject: Reply with quote

Ok, now I added 10 data sources and I'm trying to make the graphs. How do I find out which datasource points to what host? They are all called the same thing and I cna't distinguish between them while making the graphs.
Back to top
the_sphynx_2k5



Joined: 27 Oct 2005
Posts: 7

PostPosted: Fri Oct 28, 2005 4:47 pm    Post subject: Reply with quote

I must be a little confused...I downloaded the template from the original post and my graph looks like the below graph.
Any suggestions?



ping_graph.JPG
 Description:
SmokePingLike Graph, although I did migrate it to Advanced Ping 1.3 this morning.
 Filesize:  32.93 KB
 Viewed:  10464 Time(s)

ping_graph.JPG


Back to top
kslt
Cacti User


Joined: 02 Aug 2005
Posts: 85

PostPosted: Fri Nov 18, 2005 3:36 pm    Post subject: Reply with quote

who can explain me what meaning of the grayscale "smoke" colors ?


smoke.JPG
 Description:
 Filesize:  29.49 KB
 Viewed:  10280 Time(s)

smoke.JPG


Back to top
drose12



Joined: 10 Mar 2005
Posts: 31

PostPosted: Fri Nov 18, 2005 4:45 pm    Post subject: Reply with quote

The smoke represents the overall jitter. The darker the smoke signifies that most of your ping pkts were in that latency range. The 2 darkest smoke colors are based on the deviation return by the ping test. The deviation is divided by 2 and stacked on top of the green avg line. The next 3 grays are based on the max ping, ie) max - (dev+avg) / 3, and stacked on top of the 2 darkest grays representing deviation. This was the closest approximation to the original smokeping created by Tobi O. Hope this helps.
Back to top
suse



Joined: 13 Nov 2005
Posts: 23

PostPosted: Sat Nov 19, 2005 6:37 am    Post subject: Reply with quote

perl /home/mrtg/cacti/scripts/ping-latency.pl 202.96.209.5'
11/19/2005 07:35:02 PM - CACTID: Poller[0] Host[11] DS[135] WARNING: Result from SCRIPT not valid. Partial Result: ...


I got this from cacti.log

by running that in command line
I can get the result.

perl /home/mrtg/cacti/scripts/ping-latency.pl 202.96.209.5
min:1.046 avg:1.607 max:3.823 dev:0.835 loss:10

what's issue here?

thanks
Back to top
patrickdaj



Joined: 20 Dec 2005
Posts: 4
Location: Tempe, AZ

PostPosted: Thu Dec 29, 2005 11:16 am    Post subject: Reply with quote

I'm guessing that these gaps are outages...is that correct? Why would it still show my avg loss is 0.00%?


what2.png
 Description:
 Filesize:  149.63 KB
 Viewed:  9904 Time(s)

what2.png



what.png
 Description:
 Filesize:  8.5 KB
 Viewed:  9906 Time(s)

what.png


Back to top
GLR



Joined: 21 Jul 2008
Posts: 8

PostPosted: Wed Sep 24, 2008 3:10 am    Post subject: too short ping deadline Reply with quote

Code:
/bin/ping -nqc 20 -i .5 -w 5 $host

A deadline of 5 seconds is much too short.

If you send 20 echo requests in 10 seconds you must wait at least 10 seconds...

Otherwise you don't let the time to send the 20 packets and also often lose packets (in fact cut echo replies).

Quote:
-w deadline
Specify a timeout, in seconds, before ping exits regardless of how many packets have been sent or received. In this
case ping does not stop after count packet are sent, it waits either for deadline expire or until count probes are
answered or for some error notification from network.

I would suggest to set the deadline to something like 12 or 14 seconds to be sure :

Code:
/bin/ping -nqc 20 -i .5 -w 14 $host
Back to top
biyuhbiyuh



Joined: 13 Oct 2008
Posts: 1

PostPosted: Mon Nov 24, 2008 10:48 pm    Post subject: Smokeping cannt monitor untill 100-hosts Reply with quote

I use smokeping for monitoring branch company, but a lot of our branches to the number of hundreds that smokeping until it is not able to monitor again. I'm confused though what I should be monitoring through smokeping ?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group