Hi all,
I'm having trouble graphing interfaces on a Cisco device with SNMPv3. I had 2 old Cacti active installations with this issue, then I've tried with a new fresh one and I have the same issue.
Information of the last Cacti with clean installation:
Cacti 1.2.19
Spine
RRDTool 1.7.1 (the older installations have the 1.4.2 version)
CentOS 7
8 vCPU (4x2)
16GB RAM
200GB disk
In the 3 cases, when I make the snmpwalk in the CentOS 7 console, I have the right response:
Steps to create a new graph (maybe this is the issue or something is wrong):
1. I edit the base SNMP - Generic OID Template in Templates/Data Source to this:
2. I go to Create/New Graphs, then I select the base SNMP - Generic OID Template and press Create button:
3. I fill every field with this information and press Create Button (I need COUNTER instead GAUGE to take the cumulative value):
The graph then is created and I put it in the graph default tree, but after some minutes when the graph becames active it always remains in -nan and empty even in Management/Graphs.
Thanks in advance.
Empty graph with SNMPv3
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Empty graph with SNMPv3
With SNMPv3, you have to be real careful. For example, make sure your Net-SNMP is v5.8++ also, make sure you are NOT running php-snmp, make sure you are running Spine 1.2.21+, and lastly, get to 1.2.21+ right away.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Empty graph with SNMPv3
Thanks for your response @TheWitness.TheWitness wrote: ↑Wed May 25, 2022 8:04 am With SNMPv3, you have to be real careful. For example, make sure your Net-SNMP is v5.8++ also, make sure you are NOT running php-snmp, make sure you are running Spine 1.2.21+, and lastly, get to 1.2.21+ right away.
I've found why it didn't work and solved it. In my case, when I request via the snmpwalk command in CentOS, with the OID with only one of the indexes (.1.3.6.1.4.1.9.9.166.1.15.1.1.10.285217558), the output shows the complete result of the OID with a two indexes (.1.3.6.1.4.1.9.9.166.1.15.1.1.10.285217558.285217559).
In the case of Cacti, it needs the full OID with both indexes to respond the request.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Empty graph with SNMPv3
Glad you were able to resolve it. New version of Cacti is good regardless
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 6 guests