SNMPv3 doesn't work with Cacti 0.8.7g on Ubuntu 10.04 Server

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
checco-kun
Posts: 2
Joined: Mon Aug 23, 2010 7:51 am

SNMPv3 doesn't work with Cacti 0.8.7g on Ubuntu 10.04 Server

Post by checco-kun »

Hi All!

Like in subject, I use Cacti 0.8.7g on Ubuntu Server 10.04 amd64.
At this moment I'm using SNMPv2 for the devices, with this snmpd.conf:

Code: Select all

rocommunity foobar
syslocation Test Environment 
syscontact zaphod@magrathea
dontPrintUnits true
includeAllDisks
Results are great, also with the hadoop-cacti-jtg templates.

I have tried to use SNMPv3, with this snmpd.conf:

Code: Select all

rocommunity foobar
syslocation Test Environment 
syscontact zaphod@magrathea
dontPrintUnits true
includeAllDisks

createUser cacti MD5 cactipwd DES
group groupv3 usm cacti
view all included .iso 80
access groupv3 "" any auth exact all all all
the result is always the same for every cluster nodes: SNMP error

I run some snmpwalk and it works but not in Cacti:

Code: Select all

ford@mostlyharmless:~$ snmpwalk -v 3 -u cacti -l authNoPriv -a MD5 -A cactipwd 192.168.1.55 ipAdEntAddr
IP-MIB::ipAdEntAddr.127.0.0.1 = IpAddress: 127.0.0.1
IP-MIB::ipAdEntAddr.192.168.1.55 = IpAddress: 192.168.1.55
or

Code: Select all

ford@mostlyharmless:~$ snmpwalk -v 3 -u cacti -a MD5 -A cactipwd -x DES -l authNoPriv 192.168.1.55 interface
IF-MIB::ifNumber.0 = INTEGER: 2
...etc...
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
I haven't these types of problems on RHEL 5.4 and CentOS too.

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What are your settings for that device?
R.
checco-kun
Posts: 2
Joined: Mon Aug 23, 2010 7:51 am

Post by checco-kun »

gandalf wrote:What are your settings for that device?
R.
Hi gandalf.

The host 192.168.1.55 that I have used for the example is the same Cacti Server, but the problem persists on all nodes. By the way, the settings for this device are:

Code: Select all

Description: some description
Hostname: 192.168.1.55
Host Template: udc/net SNMP Host
Downed Device Detection: Ping or SNMP 
Ping Method: UDP Ping
Ping Port: 23
Ping Timeout Value: 400
Ping Retry Count: 1
SNMP Version: Version 3
SNMP Username (v3): cacti
SNMP Password (v3): cactipwd
SNMP Auth Protocol (v3): MD5
SNMP Privacy Passphrase (v3): (empty)
SNMP Privacy Protocol (v3): DES
SNMP Context: (empty)
SNMP Port: 161
SNMP Timeout: 500
Maximum OID's Per Get Request: 10 
jdelisle
Posts: 5
Joined: Tue Aug 31, 2010 2:03 pm

Post by jdelisle »

Same problem here - RHEL 5.5, latest patches, both on remote SNMP nodes and my cacti box.

Same issue, where I can snmpwalk V3 hosts by hand, but not in Cacti due to "SNMP error".
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: SNMPv3 doesn't work with Cacti 0.8.7g on Ubuntu 10.04 Se

Post by gandalf »

It is recommended to use "Privacy Protocol = None" in this case. Nevertheless, the check for "None" will now be accompanied by a check for empty privacy passphrase. Committed to upcoming 087h
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests