Need help in SNMP V3 configuration

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

Moderators: Developers, Moderators

arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Need help in SNMP V3 configuration

Post by arnab2510 »

Hi,
I have installed a new server with Cacti Version 1.2.26.
I am required to monitor the utilization of the end devices through SNMP
V3 , SHA 256 and AES 256.

While adding a new device, we are getting errors as below:

SNMP Information
Session SNMP error - Undefined variable: timeout

Please help me resolve the issue.
Thanks & Regards
Arnab Adhikari
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Need help in SNMP V3 configuration

Post by macan »

any snmpwalk (version 3) from cacti server to device works?
Let the Cacti grow!
Rno
Cacti Pro User
Posts: 658
Joined: Wed Dec 07, 2011 9:19 am

Re: Need help in SNMP V3 configuration

Post by Rno »

Can you post a print screen of your snmpv3 settings ?
either way: console-configuration-Setting-Device Default

or what you have on one device
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
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Hi,

Please find the SNMP default settings, attached herewith.
Attachments
2.png
2.png (15.31 KiB) Viewed 633 times
1.png
1.png (25.69 KiB) Viewed 633 times
Rno
Cacti Pro User
Posts: 658
Joined: Wed Dec 07, 2011 9:19 am

Re: Need help in SNMP V3 configuration

Post by Rno »

