| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Add long description in summary page? http://www.steveshipway.org/forum/viewtopic.php?f=17&t=4259 |
Page 1 of 1 |
| Author: | salsis [ Wed Nov 10, 2010 1:29 am ] | ||
| Post subject: | Add long description in summary page? | ||
Hi Steve! How do I add the interface description in this place, called an interface?
|
|||
| Author: | salsis [ Thu Nov 11, 2010 8:05 pm ] |
| Post subject: | Re: Add long description in summary page? |
Steve busy!? Maybe someone knows how to do it? |
|
| Author: | stevesh [ Fri Nov 12, 2010 6:04 am ] |
| Post subject: | Re: Add long description in summary page? |
I'm at LISA10 in San Jose this week; I need to take a quick look at this and work out exactly what you're after You can set the 'Long Description' and the 'Short description' for an Interface Target using the routers.cgi*Description[] and routers.cgi*ShortDesc[] directives; these have a complex chain of defaults if not explicitly set. If an Target type is 'interface' then differrent info will be listed in the summary depending on what is available. |
|
| Author: | salsis [ Sat Nov 13, 2010 4:47 pm ] |
| Post subject: | Re: Add long description in summary page? |
Thank you Steve, i will be try make this! |
|
| Author: | salsis [ Tue Sep 20, 2011 6:01 pm ] | |||
| Post subject: | Re: Add long description in summary page? | |||
Hi Steve! I tried to do, but I did not get. How to add a description of the interface summary page? Row 7500 file routers2.cgi print "Interface name11: ".$interfaces{$curif}{ifdesc},$q->br,"\n" print "Interface name22: ".$interfaces{$curif}{desc},$q->br,"\n" print "Interface name33: ".$interfaces{$curif}{shdesc},$q->br,"\n"
|
||||
| Author: | stevesh [ Tue Sep 20, 2011 6:12 pm ] |
| Post subject: | Re: Add long description in summary page? |
I think the description you are referring to is the SNMP description? Probably you are using PageTop[] to get it on the normal page, and it is hardcoded in the cfg file. In the summary page, you can set the 'withpagetop' and 'withpagefoot' extended options on the component targets to make their PageTop and/or PageFoot text get included here. It can get a bit crowded if you have a large PageTop defined! Eg: routers.cgi*Options[xxxxx]: withpagetop PageTop[xxxx]: Something goes in here This will add the "Something goes in here" to the summary page for the xxxx target. Otherwise, the Summary page will head the text with the 'long description' for the target in question. The 'short description' (the one used in the menu) is not shown. |
|
| Author: | salsis [ Tue Sep 20, 2011 8:54 pm ] |
| Post subject: | Re: Add long description in summary page? |
Thanks for your help Steve, I understand you, I'll try to do .. I realized that the field snmp query Description separate script is not processed ... |
|
| Author: | Arnoldd [ Fri Jan 13, 2012 9:07 pm ] |
| Post subject: | Re: Add long description in summary page? |
Hi, salsis, were you capable of field snmp query Description separate script processing? I'm stuck at this stage. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|