Re: Snmpd.conf simple config

Home Page Forums Network Management ZeroShell SNMP and MRTG traffic statistics Re: Snmpd.conf simple config

#47801

aseques
Member

Setting this in the snmpd.conf just works and it’s simple (4 lines), secure (read only access), and private (can only be accessed from your remote server)

Install

cd /Database
wget http://www.zeroshell.net/listing/net-snmp-5.4.2.1-zs.tgz
tar xvfz net-snmp-5.4.2.1-zs.tgz

Config in /Database/opt/x.x/packages/share/snmp/snmpd.conf

#Name of ro community and the authorized IP
rocommunity zscom 123.123.123.123

syslocation "Location"
syscontact mailbox@example.com

disk / 10%

Remember that you will have to add the startup scripts that tamws posted in /Database/var/register/system/startup/rc.pre

# Start the SNMP Service
SNMPCONFPATH=/Database/opt/x.x/packages/share/snmp/
/Database/opt/x.x/packages/sbin/snmpd