Configuration look ok, I have the same (except the size of the protocol I'm at 128)

As suggested by Macan, can you do a snmpwalk via CLI ?
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
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Regret the delay in response. we had network issues which were resolved. Then we re-installed Cacti 1.2.26 with NET-SNMP 5.8 on Centos 8.
'
System SNMP Error' is coming with SHA-256 and AES 256 options. but SNMP is working with SHA and AES 128.

Please find installed modules and SNMP-Walk outputs, attached herewith.

Please help to configure SNMP polling using SHA 256 and AES 256.
Attachments
Output.txt
(347.17 KiB) Downloaded 9 times
Rno
Cacti Pro User
Posts: 658
Joined: Wed Dec 07, 2011 9:19 am

Re: Need help in SNMP V3 configuration

Post by Rno »

Hmm, it's look like your snmpwalk is based on AES-128 and SHA1 not AES-256, neither SHA-256
So can you try the CLI like this:

Code: Select all

snmpwalk -v 3 -u Test_SNMPV5 -a SHA-256 -A xyz@456  -l authPriv -x AES-256 -X abcde@456 10.xx.xx.18
Just to be sure your device and the net-snmp you have support this version.
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
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

I am getting the below output

[root@localhost ~]# snmpwalk -v 3 -u Test_SNMPV5 -a SHA-256 -A abc@456 -l authPriv -x AES-256 -X abc@456 10.xx.xx.18
Timeout: No Response from 10.xx.xx.18
[root@localhost ~]#

Also, I will verify the package versions suggested by you and revert ASAP.

Please find the current SNMP status also, attached herewith.
Attachments
Untitled.png
Untitled.png (55.12 KiB) Viewed 520 times
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

[root@localhost ~]# snmpwalk -v 3 -u Test_SNMPV5 -a SHA -A ABC@456 -l authPriv -x AES-128 -X ABC@456 10.xx.xx.74
SNMPv2-MIB::sysDescr.0 = STRING: Whitefield
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.12356.101.1.506
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (319911819) 37 days, 0:38:38.19
SNMPv2-MIB::sysContact.0 = STRING: abc_Branch
SNMPv2-MIB::sysName.0 = STRING: S1110
SNMPv2-MIB::sysLocation.0 = STRING: Whitefield
SNMPv2-MIB::sysServices.0 = INTEGER: 78
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORIndex.1 = INTEGER: 1
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::zeroDotZero.0
SNMPv2-MIB::sysORDescr.1 = STRING:
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifNumber.0 = INTEGER: 13
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.11 = INTEGER: 11
IF-MIB::ifIndex.12 = INTEGER: 12
IF-MIB::ifIndex.112 = INTEGER: 112
IF-MIB::ifDescr.1 = STRING:
IF-MIB::ifDescr.2 = STRING:
IF-MIB::ifDescr.3 = STRING:
IF-MIB::ifDescr.4 = STRING:
IF-MIB::ifDescr.5 = STRING:
IF-MIB::ifDescr.6 = STRING:
IF-MIB::ifDescr.7 = STRING:
IF-MIB::ifDescr.8 = STRING:
IF-MIB::ifDescr.9 = STRING:
IF-MIB::ifDescr.10 = STRING:
IF-MIB::ifDescr.11 = STRING:
IF-MIB::ifDescr.12 = STRING:
IF-MIB::ifDescr.112 = STRING:
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: tunnel(131)
IF-MIB::ifType.5 = INTEGER: bridge(209)
IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.7 = INTEGER: bridge(209)
IF-MIB::ifType.8 = INTEGER: tunnel(131)
IF-MIB::ifType.9 = INTEGER: tunnel(131)
IF-MIB::ifType.10 = INTEGER: other(1)
IF-MIB::ifType.11 = INTEGER: l2vlan(135)
IF-MIB::ifType.12 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.112 = INTEGER: tunnel(131)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifMtu.5 = INTEGER: 1500
IF-MIB::ifMtu.6 = INTEGER: 1500
IF-MIB::ifMtu.7 = INTEGER: 1500
IF-MIB::ifMtu.8 = INTEGER: 1422
IF-MIB::ifMtu.9 = INTEGER: 1500
IF-MIB::ifMtu.10 = INTEGER: 1500
IF-MIB::ifMtu.11 = INTEGER: 1500
IF-MIB::ifMtu.12 = INTEGER: 1500
IF-MIB::ifMtu.112 = INTEGER: 1422
IF-MIB::ifSpeed.1 = Gauge32: 100000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifSpeed.4 = Gauge32: 0
IF-MIB::ifSpeed.5 = Gauge32: 0
IF-MIB::ifSpeed.6 = Gauge32: 0
IF-MIB::ifSpeed.7 = Gauge32: 100000000
IF-MIB::ifSpeed.8 = Gauge32: 100000000
IF-MIB::ifSpeed.9 = Gauge32: 100000000
IF-MIB::ifSpeed.10 = Gauge32: 0
IF-MIB::ifSpeed.11 = Gauge32: 0
IF-MIB::ifSpeed.12 = Gauge32: 100000000
IF-MIB::ifSpeed.112 = Gauge32: 100000000
IF-MIB::ifPhysAddress.1 = STRING: 4:d5:90:12:3:31
IF-MIB::ifPhysAddress.2 = STRING: 4:d5:90:12:3:32
IF-MIB::ifPhysAddress.3 = STRING: 0:0:0:0:0:0
IF-MIB::ifPhysAddress.4 = STRING:
IF-MIB::ifPhysAddress.5 = STRING:
IF-MIB::ifPhysAddress.6 = STRING: 0:0:0:0:0:0
IF-MIB::ifPhysAddress.7 = STRING:
IF-MIB::ifPhysAddress.8 = STRING:
IF-MIB::ifPhysAddress.9 = STRING:
IF-MIB::ifPhysAddress.10 = STRING:
IF-MIB::ifPhysAddress.11 = STRING: 4:d5:90:12:3:33
IF-MIB::ifPhysAddress.12 = STRING: 4:d5:90:12:3:37
IF-MIB::ifPhysAddress.112 = STRING:
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: down(2)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifAdminStatus.5 = INTEGER: up(1)
IF-MIB::ifAdminStatus.6 = INTEGER: down(2)
IF-MIB::ifAdminStatus.7 = INTEGER: up(1)
IF-MIB::ifAdminStatus.8 = INTEGER: up(1)
IF-MIB::ifAdminStatus.9 = INTEGER: down(2)
IF-MIB::ifAdminStatus.10 = INTEGER: up(1)
IF-MIB::ifAdminStatus.11 = INTEGER: up(1)
IF-MIB::ifAdminStatus.12 = INTEGER: up(1)
IF-MIB::ifAdminStatus.112 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: down(2)
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.5 = INTEGER: up(1)
IF-MIB::ifOperStatus.6 = INTEGER: down(2)
IF-MIB::ifOperStatus.7 = INTEGER: up(1)
IF-MIB::ifOperStatus.8 = INTEGER: up(1)
IF-MIB::ifOperStatus.9 = INTEGER: down(2)
IF-MIB::ifOperStatus.10 = INTEGER: up(1)
IF-MIB::ifOperStatus.11 = INTEGER: up(1)
IF-MIB::ifOperStatus.12 = INTEGER: up(1)
IF-MIB::ifOperStatus.112 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.3 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.4 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.5 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.6 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.7 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.8 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.9 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.10 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.11 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.12 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.112 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 1992972030
IF-MIB::ifInOctets.2 = Counter32: 1741981303
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 105274388
IF-MIB::ifInOctets.6 = Counter32: 0
IF-MIB::ifInOctets.7 = Counter32: 1306752390
IF-MIB::ifInOctets.8 = Counter32: 0
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInOctets.10 = Counter32: 0
IF-MIB::ifInOctets.11 = Counter32: 0
IF-MIB::ifInOctets.12 = Counter32: 2477462658
IF-MIB::ifInOctets.112 = Counter32: 0
IF-MIB::ifInUcastPkts.1 = Counter32: 254372803
IF-MIB::ifInUcastPkts.2 = Counter32: 24027992
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifInUcastPkts.5 = Counter32: 220954154
IF-MIB::ifInUcastPkts.6 = Counter32: 0
IF-MIB::ifInUcastPkts.7 = Counter32: 220952540
IF-MIB::ifInUcastPkts.8 = Counter32: 0
IF-MIB::ifInUcastPkts.9 = Counter32: 0
IF-MIB::ifInUcastPkts.10 = Counter32: 0
IF-MIB::ifInUcastPkts.11 = Counter32: 0
IF-MIB::ifInUcastPkts.12 = Counter32: 11485921
IF-MIB::ifInUcastPkts.112 = Counter32: 0
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.2 = Counter32: 0
IF-MIB::ifInNUcastPkts.3 = Counter32: 0
IF-MIB::ifInNUcastPkts.4 = Counter32: 0
IF-MIB::ifInNUcastPkts.5 = Counter32: 0
IF-MIB::ifInNUcastPkts.6 = Counter32: 0
IF-MIB::ifInNUcastPkts.7 = Counter32: 0
IF-MIB::ifInNUcastPkts.8 = Counter32: 0
IF-MIB::ifInNUcastPkts.9 = Counter32: 0
IF-MIB::ifInNUcastPkts.10 = Counter32: 0
IF-MIB::ifInNUcastPkts.11 = Counter32: 0
IF-MIB::ifInNUcastPkts.12 = Counter32: 0
IF-MIB::ifInNUcastPkts.112 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInDiscards.3 = Counter32: 0
IF-MIB::ifInDiscards.4 = Counter32: 0
IF-MIB::ifInDiscards.5 = Counter32: 0
IF-MIB::ifInDiscards.6 = Counter32: 0
IF-MIB::ifInDiscards.7 = Counter32: 0
IF-MIB::ifInDiscards.8 = Counter32: 0
IF-MIB::ifInDiscards.9 = Counter32: 0
IF-MIB::ifInDiscards.10 = Counter32: 0
IF-MIB::ifInDiscards.11 = Counter32: 0
IF-MIB::ifInDiscards.12 = Counter32: 0
IF-MIB::ifInDiscards.112 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 62162
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifInErrors.4 = Counter32: 0
IF-MIB::ifInErrors.5 = Counter32: 0
IF-MIB::ifInErrors.6 = Counter32: 0
IF-MIB::ifInErrors.7 = Counter32: 0
IF-MIB::ifInErrors.8 = Counter32: 0
IF-MIB::ifInErrors.9 = Counter32: 0
IF-MIB::ifInErrors.10 = Counter32: 0
IF-MIB::ifInErrors.11 = Counter32: 0
IF-MIB::ifInErrors.12 = Counter32: 0
IF-MIB::ifInErrors.112 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.2 = Counter32: 0
IF-MIB::ifInUnknownProtos.3 = Counter32: 0
IF-MIB::ifInUnknownProtos.4 = Counter32: 0
IF-MIB::ifInUnknownProtos.5 = Counter32: 0
IF-MIB::ifInUnknownProtos.6 = Counter32: 0
IF-MIB::ifInUnknownProtos.7 = Counter32: 0
IF-MIB::ifInUnknownProtos.8 = Counter32: 0
IF-MIB::ifInUnknownProtos.9 = Counter32: 0
IF-MIB::ifInUnknownProtos.10 = Counter32: 0
IF-MIB::ifInUnknownProtos.11 = Counter32: 0
IF-MIB::ifInUnknownProtos.12 = Counter32: 0
IF-MIB::ifInUnknownProtos.112 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 4240758150
IF-MIB::ifOutOctets.2 = Counter32: 3460089644
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.5 = Counter32: 443919258
IF-MIB::ifOutOctets.6 = Counter32: 0
IF-MIB::ifOutOctets.7 = Counter32: 3794376167
IF-MIB::ifOutOctets.8 = Counter32: 0
IF-MIB::ifOutOctets.9 = Counter32: 0
IF-MIB::ifOutOctets.10 = Counter32: 60
IF-MIB::ifOutOctets.11 = Counter32: 252
IF-MIB::ifOutOctets.12 = Counter32: 4120315605
IF-MIB::ifOutOctets.112 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 299238616
IF-MIB::ifOutUcastPkts.2 = Counter32: 28542593
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.5 = Counter32: 236127814
IF-MIB::ifOutUcastPkts.6 = Counter32: 0
IF-MIB::ifOutUcastPkts.7 = Counter32: 236127808
IF-MIB::ifOutUcastPkts.8 = Counter32: 0
IF-MIB::ifOutUcastPkts.9 = Counter32: 0
IF-MIB::ifOutUcastPkts.10 = Counter32: 1
IF-MIB::ifOutUcastPkts.11 = Counter32: 3
IF-MIB::ifOutUcastPkts.12 = Counter32: 14668395
IF-MIB::ifOutUcastPkts.112 = Counter32: 0
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.2 = Counter32: 0
IF-MIB::ifOutNUcastPkts.3 = Counter32: 0
IF-MIB::ifOutNUcastPkts.4 = Counter32: 0
IF-MIB::ifOutNUcastPkts.5 = Counter32: 0
IF-MIB::ifOutNUcastPkts.6 = Counter32: 0
IF-MIB::ifOutNUcastPkts.7 = Counter32: 0
IF-MIB::ifOutNUcastPkts.8 = Counter32: 0
IF-MIB::ifOutNUcastPkts.9 = Counter32: 0
IF-MIB::ifOutNUcastPkts.10 = Counter32: 0
IF-MIB::ifOutNUcastPkts.11 = Counter32: 0
IF-MIB::ifOutNUcastPkts.12 = Counter32: 0
IF-MIB::ifOutNUcastPkts.112 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 2
IF-MIB::ifOutDiscards.5 = Counter32: 0
IF-MIB::ifOutDiscards.6 = Counter32: 0
IF-MIB::ifOutDiscards.7 = Counter32: 0
IF-MIB::ifOutDiscards.8 = Counter32: 0
IF-MIB::ifOutDiscards.9 = Counter32: 0
IF-MIB::ifOutDiscards.10 = Counter32: 2
IF-MIB::ifOutDiscards.11 = Counter32: 0
IF-MIB::ifOutDiscards.12 = Counter32: 0
IF-MIB::ifOutDiscards.112 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutErrors.5 = Counter32: 0
IF-MIB::ifOutErrors.6 = Counter32: 0
IF-MIB::ifOutErrors.7 = Counter32: 0
IF-MIB::ifOutErrors.8 = Counter32: 0
IF-MIB::ifOutErrors.9 = Counter32: 2
IF-MIB::ifOutErrors.10 = Counter32: 0
IF-MIB::ifOutErrors.11 = Counter32: 0
IF-MIB::ifOutErrors.12 = Counter32: 0
IF-MIB::ifOutErrors.112 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifOutQLen.4 = Gauge32: 0
IF-MIB::ifOutQLen.5 = Gauge32: 0
IF-MIB::ifOutQLen.6 = Gauge32: 0
IF-MIB::ifOutQLen.7 = Gauge32: 0
IF-MIB::ifOutQLen.8 = Gauge32: 0
IF-MIB::ifOutQLen.9 = Gauge32: 0
IF-MIB::ifOutQLen.10 = Gauge32: 0
IF-MIB::ifOutQLen.11 = Gauge32: 0
IF-MIB::ifOutQLen.12 = Gauge32: 0
IF-MIB::ifOutQLen.112 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.4 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.5 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.6 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.7 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.8 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.9 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.10 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.11 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.12 = OID: SNMPv2-SMI::zeroDotZero.0
IF-MIB::ifSpecific.112 = OID: SNMPv2-SMI::zeroDotZero.0
IP-MIB::ipForwarding.0 = INTEGER: forwarding(1)
IP-MIB::ipDefaultTTL.0 = INTEGER: 64
IP-MIB::ipInReceives.0 = Counter32: 474332063
IP-MIB::ipInHdrErrors.0 = Counter32: 3
IP-MIB::ipInAddrErrors.0 = Counter32: 0
IP-MIB::ipForwDatagrams.0 = Counter32: 252173833
IP-MIB::ipInUnknownProtos.0 = Counter32: 0
IP-MIB::ipInDiscards.0 = Counter32: 0
IP-MIB::ipInDelivers.0 = Counter32: 23926000
IP-MIB::ipOutRequests.0 = Counter32: 387206858
IP-MIB::ipOutDiscards.0 = Counter32: 994
IP-MIB::ipOutNoRoutes.0 = Counter32: 5111734
IP-MIB::ipReasmTimeout.0 = INTEGER: 0 seconds
IP-MIB::ipReasmReqds.0 = Counter32: 21548
IP-MIB::ipReasmOKs.0 = Counter32: 10774
IP-MIB::ipReasmFails.0 = Counter32: 0
IP-MIB::ipFragOKs.0 = Counter32: 10643
IP-MIB::ipFragFails.0 = Counter32: 0
IP-MIB::ipFragCreates.0 = Counter32: 21286
IP-MIB::ipAdEntAddr.10.40.135.1 = IpAddress: 10.40.135.1
IP-MIB::ipAdEntAddr.10.40.135.129 = IpAddress: 10.40.135.129
IP-MIB::ipAdEntAddr.10.50.14.1 = IpAddress: 10.50.14.1
IP-MIB::ipAdEntAddr.10.141.10.58 = IpAddress: 10.141.10.58
IP-MIB::ipAdEntAddr.10.193.135.74 = IpAddress: 10.193.135.74
IP-MIB::ipAdEntAddr.103.180.45.187 = IpAddress: 103.180.45.187
IP-MIB::ipAdEntIfIndex.10.40.135.1 = INTEGER: 7
IP-MIB::ipAdEntIfIndex.10.40.135.129 = INTEGER: 10
IP-MIB::ipAdEntIfIndex.10.50.14.1 = INTEGER: 11
IP-MIB::ipAdEntIfIndex.10.141.10.58 = INTEGER: 2
IP-MIB::ipAdEntIfIndex.10.193.135.74 = INTEGER: 1
IP-MIB::ipAdEntIfIndex.103.180.45.187 = INTEGER: 12
IP-MIB::ipAdEntNetMask.10.40.135.1 = IpAddress: 255.255.255.128
IP-MIB::ipAdEntNetMask.10.40.135.129 = IpAddress: 255.255.255.224
IP-MIB::ipAdEntNetMask.10.50.14.1 = IpAddress: 255.255.255.128
IP-MIB::ipAdEntNetMask.10.141.10.58 = IpAddress: 255.255.255.252
IP-MIB::ipAdEntNetMask.10.193.135.74 = IpAddress: 255.255.255.248
IP-MIB::ipAdEntNetMask.103.180.45.187 = IpAddress: 255.255.255.255
IP-MIB::ipAdEntBcastAddr.10.40.135.1 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.10.40.135.129 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.10.50.14.1 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.10.141.10.58 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.10.193.135.74 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.103.180.45.187 = INTEGER: 1
IP-MIB::ipAdEntReasmMaxSize.10.40.135.1 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.10.40.135.129 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.10.50.14.1 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.10.141.10.58 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.10.193.135.74 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.103.180.45.187 = INTEGER: 65535
IP-MIB::ip.21.1.1.1.22.36.224 = IpAddress: 1.22.36.224
IP-MIB::ip.21.1.1.3.7.26.82 = IpAddress: 3.7.26.82
IP-MIB::ip.21.1.1.10.0.1.0 = IpAddress: 10.0.1.0
IP-MIB::ip.21.1.1.10.0.50.112 = IpAddress: 10.0.50.112
IP-MIB::ip.21.1.1.10.0.50.120 = IpAddress: 10.0.50.120
IP-MIB::ip.21.1.1.10.0.65.57 = IpAddress: 10.0.65.57
IP-MIB::ip.21.1.1.10.0.67.18 = IpAddress: 10.0.67.18
IP-MIB::ip.21.1.1.10.0.67.39 = IpAddress: 10.0.67.39
IP-MIB::ip.21.1.1.10.0.67.53 = IpAddress: 10.0.67.53
IP-MIB::ip.21.1.1.10.0.67.57 = IpAddress: 10.0.67.57
IP-MIB::ip.21.1.1.10.0.67.166 = IpAddress: 10.0.67.166
IP-MIB::ip.21.1.1.10.10.1.0 = IpAddress: 10.10.1.0
IP-MIB::ip.21.1.1.10.10.2.0 = IpAddress: 10.10.2.0
IP-MIB::ip.21.1.1.10.10.3.0 = IpAddress: 10.10.3.0
IP-MIB::ip.21.1.1.10.10.8.0 = IpAddress: 10.10.8.0
IP-MIB::ip.21.1.1.10.10.9.0 = IpAddress: 10.10.9.0
IP-MIB::ip.21.1.1.10.10.12.0 = IpAddress: 10.10.12.0
IP-MIB::ip.21.1.1.10.10.14.0 = IpAddress: 10.10.14.0
IP-MIB::ip.21.1.1.10.10.16.0 = IpAddress: 10.10.16.0
IP-MIB::ip.21.1.1.10.10.18.0 = IpAddress: 10.10.18.0
IP-MIB::ip.21.1.1.10.10.18.128 = IpAddress: 10.10.18.128
IP-MIB::ip.21.1.1.10.10.20.0 = IpAddress: 10.10.20.0
IP-MIB::ip.21.1.1.10.10.21.0 = IpAddress: 10.10.21.0
IP-MIB::ip.21.1.1.10.10.33.0 = IpAddress: 10.10.33.0
IP-MIB::ip.21.1.1.10.10.34.0 = IpAddress: 10.10.34.0
IP-MIB::ip.21.1.1.10.10.35.0 = IpAddress: 10.10.35.0
IP-MIB::ip.21.1.1.10.10.52.0 = IpAddress: 10.10.52.0
IP-MIB::ip.21.1.1.10.10.56.32 = IpAddress: 10.10.56.32
IP-MIB::ip.21.1.1.10.10.56.224 = IpAddress: 10.10.56.224
IP-MIB::ip.21.1.1.10.10.70.0 = IpAddress: 10.10.70.0
IP-MIB::ip.21.1.1.10.10.76.0 = IpAddress: 10.10.76.0
IP-MIB::ip.21.1.1.10.10.78.0 = IpAddress: 10.10.78.0
IP-MIB::ip.21.1.1.10.10.81.0 = IpAddress: 10.10.81.0
IP-MIB::ip.21.1.1.10.10.82.0 = IpAddress: 10.10.82.0
IP-MIB::ip.21.1.1.10.10.83.0 = IpAddress: 10.10.83.0
IP-MIB::ip.21.1.1.10.10.84.0 = IpAddress: 10.10.84.0
IP-MIB::ip.21.1.1.10.10.85.0 = IpAddress: 10.10.85.0
IP-MIB::ip.21.1.1.10.10.86.0 = IpAddress: 10.10.86.0
IP-MIB::ip.21.1.1.10.10.87.0 = IpAddress: 10.10.87.0
IP-MIB::ip.21.1.1.10.10.88.0 = IpAddress: 10.10.88.0
IP-MIB::ip.21.1.1.10.10.89.0 = IpAddress: 10.10.89.0
IP-MIB::ip.21.1.1.10.10.90.0 = IpAddress: 10.10.90.0
IP-MIB::ip.21.1.1.10.10.91.0 = IpAddress: 10.10.91.0
IP-MIB::ip.21.1.1.10.10.92.0 = IpAddress: 10.10.92.0
IP-MIB::ip.21.1.1.10.10.93.0 = IpAddress: 10.10.93.0
IP-MIB::ip.21.1.1.10.10.95.0 = IpAddress: 10.10.95.0
IP-MIB::ip.21.1.1.10.10.96.0 = IpAddress: 10.10.96.0
IP-MIB::ip.21.1.1.10.10.98.0 = IpAddress: 10.10.98.0
IP-MIB::ip.21.1.1.10.10.99.0 = IpAddress: 10.10.99.0
IP-MIB::ip.21.1.1.10.10.100.0 = IpAddress: 10.10.100.0
IP-MIB::ip.21.1.1.10.10.101.0 = IpAddress: 10.10.101.0
IP-MIB::ip.21.1.1.10.10.102.0 = IpAddress: 10.10.102.0
IP-MIB::ip.21.1.1.10.10.103.0 = IpAddress: 10.10.103.0
IP-MIB::ip.21.1.1.10.10.105.0 = IpAddress: 10.10.105.0
^C
[root@localhost ~]#
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Both devices are working with V3 and 256 bit settings of AES and SHA on PRTG monitoring.
Attachments
Untitled1.png
Untitled1.png (58.7 KiB) Viewed 444 times
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Need help in SNMP V3 configuration

Post by macan »

you can try deinstall php-snmp module. There is fallback to Netsnmp.
Let the Cacti grow!
Rno
Cacti Pro User
Posts: 658
Joined: Wed Dec 07, 2011 9:19 am

Re: Need help in SNMP V3 configuration

Post by Rno »

if I'm right it's not recommended to use php-snmp for snmp V3
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
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Sir I am new to Linux. I tried to get information, to the best of my knowledge. If you need to know anything specific, kindly share the command.

I found that PHP needs to be upgraded, as per your recommendation. Also, PHP-SNMP was replaced by NET-SNMP 5.8 earlier.

*************************************************** OUTPUTS **********************************************************

[root@localhost ~]# php -v
PHP 7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
[root@localhost ~]#


[root@localhost ~]# cat /etc/redhat-release
CentOS Stream release 8
[root@localhost ~]# cat /etc/centos-release
CentOS Stream release 8
[root@localhost ~]#

[root@localhost ~]# mariadb -V
bash: mariadb: command not found...
[root@localhost ~]# systemctl status mariadb
Unit mariadb.service could not be found.
[root@localhost ~]#

[root@localhost ~]# spine -v
bash: spine: command not found...
[root@localhost ~]# whereis spine
spine:
[root@localhost ~]# locate spine
/var/www/html/cacti/docs/images/settings-poller-spine.png
/var/www/html/cacti/docs/images/spine-debug-gui.png
/var/www/html/cacti/docs/images/spine-parameters.png
[root@localhost ~]#


[root@localhost ~]# rpm -qa |grep net-snmp
net-snmp-agent-libs-5.8-29.el8.x86_64
net-snmp-libs-5.8-29.el8.x86_64
net-snmp-devel-5.8-29.el8.x86_64
net-snmp-5.8-29.el8.x86_64
net-snmp-perl-5.8-29.el8.x86_64
net-snmp-utils-5.8-29.el8.x86_64
[root@localhost ~]#

[root@localhost ~]# rpm -qa |grep spine
[root@localhost ~]# rpm -qa |grep RRD
[root@localhost ~]# rpm -qa |grep thold
[root@localhost ~]# rpm -qa |grep monitor
gnome-system-monitor-3.28.2-1.el8.x86_64

[root@localhost ~]# rpm -qa |grep syslog
rsyslog-gnutls-8.2102.0-15.el8.x86_64
pcp-pmda-rsyslog-5.3.7-19.el8.x86_64
rsyslog-relp-8.2102.0-15.el8.x86_64
rsyslog-8.2102.0-15.el8.x86_64
rsyslog-gssapi-8.2102.0-15.el8.x86_64

[root@localhost ~]# rpm -qa |grep flowview

[root@localhost ~]# rpm -qa |grep weathermap
[root@localhost ~]#
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Also, MySQL is installed.

[root@localhost ~]# rpm -qa |grep sql
mysql-server-8.0.26-1.module_el8.4.0+915+de215114.x86_64
pcp-pmda-mssql-5.3.7-19.el8.x86_64
mysql-errmsg-8.0.26-1.module_el8.4.0+915+de215114.x86_64
mysql-8.0.26-1.module_el8.4.0+915+de215114.x86_64
pcp-pmda-mysql-5.3.7-19.el8.x86_64
mysql-libs-8.0.26-1.module_el8.4.0+915+de215114.x86_64
pcp-pmda-postgresql-5.3.7-19.el8.x86_64
sqlite-3.26.0-19.el8.x86_64
mysql-common-8.0.26-1.module_el8.4.0+915+de215114.x86_64
php-mysqlnd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
mysql-devel-8.0.26-1.module_el8.4.0+915+de215114.x86_64
sqlite-libs-3.26.0-19.el8.x86_64
[root@localhost ~]#
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

[root@localhost ~]# php -v
PHP 7.4.30 (cli) (built: Jun 7 2022 08:38:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
[root@localhost ~]#

After Installing php 7.4.30 on server, error has changed as below:

N2339 | SHA 256 - AES 256 (10.xx.xx.18)
SNMP Information
System SNMP error - SNMP::get(): Fatal error: Timeout
Ping Results
ICMP ping Timed out

Error log attached
Attachments
Capture.JPG
Capture.JPG (121.52 KiB) Viewed 277 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest