[SOLVED] SNMP not reachable

sysoevik

New Member
Mar 30, 2023
8
2
3
Most probably i'm posting an extremly stupid question, however i seek help:
I use observium for monitoring ststus of my servers, today i installed snmpd on backup server and configured snmp v3 user, however i can not add backup server on observium.

I tested snmp localy with:
snmpwalk -v3 -u admin -l authPriv -a MD5 -A secret -x AES -X passphrase 127.0.0.1

it works

But when I test it wiyj it's local adress 192.168.0.106:
snmpwalk -v3 -u admin -l authPriv -a MD5 -A secret -x AES -X passphrase 192.168.0.106
I get:
snmpwalk: Timeout

I gues I need to open port 161 to UDP, but i don't know how to, from what i see nft is disabled by default, SO

The question is, how do i open port 161 on PBS, and where firewall ruleset is stored, and how it's managed ?
 
Yep, editing snmpd.conf solved the problem, thought default was to listen on all interfaces, and when setting up snmpd on pve it was true, (or i missrember it).For anyone who is reading this later solution is to chage 'agentadress' in snmpd.conf
 
  • Like
Reactions: MroxPox and Moayad