[mrtg] how to echo system.sysDescr.0 in the output html

Steve Shipway s.shipway at auckland.ac.nz
Thu Oct 15 00:13:35 CEST 2009


> I want to echo the current value for system.sysDescr.0 into the html
> output
> file but cannot get it to work.
> In fact i don't know how to get it done :)

You could set up code to extract this value and put it into the PageTop or PageFoot and put this into a host template that you use with cfgmaker when you create the .cfg file for MRTG.  

There's no way to get it to be polled and output in addition to the data.

There are new features in v2.21beta2 of the Routers2 frontend to allow generic OIDs or output from external scripts to be added as symbols in headers and footers, which would achieve what you want, but this is not yet in production.

Steve



More information about the mrtg mailing list