[mrtg] hi
Steve Shipway
s.shipway at auckland.ac.nz
Wed Jan 19 21:35:59 CET 2011
We use a custom plugin for MRTG to do this; the latest Cisco MIB shows that temperature is reported for each and every module, so there is no individual OID to graph. Instead, we walk the tree, and graph the highest.
The plugin is attached (it is in Perl); this plugin also works with Nagios. This is the template we use:
Target[temperature]: `check_ciscotemp -M -H hostname -C community`
Title[temperature]: Device Temperature
MaxBytes[temperature]: 100
PageTop[temperature]: null
LegendI[temperature]: cisco:
Options[temperature]: gauge growright noo
Ylegend[temperature]: Centigrade
ShortLegend[temperature]: C
Legend1[temperature]: Device temperature
Legend3[temperature]: Peak device temperature
SetEnv[temperature]: MRTG_INT_DESCR="Temperature"
routers.cgi*Options[temperature]: nopercent nototal nomax scaled fixunit
routers.cgi*Icon[temperature]: temp-sm.gif
routers.cgi*InCompact[temperature]: no
routers.cgi*InSummary[temperature]: yes
Steve
________________________________
Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz<mailto:s.shipway at auckland.ac.nz>
P Please consider the environment before printing this e-mail
From: mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch [mailto:mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On Behalf Of Ivan Palacios
Sent: Thursday, 20 January 2011 6:12 a.m.
To: mrtg at lists.oetiker.ch
Subject: [mrtg] hi
hi i need to know the configuration of mrtg for monitoring temperature in cisco router
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20110119/ed80212a/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_ciscotemp
Type: application/octet-stream
Size: 3093 bytes
Desc: check_ciscotemp
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20110119/ed80212a/attachment-0001.obj
More information about the mrtg
mailing list