[mrtg] Monitoring Windows disk free space and named OID's

Amos Shapira amos.shapira at gmail.com
Thu Mar 22 01:10:01 CET 2007


On 22/03/07, Stuart Kendrick <skendric at fhcrc.org> wrote:
> hi amos,
>
> i really like the idea of using Object Values instead of OIDs ... but as
> i say, i've had trouble stringing together the MIB dependencies
>
> still, if you're just using MIB-II and HOST-RESOURCES-MIB, perhaps you
> can pull it off ... i seem to recall doing just that, for a while ...
> but then i started adding Cisco gear and Nokia gear and Altiga gear ...
> and although i thought i had all this MIB dependencies worked out and
> listed on my LoadMIBs: line, i still ran into errors

I wonder whether it's possible to get the info from MRTG on what it
failed to find...

>
> yes, snmptranslate is our friend ...
>
> anyway, how about yanking that leading dot in the Target line?
>
> Target[IP_DriveC]: hrStorageSize.1:community at IP -
> hrStorageUsed.1:community at IP

That was my first attempt - the dot was added later when it didn't
work without it.

Anyway - my bigger concern now is having to duplicate so much
configuration for each host and each interface. I wish there was some
Nagios2-style "template" and "class" configuration that could allow me
to say "this host runs Windows SNMP - yank THESE values from it and
graph them THAT way". (or maybe there is already something to do
that?)

Cheers,

--Amos



More information about the mrtg mailing list