[mrtg-developers] Newbie - How to develop additional perl scripts using MRTG SNMP libraries

Barry_Young at interliant.com Barry_Young at interliant.com
Mon Dec 31 14:23:05 MET 2001


I've used off-the-shelf MRTG for several years graphing various OIDs, no
complaints, great product and all that !!   However, rather than just
graphing statistics, I would like to extend this to generate some HTML
pages that contain textual OIDs.  For example a list of router/switch
interface details (descr, status, speed etc).

Is there a document/FAQ that could assist me with kicking off writing a
perl script to do this, alternatively could some kind soul provide the
skeleton approach that I would need to take.  I had a look in the contrib
directory for some guidance but didn't see anything of this nature.

I am using MRTG 2.9.17 with ActivePerl 5.6.1 on a W2K platform (yes
apologies to all Unix gurus).  I assume that I would need some basic
"include" statements in my perl script to call the MRTG SNMP libraries.
Then I would need to walk the ifTable and extract the appropriate OIDs
creating and populating the HTML as I go.  Am I close or too far from the
mark to comment?

Sorry if this seems basic to you guys, but I'd really appreciate some
guidance.

Thanks, regards and a happy new year to all.....

__________________________________________________________
This message contains information intended only for named recipients.
If you have received this message in error, please delete it from your
system and notify the sender immediately by e-mail.
Information transmission via email cannot be guaranteed to be secure or
error-free. The sender does not accept liability for errors or omissions in
the contents of this message arising as a result of e-mail transmission
problems.


--
Unsubscribe mailto:mrtg-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers



More information about the mrtg-developers mailing list