I've run into a irritating problem, I have some graphs where manually GETing the snmp value works fine, but the poller keeps getting a U
(from cacti log)
08/02/2010 05:47:47 PM - CMDPHP: Poller[0] Host[227] DS[6413] WARNING: Result from SNMP not valid. Partial Result: U
08/02/2010 05:47:47 PM - CMDPHP: Poller[0] Host[227] DS[6413] SNMP: v2: SERVERNAME, dsname: jvmGCcount, oid: .1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.2.2, output: U
now if I call that exact same value with snmpget it works. note that community is defined globally and port is defined to be 1161 for this template:
snmpget -v 2c -c COMMUNITY HOSTNAME:1161 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.2.2
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.101.1.2.2 = Counter64: 10
Any thoughts? is there a way to get cacti to dump the snmp commands it is calling?
A
SNMPGET works, poller fails?
Moderators: Developers, Moderators
Double checked
I've been testing from the same box, but just did it again to make double+ sure, and it's doing the same thing. The config works in general, I have close to 150 machines in this instance, and about 10-15 using this data template that work. I added 3 new ones today, and they all fail in the same manner
A
A
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Check the poller_items table. Make sure it's using the correct SNMP port.
TheWitness
TheWitness
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?
you got it!
even though the template says 1161, the poller_item table has 161. I'll change that
A
A
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That's what I thought. This is a know issue. I should fix it if I could just make the time....
TheWitness
TheWitness
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 2 guests