[ZBX-6495] snmp V3 item and unknown user name error Created: 2013 Apr 17  Updated: 2017 May 30  Resolved: 2013 Jul 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.5
Fix Version/s: None

Type: Incident report Priority: Critical
Reporter: Karim GUEDIDER Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: snmpv3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File .jpg     PNG File Снимок экрана 2013-04-19 в 20.12.30.png    

 Description   

Hi,
I try to set snmp V3 item onthe v2.0.5 appliance and I received an error : user unknon
when I run an snmpget cmd from the zabbix server it works.
I run an snmp agent on a remote linux server.

Is there something to enabled on the appliance ?

thanks
Karim



 Comments   
Comment by Alexey Pustovalov [ 2013 Apr 17 ]

Hi Karim, Could you attach screenshot with error message of full error message?

Comment by Oleksii Zagorskyi [ 2013 Apr 18 ]

FYI ZBX-5414

Comment by Karim GUEDIDER [ 2013 Apr 18 ]

snmpV3 items in error
the snmpget with exactly the same parameters works fine

in the log I saw : 24725:20130418:111106.876 item [ubuntu:uname] became not supported: Could not connect to "127.168.1.41:161": Unknown user name

regards

Comment by Karim GUEDIDER [ 2013 Apr 19 ]

Hi,

I realized the same test from another Zabbix (Compiled from source on centos) and it works.
Can you check if your appliance works for snmpV3 item

thanks

Comment by Andrei Gushchin (Inactive) [ 2013 Apr 19 ]

Hi Karim,

I checked and cannot reproduce it.
My settings was:
on snmpv3 server side:

net-snmp-config --create-snmpv3-user -ro -x DES -X gantest123 -a MD5 -A gantest123 gan

on zabbix side the item settings was see screenshot.

Comment by Karim GUEDIDER [ 2013 Apr 19 ]

on my side on the snmpv3 server I add this line in the snmpd.conf

#
createUser user1
createUser user2 MD5 user2password
createUser user3 MD5 user3password DES user3encryption
#
rouser user1 noauth 1.3.6.1.2.1.1
rouser user2 auth 1.3.6.1.2.1
rwuser user3 priv 1.3.6.1.2.1

but it's works great in zabbix from a different server

regards

Comment by richlv [ 2013 Apr 20 ]

what's the libsnmp version that zabbix server was compiled against on the system where it works ?

Comment by Alexei Vladishev [ 2013 Jul 22 ]

I am closing it for now. Feel free to provide more details and reopen then.

Comment by oliver marshall [ 2013 Sep 13 ]

I think we are seeing the same issue. We have 2.1.4 and get the following errors in the zabbix server log when using SNMPv3 with devices.
****
25076:20130913:112457.918 item [FreePBX:astConfigCallsActive.0] became supported
25076:20130913:112517.959 item [FreePBX:astConfigCallsActive.0] became not supported: Could not connect to "10.1.39.33:161": Authentication failure (incorrect password, community or key)
25090:20130913:113454.723 item [FreePBX:astConfigCallsActive.0] became supported
25075:20130913:113509.503 item [FreePBX:astConfigCallsActive.0] became not supported: Could not connect to "10.1.39.33:161": Authentication failure (incorrect password, community or key)
25090:20130913:120457.741 item [FreePBX:astConfigCallsActive.0] became supported
25075:20130913:120502.747 item [FreePBX:astConfigCallsActive.0] became not supported: Could not connect to "10.1.39.33:161": Authentication failure (incorrect password, community or key)
*********

The same details and auth types in SNMPWALK work fine. To make it even more odd the error flap about as you can see from the logs. Some checks it comes back with valid numbers, other checks it comes back with an authentication error. If you look at the items screen of the device and refresh you can see the checks fail then randomly pass, then fail.

Happy to provide screenshots and the like.

Olly

Generated at Fri Apr 26 09:23:51 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.