| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Target Names http://www.steveshipway.org/forum/viewtopic.php?f=2&t=519 |
Page 1 of 1 |
| Author: | jerumball [ Tue Mar 01, 2005 5:34 am ] |
| Post subject: | Target Names |
I have modifed a .cfg file to alter the Target names (interfaces) links on my graphs, but how do I get the new names to appear? For example, I modified the Descr from simply "Tunnel42" to "'Tu42 LittleCurrent (PACS)" but only Tunnel42 displays as a link on the target names page. ### Interface 41 >> Descr: 'Tu42 LittleCurrent (PACS)' | Name: 'Tu42' | Ip: '' | Eth: '' ### Target[sudbury-nn_Tu42]: #Tu42:uutthhrree@xxyyzzssd: SetEnv[sudbury-nn_Tu42]: MRTG_INT_IP="" MRTG_INT_DESCR="Tunnel42" MaxBytes[sudbury-nn_Tu42]: 262144 Title[sudbury-nn_Tu42]: Tunnel42 IPSEC/GRE Tunnel To LittleCurrent -- Core PageTop[sudbury-nn_Tu42]: <H1>Tunnel42 IPSEC/GRE Tunnel To LittleCurrent -- Core</H1> <TABLE> <TR><TD>System:</TD> <TD>Core</TD></TR> <TR><TD>Maintainer:</TD> <TD></TD></TR> <TR><TD>Description:</TD><TD>Tunnel42 IPSEC/GRE Tunnel To</TD></TR> <TR><TD>ifType:</TD> <TD>Encapsulation Interface (131)</TD></TR> <TR><TD>ifName:</TD> <TD>Tu42</TD></TR> <TR><TD>Max Speed:</TD> <TD>2.0 Mbits/s</TD></TR> </TABLE> What must I do on my Linux (FC3) box to get these changes reflected on my web page? Thanks very much. John |
|
| Author: | stevesh [ Tue Mar 01, 2005 10:03 am ] |
| Post subject: | |
The 'short description' (the one used in the side menu) is taken from several places, in this order of preference (not that you can change this in the routers2.conf) 1) routers.cgi*ShortDesc[targetname]: xxxxx 2) SetEnv[targetname]: MRTG_INT_DESCR="xxxxx" 3) The IP address of the interface, if target is an interface 4) The interface name, if the target is an interface 5) The first word of the Title[targetname]: xxxxx yyy .... You are apparently using number (2), if I read your cfg sample correctly. I suspect the 'Descr' you modified was just the text in the comment line before the definition? There is more detail on how this is worked out in the documentation. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|