Indicate the VSS status of a switch on map

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

Post Reply
Cacti User
Posts: 325
Joined: Wed Dec 07, 2011 9:19 am

Indicate the VSS status of a switch on map

#1 Post by Rno » Tue May 29, 2018 8:25 am

I'd like to have the status of my vss node on my map, but since it's only 1IP address I can't find a way to do it.
Can we parse 1 snmp query on weathermap ?
Like each time it draw a map I poll one OID and give the result in some color ?
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3, Map 0.4

Cacti 1.2.1
Spine 1.2.1
thold 1.0.6
monitor 2.3.5
php 7.2.11
mariadb 5.5.56
Own plugin:
ExtendDB 1.1.2
LinkDiscovery 1.2.4
Map 1.2.5

User avatar
Cacti Guru User
Posts: 5327
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom

Re: Indicate the VSS status of a switch on map

#2 Post by Howie » Tue May 29, 2018 9:23 am

Yes, if you know the OID.

The snmp target will do this for you (use '-' for the second OID if you don't need it). Note that in 0.98, only SNMPv1 is supported though. (this is fixed in the next release)
Weathermap 0.98 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!)

User avatar
Cacti User
Posts: 180
Joined: Wed Jul 20, 2016 8:00 pm

Re: Indicate the VSS status of a switch on map

#3 Post by Pucho » Wed May 30, 2018 6:33 pm

If it's using the cacti plugin version it might be a good it to write a simple snmp data query for that OID so he can also have a time based graph to find any "past events" and then weathermap will only have to look at the cacti rrd data source.

Every time you care about an active/standby or sync/nosync sort things you also want to see when it has changed.
Cacti - 1.1.37
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets

Code: Select all

SYSTEM STATS: Time:17.7383 Method:spine Processes:1 Threads:10 Hosts:279 HostsPerProcess:279 DataSources:7309 RRDsProcessed:3718

Code: Select all

WEATHERMAP STATS: Weathermap 0.98 run complete - Thu, 16 Nov 17 08:42:56 +1300: 39 maps were run in 23.22 seconds with 0 warnings.

Post Reply