Linux-Noob Forums

Full Version: NET-SNMP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I installed net-snmp on my SlackWare . An I dont know howto config it ? and hot tu use it somone can help ??

 

I olredy tried the net-snmp home page bat ther is mor about mibs not about how to configure it .


Hi,

 

usualy the configuration file should be at /etc/snmp/snmpd.conf, depeding on what you need for SNMP to monitor you will modify that file. If you wish just local interfaces graphics with mrtg you need to configure snmpd.conf like this :

 

rocommunity rocom 127.0.0.1

syslocation "my hope b0x"

syscontact root@localhost.localdomain

 

(re)start net-snmp

 

you can create the mrtg configuration like this

cfgmaker --global "WorkDir: /var/www/html/mrtg/" \

--global "Options[_]: growright,bits" --show-op-down \

rocom@127.0.0.1 > mrtg.cfg

 

P.S. you will need to add mrtg to cron

 

Hope thats what you needed.