[mrtg] Re: Setting the systemname as title in indexmaker

Matt Mozur matt.mozur at sourwood.net
Tue Jan 7 15:34:56 MET 2003

On Tue, 7 Jan 2003, Alexander Bjelke wrote:

> I want to set the snmp systemname as title (--title flag) for the page
> that indexmaker creates, how can i do this?
> regards
> Alexander Bjelke
This might do what you want:

indexmaker --title `snmpget -Ov -v 1 -c public hostname sysName.0 \
 | cut -d: -f2 ` mrtg.cfg


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list