[mrtg] Re: SNMP & FreeBSD

Mark Rowlands mark.rowlands at minmail.net
Mon Feb 26 20:52:08 MET 2001


On Monday 26 February 2001 17:34, you wrote:
> I am trying to monitor a FreeBSD machine with MRTG.  Well come to find out
> there was no SNMP agent installed.  So I installed ucd-snmp, but I am stuck
> on making the snmpd.conf file.  I have looked at the EXAMPLE.conf file
> included, but being fairly new to unix environments, don't quite understand
> it.
>
> Can anyone using this send me their file, obviously changing the
> important/security risk entry to bogus ones.
>
> Thanks
>
>

snmpget localhost  yourpasswd .1.3...........   will give the name of the oid

###########################################################################
#
# snmpd.conf
#
#  
#
###########################################################################
# SECTION: System Information Setup

syslocation  edsberg
sysservices 79
syscontact  mark.rowlands at minmail.net
#  The results are reported in the laTable section of the UCD-SNMP-MIB tree

load  15 10 5

disk  / 10%
disk  /spare 10%
disk  /usr 12%
disk  /var 12%

this gives on my machine

disk percentage used : oids 

.1.3.6.1.4.1.2021.9.1.9.1
.1.3.6.1.4.1.2021.9.1.9.2
.1.3.6.1.4.1.2021.9.1.9.3 
.1.3.6.1.4.1.2021.9.1.9.4 
 
Average load over 5/10/15 minutes oids
.1.3.6.1.4.1.2021.10.1.5.1   
.1.3.6.1.4.1.2021.10.1.5.2 
.1.3.6.1.4.1.2021.10.1.5.3 

Some others of interest :

all the memory usage type stuff

.1.3.6.1.4.1.2021.4.6.0 
.1.3.6.1.4.1.2021.4.4.0
.1.3.6.1.4.1.2021.4.3.0
.1.3.6.1.4.1.2021.4.14.0 
.1.3.6.1.4.1.2021.4.15.0
.1.3.6.1.4.1.2021.4.13.0
.1.3.6.1.4.1.2021.4.11.0
.1.3.6.1.4.1.2021.11.11.0
.1.3.6.1.4.1.2021.11.10.0

network interface i/o oids

.1.3.6.1.2.1.2.2.1.16.1 
.1.3.6.1.2.1.2.2.1.10.1 
.1.3.6.1.2.1.2.2.1.16.2 
.1.3.6.1.2.1.2.2.1.10.2























>
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list