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.
How to get a Device's Latency on Weathermap
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to get a Device's Latency on Weathermap
The cactihost: datasource plugin is your new friend!
http://network-weathermap.com/manual/0. ... #cactihost
You should be able to use
(where 33 is the device ID)
http://network-weathermap.com/manual/0. ... #cactihost
You should be able to use
Code: Select all
NODE thing1
TARGET cactihost:33
LABEL {node:this:cacti_curtime}ms
# position etc skipped
Weathermap 0.98a 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!)
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!)
Re: How to get a Device's Latency on Weathermap
Ooooh, thankyouHowie wrote:The cactihost: datasource plugin is your new friend!
http://network-weathermap.com/manual/0. ... #cactihost
You should be able to use(where 33 is the device ID)Code: Select all
NODE thing1 TARGET cactihost:33 LABEL {node:this:cacti_curtime}ms # position etc skipped
That looks ideal.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to get a Device's Latency on Weathermap
(You can also read data from your Smokeping rrd files if you wanted, too, if they are visible from the weathermap host)
Weathermap 0.98a 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!)
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!)
Re: How to get a Device's Latency on Weathermap
I am sorry that I write in such an old thread.
The method is very convenient and it works great.
For some reason I cannot make scale to work correctly.
I have this scale :
SCALE PING 0 0 192 192 192
SCALE PING 0 10 0 255 0
SCALE PING 10 20 255 255 0
SCALE PING 20 100 255 0 0
And I use it in node as absolute.
But it always stays green no matter what the value is.
The method is very convenient and it works great.
For some reason I cannot make scale to work correctly.
I have this scale :
SCALE PING 0 0 192 192 192
SCALE PING 0 10 0 255 0
SCALE PING 10 20 255 255 0
SCALE PING 20 100 255 0 0
And I use it in node as absolute.
But it always stays green no matter what the value is.
Who is online
Users browsing this forum: No registered users and 0 guests