Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Support questions about the Network Weather Map plugin
Moderators: Developers , Moderators
RMonitor
Posts: 3 Joined: Wed Sep 23, 2015 4:47 am
Post
by RMonitor » Wed Sep 23, 2015 5:00 am
Hello,
Sorry for this being my first post, I've lost my account from last year.
I've been reading and trying different configs for 24 hours but haven't been successful. Here's an example of two nodes.
Code: Select all
NODE asa5min_cpu
LABEL CPU USAGE{node:this:bandwidth_out:%d}
ICON images/PAD.png
TARGET gauge:/var/www/cacti/rra/core_2_asa_memused_28.rrd
POSITION 101 377
NODE node03652
LABEL Node {node:this:bandwidth_out:%d}
MAXVALUE 100
POSITION 280 377
TARGET /var/www/cacti/rra/core_2_5min_cpu_19.rrd
USESCALE none in
I've tried lots of different versions after node:this.
I've also read that in 2010 ds had to be added as a gauge but I'm not sure if that's still applicable.
Code: Select all
ds[5min_cpu].type = "GAUGE"
ds[5min_cpu].minimal_heartbeat = 600
ds[5min_cpu].min = 0.0000000000e+00
ds[5min_cpu].max = 1.0000000000e+02
ds[5min_cpu].last_ds = "8"
ds[5min_cpu].value = 8.0000000000e+00
ds[5min_cpu].unknown_sec = 0
I want to make lots of weathermaps just can't work out the formula for this. Sorry if I'm missing something rather obvious.
Thanks in advance.
XTech
Cacti User
Posts: 59 Joined: Sat May 26, 2012 9:25 pm
Post
by XTech » Wed Sep 23, 2015 9:40 pm
The example below works for me:
Code: Select all
NODE cpu_temp-1
LABEL {node:this:bandwidth_in:%d}
LABELFONT 3
LABELOUTLINECOLOR 0 0 0
TARGET gauge:/usr/share/cacti/rra/183/5406.rrd:cpu0_temp:-
Note the name of parameter in rrd file
RMonitor
Posts: 3 Joined: Wed Sep 23, 2015 4:47 am
Post
by RMonitor » Thu Sep 24, 2015 5:12 am
Thank you for your response.
Still getting DS not found even though there's valid data.
RRDTool shows
Code: Select all
last_update = 1443086102
ds[5min_cpu].type = "GAUGE"
ds[5min_cpu].minimal_heartbeat = 600
ds[5min_cpu].min = 0.0000000000e+00
ds[5min_cpu].max = 1.0000000000e+02
ds[5min_cpu].last_ds = "9"
ds[5min_cpu].value = 1.8000000000e+01
ds[5min_cpu].unknown_sec = 0
Have no idea how to work out the values.
Does anyone have any other ideas which could help please?
RMonitor
Posts: 3 Joined: Wed Sep 23, 2015 4:47 am
Post
by RMonitor » Thu Sep 24, 2015 5:25 am
For anyone still curios, the line showed:
Code: Select all
RRD ReadData: At least one of your DS names (last_ds and -) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: 5min_cpu,[WMRRD06]
Changed it to:
Code: Select all
TARGET gauge:/var/www/cacti/rra/core_2_5min_cpu_19.rrd:5min_cpu:-
tos3rhn
Posts: 3 Joined: Wed Dec 05, 2007 9:07 am
Post
by tos3rhn » Tue Sep 29, 2015 4:54 am
Your output from rrdtool shows that the datasource is 5min_cpu so you need to use this in your target:
TARGET gauge:/var/www/cacti/rra/core_2_asa_memused_28.rrd:5min_cpu:-
Users browsing this forum: No registered users and 0 guests