[mrtg] new tags

Steve Shipway s.shipway at auckland.ac.nz
Sun Jun 14 03:46:52 CEST 2009


If you want ot add your own extended directives to the MRTG .cfg files, the official way to do it is to use a prefix of <your-application-name>*.  So, for example, the routers2 package uses new directives like:

routers.cgi*Graph[xxxx]: yyyyyyy
routers.cgi*Options[xxxx]: yyyyy
routers.cgi*Icon: xxxxxxx

and so on.  If a directive contains an asterisk (*) then MRTG assumes it is a extension and ignores it rather than giving an error.  Of course, you will need to write your own application that handles these new additions.

Steve
________________________________________
From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On Behalf Of Kushner Anatoliy [akushner at online.kz]

Is it possible to add new tags in config file for mrtg ?



More information about the mrtg mailing list