[mrtg] Help with MRTG.cfg

Brian Chernish BChernish at AscentMRO.com
Tue Jun 16 07:11:55 CEST 2020


Hello,

I am an absolute "newbie" trying to configure MRTG to produce statistics for a Cisco 3750 switch.

I got through  the basic configuration and now have web pages for the various interfaces on my switch and an index page to consolidate them.

Now I would like to add Cisco environmental information (in particular various chassis temperatures).

After a bunch of Google searches I came up with the following which creates the web page but does not seem to pull the actual data from the switch.

Any assistance in helping me understand where I am going wrong would be appreciated.

Brian

### Try To get Temp ###
#Target[10.100.214.3]: 1.3.6.1.2.1.2.2.1.14.1&1.3.6.1.2.1.2.2.1.20.1:public at 10.100.214.3
#===============================================================================
Target[10.100.214.3]: 1.3.6.1.2.1.2.2.1.14.1&1.3.6.1.2.1.2.2.1.20.1:public at 10.100.214.3
MaxBytes[10.100.214.3]: 1400
Unscaled[10.100.214.3]:  dwmy
YLegend[10.100.214.3]: Temperature(Deg. C)
ShortLegend[10.100.214.3]: Deg. C
Factor[10.100.214.3]: .05
Xsize[10.100.214.3]: 600
Ysize[10.100.214.3]: 200
Ytics[10.100.214.3]: 10
YTicsFactor[10.100.214.3]: 0.5
LegendI[10.100.214.3]: Internal Temperature  
LegendO[10.100.214.3]: Internal Temperature  
Legend1[10.100.214.3]: Deg. F
Legend2[10.100.214.3]: Deg. F
Options[10.100.214.3]: gauge,nopercent
Title[10.100.214.3]: Internal Temperature
PageTop[10.100.214.3]: <H1> Internal Temperature </H1>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20200616/5cf059e0/attachment.html>


More information about the mrtg mailing list