snmpwalk: Unknown user name

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

snmpwalk: Unknown user name

Post by duwijakarta »

hello, please help

Can anyone help with the following case?
when I create a new device on the cacti server it says

xxxx@cacti-explore:~$ snmpwalk -v3 -l authPriv -u xxxx -a MD5 -A 'xxxxx' -x AES -X 'xxxx' 1xx.x.x.x
snmpwalk: Unknown user name

but if I set it with version 2 the results are successful
snmpwalk -c xxxx -v 2c

even though the settings on my switch are for version 3
snmp-server group xxxx v3 auth
snmp-server group xxxx v3 priv
snmp-server community xxxx RO
snmp-server host 1x.x.x version 3 priv xxxx udp-port 161

why does it always say "Unknown user name" when I set snmp version 3?
Are there any settings that need to be added?
Thank You
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: snmpwalk: Unknown user name

Post by Rno »

did you have a snmp user ?
do a show snmp user
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: snmpwalk: Unknown user name

Post by Rno »

Ho by the way, what is the device you testing ?
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests