Anthony Lai wrote: > I wish to use MRTG to monitor the disk space of several Sun > Solaris Servers (running Solaris 8). Has anyone seen or done > this? I am interested in OIDs, but any examples of solaris > monitoring would be helpful. I tried searching for this > topic, but I have not seen anything worthwhile.
I'm using net-snmp 5.0.6 on Sol9 and get the data from enterprises.ucdavis.dskTable.dskEntry (.1.3.6.1.4.1.2021.9.1) oids. The dskTotal.<instance>, dskAvail.<instance> and dskUsed.<instance> values report in kilobytes. I've found that multiplying the snmp value by 1024 and using kilo[_]: 1024 in mrtg.cfg gives you more accurate graphs. Below is the portion of mrtg.cfg used to collect root fs used and total space for my sol9 box. # Root fs Used and total disk space Target[rootfs]: \ .1.3.6.1.4.1.2021.9.1.8.1&.1.3.6.1.4.1.2021.9.1.6.1:<CommStr>@<host>:\ * 1024 SetEnv[rootfs]: MRTG_INT_IP="10.1.1.1" MRTG_INT_DESCR="/ fs" Options[rootfs]: gauge,absolute kilo[rootfs]: 1024 Title[rootfs]: / filesystem # This value comes from .1.3.6.1.4.1.2021.9.1.6.1 multiplied by 1024 MaxBytes[rootfs]: 2103188480 YLegend[rootfs]: / used in Bytes ShortLegend[rootfs]: B Legend1[rootfs]: Used Space Legend2[rootfs]: Total Filesystem Size LegendI[rootfs]: Used: LegendO[rootfs]: Cap : PageTop[rootfs]: <H1>/ filesystem</H1> > In addition, I have seen people replace the MRTG graph > with a bar graph to summarize the data. How can i do > this too. routers2.cgi can show you graphs like this, but then you also need to be using rrdtool to store the data and have the GD perl lib installed for routers2.cgi to generate the graphs routers2.cgi: http://www.cheshire.demon.co.uk/pub/ rrdtool: http://rrdtool.eu.org HTH, Don -- Thanks, Don Harvie Ph +61 2 9882 5963 Snr Network & Firewall Engineer, Fax +61 2 9882 5993 Telstra Internetworking Solutions Mob +61 417 411 427 Level 3, 112 Talavera Rd Email [EMAIL PROTECTED] North Ryde NSW 2113 [EMAIL PROTECTED] (personal) Australia -- Unsubscribe mailto:[EMAIL PROTECTED] 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
