Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Fri Jul 25, 2014 6:02 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Ping Latency
PostPosted: Tue Mar 22, 2005 6:57 am 
Offline

Joined: Tue Mar 22, 2005 6:54 am
Posts: 3
Hi all.

How i can obtain graphs like these:

http://onion.raxnet.net/cacti/graph_vie ... &tree_id=8

Someone haves the graph template and scripts ?

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 7:49 am 
Offline
Cacti User

Joined: Thu Dec 09, 2004 1:51 pm
Posts: 112
Location: Austria
I think this could be a good start (haven't tried it myself): http://forums.cacti.net/viewtopic.php?t=3517

_________________
Thomas Rupp


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 2:20 pm 
Offline

Joined: Tue Mar 22, 2005 6:54 am
Posts: 3
Thank U very much :P


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 29, 2005 8:23 am 
Offline
Cacti User

Joined: Thu Dec 09, 2004 1:51 pm
Posts: 112
Location: Austria
Sorry, didn't read your posting carefully enough!
But I think it would be a good starting point. Import the XM files, change to paths to Windows style, change the Perl-Skript to parse the PING Reply returned by Windows (biggest effort I think).
HTH

_________________
Thomas Rupp


Top
 Profile  
 
 Post subject: The original link was right
PostPosted: Fri Apr 08, 2005 10:11 am 
Offline

Joined: Tue Mar 22, 2005 6:54 am
Posts: 3
what ?

The original link was right for me. And I don't use windows for cacti.

Thanks again.


Top
 Profile  
 
 Post subject: ping latency and packet loss
PostPosted: Thu Jun 09, 2005 8:20 pm 
Offline

Joined: Thu Jun 09, 2005 3:24 am
Posts: 5
based on http://forums.cacti.net/viewtopic.php?t=3517 i used http://www.guegue.com/~javier/cacti/ping_latency.pl.txt to graph the attached file.
i modified the file because -c (count) was too high, and packet loss was not being calculated right on my systems (FC and RHEL).
BTW, i've noticed you can ping any host (with no SNMP) if you leave the SNMP community string blank (at least in cacti 0.8.6d)


Attachments:
File comment: ping latency and packet loss
ping_packet_loss.png
ping_packet_loss.png [ 34.01 KiB | Viewed 48823 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 13, 2005 2:31 am 
Offline
Cacti User
User avatar

Joined: Wed Jan 14, 2004 3:23 am
Posts: 256
Location: Germany
Hi axioma,

can you share your graph XML file ?

What have you modified in detail, because I'm also using FC3 ?

Thanks.

Pumpi


Top
 Profile  
 
 Post subject: exporting a graph template
PostPosted: Mon Jun 13, 2005 11:07 am 
Offline

Joined: Thu Jun 09, 2005 3:24 am
Posts: 5
brilliant, i didn't know this was possible. i'm not new to rrdtool, bu i am new to cacti.


Attachments:
cacti_graph_template_unix_ping_latency_detailed.xml [20.09 KiB]
Downloaded 5956 times
Top
 Profile  
 
 Post subject: Ping Latency
PostPosted: Mon Jun 13, 2005 3:47 pm 
Offline

Joined: Thu Mar 10, 2005 11:02 am
Posts: 31
Can we get your ping_latency.pl script too?


Top
 Profile  
 
 Post subject: Re: Ping Latency
PostPosted: Mon Jun 13, 2005 4:03 pm 
Offline

Joined: Thu Jun 09, 2005 3:24 am
Posts: 5
drose12 wrote:
Can we get your ping_latency.pl script too?


there's a url, in the message i sent. anyway, it's here:
http://www.guegue.com/~javier/cacti/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 14, 2005 4:46 am 
Offline
Cacti User
User avatar

Joined: Wed Jan 14, 2004 3:23 am
Posts: 256
Location: Germany
Hi axioma,

is working now for me.

Thanks for sharing !

:D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2009 2:22 pm 
Offline
Cacti User

Joined: Tue May 24, 2005 8:46 am
Posts: 101
Location: Rochester, New Hampshire
Hey there, good ping script.

The only question i have, and this is for anyone, is there anyway to have the hostname auto fill-in with the IP of the device your creating this graph for?

I want to add this to a lot of routers, but figured if the IP could autopopulate it would be easier.

Thanks again!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2009 10:17 am 
Offline
Cacti User

Joined: Tue May 24, 2005 8:46 am
Posts: 101
Location: Rochester, New Hampshire
I am now starting to see this:


Code:
02/25/2009 02:53:04 PM - SPINE: Poller[0] Host[27] DEBUG: The POPEN returned the following File Descriptor 21
02/25/2009 02:53:19 PM - SPINE: Poller[0] Host[27] ERROR: The POPEN timed out




Only for that one host. I am able to ping it fine though.


Edit: EBKAC, forgot to put the hostname in :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 22, 2010 9:00 am 
Offline

Joined: Wed Aug 25, 2010 10:43 pm
Posts: 27
Location: india
Pumpi wrote:
Hi axioma,

is working now for me.

Thanks for sharing !

:D



hi
i need your help for add script for ping
please reply .

thanks sandeep


Top
 Profile  
 
 Post subject: Re: Ping Latency
PostPosted: Wed Jun 13, 2012 1:23 am 
Offline

Joined: Mon May 28, 2012 8:50 am
Posts: 5
Help guys :(

i try this tempalte, but Nothing draws, this is what i get from log:


06/13/2012 08:10:27 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 490 seconds have passed since the last poll!
06/13/2012 08:10:28 AM - PHPSVR: Poller[0] WARNING: PHP Script File to be included, does not exist
06/13/2012 08:10:28 AM - PHPSVR: Poller[0] WARNING: Function does not exist INC: 'ss_tping.php' FUNC: 'ss_tping' PARMS: 'google.com'
06/13/2012 08:10:28 AM - CMDPHP: Poller[0] Host[9] DS[18] WARNING: Result from SERVER not valid. Partial Result: U
06/13/2012 08:10:28 AM - SYSTEM STATS: Time:0.8901 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:1

and this is picture.
PLS help guys, tnx!


Attachments:
cacti.png
cacti.png [ 87.08 KiB | Viewed 10855 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group