[mrtg] Re: MaxBytes changing???

DANIEL MAGNUSZEWSKI dmagnuszewski at mandtbank.com
Tue Jul 6 17:19:56 MEST 2004


Britt,

I'm not sure if I'm understanding you correctly, but it seems to me
that you are looking for a way to make SNMP queries from your html? If
so, you should check out this Perl module:

http://search.cpan.org/~rigbyc/Apache-WebSNMP-0.11/lib/Apache/WebSNMP.pm

Otherwise, I'd say to write a script that used SNMP to gather the data
and have the script create the output using a template and filling in
the variables. That way you can run the script against a few different
hosts and have it create output custom for each host's SNMP info.

Hopefully this is what you're looking for.

Daniel Magnuszewski
CCNA
M & T Bank
dmagnuszewski at mandtbank.com

>>> "Britt Tabor" <Britt_Tabor at Jabil.com> 7/6/2004 10:35:34 AM >>>
I am trying to use templates to make some html changes on my pages.
That all
works great no problems but I am running into a small problem with
MaxBytes.
I am monitoring memory usage on some servers and the RAM size is
different
in each one. MaxBytes in the template file has to be a number it can't
be a
reference to an OID or at least it gives me an error when I try. So how
can
I vary MaxBytes or define it or better yet reference the OID on each
server
and use that?
 

 

 

Britt Tabor

I.T. Infrastructure Engineer

 

 



--
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