I'm having problems with this.
I have configured cacti (via web interface) to poll a device using snmpv3, md5 and des. From the cacti server, cli, I can snmpwalk this device using these settings (md5, des, authPriv).
Cacti is able to see the device and I was able to create graphs. I even get SNMP Information from the host....
Looking at the Graphs, I don't get anything.
NAN
Running:
CentOS
0.8.7a
NET-SNMP version: 5.1.2
RRDTool 1.2.x
THOLD Plugin
Settings Plugin
SNMP v3?
Moderators: Developers, Moderators
Thanks for the heads up...
I found your article and went through all steps-thanks I'm learning lots.
Debug log shows:
01/03/2008 12:45:07 PM - CACTID: Poller[0] Host[97] DS[1257] WARNING: SNMP timeout detected [500 ms], ignoring host 'itdlas1'
01/03/2008 12:45:07 PM - CACTID: Poller[0] Host[97] DS[1257] SNMP: v3: itdlas1, dsname: fdb_size, oid: .1.3.6.1.4.1.2272.1.14.2.0, value: U
This relates to your section 11:
Secondly, the script was taking several seconds to run. So cacti was logging a "U" for unparseable in the debug output, and was recording NAN. So my fix there was to make the script run faster - it has to complete in less than one second, and the age of my box make that hard.
My box is fairly new but when I use SNMPv3 to manage my equipment I notice that it does take at least a couple seconds to log in so that I can use it.
When I SNMPGET this OID from the cacti server (cli) it runs VERY FAST. It's instantaneous. I don't see that it's taking too long at all when running from the cli.
Also...my poller is SPINE.
What should I do? SNMPV2 worked great, this is just an upgrade-not a new host or installation.
I found your article and went through all steps-thanks I'm learning lots.
Debug log shows:
01/03/2008 12:45:07 PM - CACTID: Poller[0] Host[97] DS[1257] WARNING: SNMP timeout detected [500 ms], ignoring host 'itdlas1'
01/03/2008 12:45:07 PM - CACTID: Poller[0] Host[97] DS[1257] SNMP: v3: itdlas1, dsname: fdb_size, oid: .1.3.6.1.4.1.2272.1.14.2.0, value: U
This relates to your section 11:
Secondly, the script was taking several seconds to run. So cacti was logging a "U" for unparseable in the debug output, and was recording NAN. So my fix there was to make the script run faster - it has to complete in less than one second, and the age of my box make that hard.
My box is fairly new but when I use SNMPv3 to manage my equipment I notice that it does take at least a couple seconds to log in so that I can use it.
When I SNMPGET this OID from the cacti server (cli) it runs VERY FAST. It's instantaneous. I don't see that it's taking too long at all when running from the cli.
Also...my poller is SPINE.
What should I do? SNMPV2 worked great, this is just an upgrade-not a new host or installation.
Cacti Ver: 0.8.7h
netSNMP 5.4.2.1
PHP 5.3.2-1ubuntu4.9 with Suhosin-Patch
mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1
RRDtool 1.3.8
CCNA,CCDA,CCSE
netSNMP 5.4.2.1
PHP 5.3.2-1ubuntu4.9 with Suhosin-Patch
mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1
RRDtool 1.3.8
CCNA,CCDA,CCSE
Who is online
Users browsing this forum: No registered users and 0 guests