# add [non-free] to each line
deb http://deb.debian.org/debian/ trixie main non-free-firmware non-free
deb http://security.debian.org/debian-security trixie-security main non-free-firmware non-free
deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware non-free
deb http://deb.debian.org/debian/ trixie-backports main non-free-firmware non-free
root@node01:~#
root@node01:~# apt -y install snmp snmpd snmp-mibs-downloader
# line 4 : comment out
# mibs :
# line 49 : change agentaddress
agentaddress 10.0.0.51
# line 71,72 : comment out and add a line
# change [Serverworld] to your any community name
# change [10.0.0.0/24] to your localnetwork
#rocommunity public default -V systemonly
#rocommunity6 public default -V systemonly
rocommunity Serverworld localhost
rocommunity Serverworld 10.0.0.0/24
rocommunity6 Serverworld localhost
# validation : replace [Serverworld] to the comunity name you set
root@node01:~# snmpwalk -v 2c -c Serverworld 10.0.0.51 system
SNMPv2-MIB::sysDescr.0 = STRING: Linux node01.srv.world 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2290) 0:00:22.90
SNMPv2-MIB::sysContact.0 = STRING: Me <me@example.org>
SNMPv2-MIB::sysName.0 = STRING: node01.srv.world
SNMPv2-MIB::sysLocation.0 = STRING: Sitting on the Dock of the Bay
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
.....
.....
|