[mrtg] cfgmaker with ifref=descr - not working as it is described
Cihan Subasi (Garanti Teknoloji)
CihanS at garanti.com.tr
Mon Jan 25 08:58:56 CET 2010
I run cfgmaker as follow and expect that the description is shown in the definitions (target) but still shows me only the name, the description on the interace does not have interface name but showhow it appears in my cfg file. Below also an example,
the description on the router is YENIMAHALLE
cfgmkaer shows Tunnel1101 YENIMAHALLE
and it uses only Tunnel1101
it is because the description on every interface is not unique (some interfaces does not have any description at all.
/usr/bin/cfgmaker --zero-speed=512000 --ifref=descr --ifdesc=descr "--if-filter=$if_type==131 && $if_admin" anakonda at ank-gshdsl --output=ank-gshdsl-tmp.cfg
### Interface 307 >> Descr: 'Tunnel1101' | Name: 'Tu1101' | Ip: '10.69.120.13' | Eth: '' ###
Target[ank-gshdsl_Tunnel1101]: \Tunnel1101:anakonda at ank-gshdsl:
SetEnv[ank-gshdsl_Tunnel1101]: MRTG_INT_IP="10.69.120.13" MRTG_INT_DESCR="Tunnel1101"
MaxBytes[ank-gshdsl_Tunnel1101]: 12500
Title[ank-gshdsl_Tunnel1101]: Tunnel1101 -- ANKARA-GSHDSL-7206
PageTop[ank-gshdsl_Tunnel1101]: <h1>Tunnel1101 -- ANKARA-GSHDSL-7206</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>ANKARA-GSHDSL-7206 in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Garanti Teknoloji</td>
</tr>
<tr>
<td>Description:</td>
<td>Tunnel1101 YENIMAHALLE </td>
</tr>
<tr>
<td>ifType:</td>
<td>Encapsulation Interface (131)</td>
</tr>
<tr>
<td>ifName:</td>
<td>Tu1101</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 kBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>10.69.120.13 ()</td>
</tr>
</table>
</div>
This message and attachments are confidential and intended solely for the individual(s) stated in this message. If you received this message although you are not the addressee, you are responsible to keep the message confidential. The sender has no responsibility for the accuracy or correctness of the information in the message and its attachments. Our company shall have no liability for any changes or late receiving, loss of integrity and confidentiality, viruses and any damages caused in anyway to your computer system.
Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza ulasmis olmasi halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune uyulmasi zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan bilgilerin dogrulugu ve guncelligi konusunda gonderenin ya da sirketimizin herhangi bir sorumlulugu bulunmamaktadir. Sirketimiz mesajin ve bilgilerinin size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi herhangi bir zarardan sorumlu tutulamaz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100125/27ed07c2/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.gif
Type: image/gif
Size: 1947 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20100125/27ed07c2/attachment-0001.gif
More information about the mrtg
mailing list