Hello,
I try to see on my map the percentage of the load on the COS on my router.
For that I use a special XML script with another ds name that "traffic_in" or traffic_out.
So I did a rrdtool info on my rrd file and I see this for the ds name :
ds[QoSbyte].index = 0
ds[QoSbyte].type = "COUNTER"
ds[QoSbyte].minimal_heartbeat = 600
ds[QoSbyte].min = 0.0000000000e+00
ds[QoSbyte].max = NaN
ds[QoSbyte].last_ds = "848561814874"
ds[QoSbyte].value = 2.7273392642e+06
ds[QoSbyte].unknown_sec = 0
ds[QoSdropbyte].index = 1
ds[QoSdropbyte].type = "COUNTER"
ds[QoSdropbyte].minimal_heartbeat = 600
ds[QoSdropbyte].min = 0.0000000000e+00
ds[QoSdropbyte].max = NaN
ds[QoSdropbyte].last_ds = "0"
ds[QoSdropbyte].value = 0.0000000000e+00
ds[QoSdropbyte].unknown_sec = 0
ds[QoSprecbyte].index = 2
ds[QoSprecbyte].type = "COUNTER"
ds[QoSprecbyte].minimal_heartbeat = 600
ds[QoSprecbyte].min = 0.0000000000e+00
ds[QoSprecbyte].max = NaN
ds[QoSprecbyte].last_ds = "848561814874"
ds[QoSprecbyte].value = 2.7273392642e+06
ds[QoSprecbyte].unknown_sec = 0
So in the map config file I put the ds name below like that :
LINK node06057-node06474aa
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=2700
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=2700&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /usr/share/cacti/site/rra/35/2749.rrd:QoSbyte
NODES node06057 node06474
VIA 167 230
BANDWIDTH 7M
But with that configuration I receive a warning in the cacti log and I don't see anything on weathermap.
Please can you help me to resolve this issue ?
Best regards,
Matthieu
Problem with ds name
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Problem with ds name
You need to specify two DS names (one for in and one for out). So try:
TARGET /usr/share/cacti/site/rra/35/2749.rrd:QoSbyte:QoSbyte
if you want the same to show for both directions
or
TARGET /usr/share/cacti/site/rra/35/2749.rrd:QoSbyte:-
if you want to have the outbound side to show 0 instead.
Finally, if you have that same counter collected on both devices (each end of the link) you can take one value from each:
TARGET /usr/share/cacti/site/rra/35/2749.rrd:QoSbyte:- /usr/share/cacti/site/rra/56/33349.rrd:-:QoSbyte
(so that's two different RRDs - one provides the 'in' and one provides the 'out')
TARGET /usr/share/cacti/site/rra/35/2749.rrd:QoSbyte:QoSbyte
if you want the same to show for both directions
or
TARGET /usr/share/cacti/site/rra/35/2749.rrd:QoSbyte:-
if you want to have the outbound side to show 0 instead.
Finally, if you have that same counter collected on both devices (each end of the link) you can take one value from each:
TARGET /usr/share/cacti/site/rra/35/2749.rrd:QoSbyte:- /usr/share/cacti/site/rra/56/33349.rrd:-:QoSbyte
(so that's two different RRDs - one provides the 'in' and one provides the 'out')
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: Problem with ds name
Hello,
Thx a lot Howie for this solution.
I use the third solution with two ds name different for the in and out
Great plugin
Best regards,
Matthieu
Thx a lot Howie for this solution.
I use the third solution with two ds name different for the in and out
Great plugin
Best regards,
Matthieu
Who is online
Users browsing this forum: No registered users and 2 guests