Hello everyone,
I´m quite new in cacti and I´m trying to make a weathermap where it shows if the interfaces between the nodes are Up or Down. Someone could help me? I´ve been trying by myself but I couldn´t make it work.
Thank you
Up/Down interfaces in Weather Map Plugin
Moderators: Developers, Moderators
Re: Up/Down interfaces in Weather Map Plugin
Thtat's the config I have:
NODE DEFAULT (Default config for all my node, including the one that indicate the sattus of the link)
LABEL {node:this:name}
LABELOFFSET s
OVERLIBWIDTH 450
OVERLIBHEIGHT 150
ICON 60 60 images/w2bn.png
TARGET cactihost:hostid
USESCALE nodeupdown in percent
MAXVALUE 100
The scale is for the color depending of the status
SCALE linkupdown 0 0.5 192 192 192 Unknown
SCALE linkupdown 0.5 1.5 0 255 0 Up
SCALE linkupdown 1.5 2 255 0 0 Down
Than the 'node' actually the link status, based on the status from cacti mesure
NODE SE-Node1-SE-Node2-STATUS
LABEL {node:this:inscaletag}
LABELOFFSET c
ICON none
TARGET gauge:/usr/share/cacti/rra/se-Node1_int_status_7248.rrd:int_status:-
USESCALE linkupdown in percent
POSITION 1100 225
NODE DEFAULT (Default config for all my node, including the one that indicate the sattus of the link)
LABEL {node:this:name}
LABELOFFSET s
OVERLIBWIDTH 450
OVERLIBHEIGHT 150
ICON 60 60 images/w2bn.png
TARGET cactihost:hostid
USESCALE nodeupdown in percent
MAXVALUE 100
The scale is for the color depending of the status
SCALE linkupdown 0 0.5 192 192 192 Unknown
SCALE linkupdown 0.5 1.5 0 255 0 Up
SCALE linkupdown 1.5 2 255 0 0 Down
Than the 'node' actually the link status, based on the status from cacti mesure
NODE SE-Node1-SE-Node2-STATUS
LABEL {node:this:inscaletag}
LABELOFFSET c
ICON none
TARGET gauge:/usr/share/cacti/rra/se-Node1_int_status_7248.rrd:int_status:-
USESCALE linkupdown in percent
POSITION 1100 225
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Up/Down interfaces in Weather Map Plugin
Assuming that you also have a scale named nodeupdown and that you don't literally have "hostid", but a number, it looks roughly OK.
What do the logs say? What does it actually do?
What do the logs say? What does it actually do?
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!)
Who is online
Users browsing this forum: No registered users and 0 guests