Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Apr 25, 2019 5:23 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to get a Device's Latency on Weathermap
PostPosted: Mon Apr 30, 2018 4:39 pm 
Offline

Joined: Tue Jun 13, 2017 3:23 pm
Posts: 12
Hey all,

So of course I know all about getting data from graph'd rrd files etc, for device health and traffic flow etc. But Cacti has the devices latency listed in the Device section. This apparently isn't graph'd, and being honest nor do I want it to be. I have SmokePing for that.

BUT... It would be really handy if there was an easy way to pull the Cacti native device latency into a Weathermap as a data point. (Without getting a custom graph template for graphing ping response latency and graphing it).

Any ideas??
Thanks.


Top
 Profile  
 
 Post subject: Re: How to get a Device's Latency on Weathermap
PostPosted: Mon Apr 30, 2018 4:44 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5300
Location: United Kingdom
The cactihost: datasource plugin is your new friend!
http://network-weathermap.com/manual/0.98/pages/targets.html#cactihost

You should be able to use
Code:
NODE thing1
   TARGET cactihost:33
  LABEL {node:this:cacti_curtime}ms
  # position etc skipped


(where 33 is the device ID)

_________________
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)


Top
 Profile  
 
 Post subject: Re: How to get a Device's Latency on Weathermap
PostPosted: Mon Apr 30, 2018 4:47 pm 
Offline

Joined: Tue Jun 13, 2017 3:23 pm
Posts: 12
Howie wrote:
The cactihost: datasource plugin is your new friend!
http://network-weathermap.com/manual/0.98/pages/targets.html#cactihost

You should be able to use
Code:
NODE thing1
   TARGET cactihost:33
  LABEL {node:this:cacti_curtime}ms
  # position etc skipped


(where 33 is the device ID)

Ooooh, thankyou :)

That looks ideal.


Top
 Profile  
 
 Post subject: Re: How to get a Device's Latency on Weathermap
PostPosted: Mon Apr 30, 2018 4:52 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5300
Location: United Kingdom
(You can also read data from your Smokeping rrd files if you wanted, too, if they are visible from the weathermap host)

_________________
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 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