Dynamic Label color for nodes (based on CPU usage)

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

KBBAch
Posts: 3
Joined: Fri Oct 23, 2009 3:09 am
Location: Denmark

Post by KBBAch »

Oh yeah, forgot xD
Thanks! You're a lifesaver... =)
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Re: Dynamic Label color for nodes (based on CPU usage)

Post by HuaweiVSCisco »

ben_2007 wrote:Hi all,

I'm trying to change the color of a node label based on CPU usage. Based on the manual, we have created the following code that does not work:


NODE PAPY
LABEL Home
ICON images/my_router.png
LABELOFFSET S
TARGET /var/www/html/rra/ce26212_5min_cpu_87.rrd:5min_cpu:-
POSITION 886 362

Could you help sorting out this please? :o
Ben
Just wondering is 5min_cpu the "index Value" or "name"?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Dynamic Label color for nodes (based on CPU usage)

Post by Howie »

It's the DS name.

If you get the DS name wrong, you will see an entry in the cacti.log - it will also tell you what the valid DS names are for that file.
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests