SNMP

From Edgar BV Wiki
Revision as of 08:01, 1 April 2019 by Red (talk | contribs) (Created page with "run snmpconf /etc/default/snmpd get rid of 127.0.0.1 /etc/snmp/snmpd.conf should have at least the following: <pre> rocommunity public default -V systemonly rocommunity...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

run snmpconf

/etc/default/snmpd get rid of 127.0.0.1

/etc/snmp/snmpd.conf should have at least the following:

 rocommunity public  default    -V systemonly
rocommunity  euhostro

to define the community and

agentAddress
agentaddress

in order to allow the daemon to listen to all IP adresses instead of only localhost

test with

snmpwalk -v1 -c euhostro localhost

then from another server:

snmpwalk -v1 -c euhostro IPADRESS