SNMP v3?

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

User avatar
Mark.
Cacti User
Posts: 74
Joined: Tue Jul 03, 2007 4:11 pm
Location: San Luis Obispo

Post by Mark. »

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
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
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see second link of my signature to debug
Reinhard
User avatar
Mark.
Cacti User
Posts: 74
Joined: Tue Jul 03, 2007 4:11 pm
Location: San Luis Obispo

Post by Mark. »

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.
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
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

To be honest, my own experience is from creating the documentation only. Not yet used SNMP V3 in our production environment. You may post a request for information in the general forum to see what others are experiencing
Reinhard
User avatar
Mark.
Cacti User
Posts: 74
Joined: Tue Jul 03, 2007 4:11 pm
Location: San Luis Obispo

Post by Mark. »

Will do...thank you.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests