[mrtg] Re: How can I graph the following?
Mike Deal
miked at icopyright.com
Tue May 23 19:33:33 MEST 2000
Attached are my scripts...
Here is what I put into ucd-snmp's snmpd.conf
exec memuse /bin/sh /etc/snmp/mem.sh
exec swapuse /bin/sh /etc/snmp/swap.sh
exec psnumber /bin/sh /etc/snmp/psnumber.sh
exec pshttp /bin/sh /etc/snmp/pshttp.sh
exec netstat /bin/sh /etc/snmp/netstat.sh
exec badsock /bin/sh /etc/snmp/badsockets.sh
exec cputotal /bin/sh /etc/snmp/cputotal.sh
exec cpu0 /bin/sh /etc/snmp/cpu0.sh
exec cpu1 /bin/sh /etc/snmp/cpu1.sh
exec diskrblk /bin/sh /etc/snmp/diskrblk.sh
exec diskwblk /bin/sh /etc/snmp/diskwblk.sh
Which gives me something like:
root # /usr/local/bin/snmpwalk localhost public .1.3.6.1.4.1.2021.8.1.101
enterprises.ucdavis.extTable.extEntry.extOutput.1 = 25788
enterprises.ucdavis.extTable.extEntry.extOutput.2 = 3384
enterprises.ucdavis.extTable.extEntry.extOutput.3 = 46
enterprises.ucdavis.extTable.extEntry.extOutput.4 = 12
enterprises.ucdavis.extTable.extEntry.extOutput.5 = 22
enterprises.ucdavis.extTable.extEntry.extOutput.6 = 8
enterprises.ucdavis.extTable.extEntry.extOutput.7 = 35190872
enterprises.ucdavis.extTable.extEntry.extOutput.8 =
enterprises.ucdavis.extTable.extEntry.extOutput.9 =
enterprises.ucdavis.extTable.extEntry.extOutput.10 = 47985728
enterprises.ucdavis.extTable.extEntry.extOutput.11 = 62913430
If you noticed there is nothing for 8 or 9. That is because this is a
single cpu box.
--MikeD
Mike Deal
Network Engineer, iCopyright.com
425.430.4555 x692 (voice) 425.430.8878 (fax)
http://www.iCopyright.com
[ Part 2, "" Application/OCTET-STREAM (Name: "scripts.tar") 28KB. ]
[ Unable to print this part. ]
On Tue, 23 May 2000, Mark Milano wrote:
> Right, UpTime is not really nessesary, but Disk usage vs. Disk Total and
> Memory usage vs. Memory total, those are important and I would like to know
> how to graph them.
>
> Mark
> :)
>
> -----Original Message-----
> From: Barry Irwin [mailto:bvi-mrtg-list at rucus.ru.ac.za]
> Sent: Tuesday, May 23, 2000 9:40 AM
> To: Mark Milano
> Cc: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: How can I graph the following?
>
>
> On Tue 2000-05-23 (08:47), Mark Milano wrote:
> > I need to graph such things as UpTime, Memory usage, Disk I/O, etc....
> > I think I have all the OID numbers such as .1.3.6.1.4.1.42.....
> >
> > I need to know how I can generate the pretty HTML graphs for them.
> erm how are you planning to graph uptime ? even if the OID gave the number
> of seconds/minutes etc since boot, your graph would be a flat line, since
> its basically a binary state, would really only be usefull for noting
> extended outages.
>
> You dont necessarily need to use the OID's if you can actually use an
> external data gatherer for the data you are interested in. This is mostly
> usefull if mrtg is running on the same machine as being monitored.
>
> Barry
> --
> --------------------------------------------------------------------------
> Barry Irwin IRC: balin at zanet (#linux)
> bvi at moria.org http://rucus.ru.ac.za/~bvi
> Whois BI414 - PMPN8EZ - http://moria.org
> --------------------------------------------------------------------------
>
> --
> 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
>
> --
> 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
>
Mike Deal
Network Engineer, iCopyright.com
425.430.4555 x692 (voice) 425.430.8878 (fax)
http://www.iCopyright.com
-- Attached file removed by Listar and put at URL below --
-- Type: APPLICATION/octet-stream
-- Size: 20k (20480 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/scripts.tar
--
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
More information about the mrtg
mailing list