> > put this minimal snmpd.conf in /usr/local/share/snmpd.conf: > > ******************************* > syslocation your localtion > syscontact [EMAIL PROTECTED] > sysname your.system.name.tld > rwcommunity password > rocommunity otherpassword > agentaddress udp:[EMAIL PROTECTED],tcp:[EMAIL PROTECTED]
It worked with agentaddress 127.0.0.1 and putting the file in the correct place. Thanks. > > # trap configuration > authtrapenable 1 > trapcommunity otherotherpassword > trapsink localhost > trap2sink localhost > ******************************* > > then restart snmpd. try the following command: > > snmpget localhost otherpassword .1.3.6.1.2.1.25.1.5.0 > > you should get: > > host.hrSystem.hrSystemNumUsers.0 = Gauge32: 2 > > now run: > > cfgmaker [EMAIL PROTECTED] >> /usr/local/etc/mrtg/mrtg.cfg > > and > > indexmaker --title "[EMAIL PROTECTED]" --output > /usr/local/www/data/mrtg/index.html /usr/local/etc/mrtg/mrtg.cfg > > then run "mrtg /usr/local/etc/mrtg/mrtg.cfg" three times, > after the last run there should be no warnings. > > hopefully you have apache installed, then direct your browser > to http://yourhost/mrtg/ > > i would also recommend reading the excellent "Essential SNMP". > (http://www.oreilly.com/catalog/esnmp/) > > hth, > toni > -- > Behandle die Menschen, als wären sie, was sie sein | toni at > stderror dot at sollten, und du wirst ihnen helfen, zu > werden, was | Toni Schmidbauer > sie sein können. - Johann Wolfgang von Goethe | > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"