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: [email protected]<mailto:[email protected]> P Please consider the environment before printing this e-mail From: [email protected] [mailto:[email protected]] On Behalf Of Ivan Palacios Sent: Thursday, 20 January 2011 6:12 a.m. To: [email protected] Subject: [mrtg] hi hi i need to know the configuration of mrtg for monitoring temperature in cisco router
check_ciscotemp
Description: check_ciscotemp
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
