Date: Tue, 27 May 2003 16:32:22 -0700 From: "Derrick Ryalls" <ryallsd@datasphereweb.com> To: <toni@stderror.at>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Machine statistics -Solved Message-ID: <015301c324a8$3c206ed0$0200a8c0@bartxp> In-Reply-To: <20030527085159.GB60276@devil.stderror.at>
index | next in thread | previous in thread | raw e-mail
> > put this minimal snmpd.conf in /usr/local/share/snmpd.conf: > > ******************************* > syslocation your localtion > syscontact you@yourdomain.tld > sysname your.system.name.tld > rwcommunity password > rocommunity otherpassword > agentaddress udp:161@127.0.0.1,tcp:161@127.0.0.1 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 otherpassword@localhost >> /usr/local/etc/mrtg/mrtg.cfg > > and > > indexmaker --title "MRTG@yourhost" --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 | >help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?015301c324a8$3c206ed0$0200a8c0>
