[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Add long description in summary page?

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 12, 2025 2:04 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed Nov 10, 2010 1:29 am 
Offline
User

Joined: Wed Nov 10, 2010 1:14 am
Posts: 5
Hi Steve!
How do I add the interface description in this place, called an interface?


Attachments:
summary.png
summary.png [ 10.85 KiB | Viewed 21219 times ]
Top
 Profile Send private message  
 
PostPosted: Thu Nov 11, 2010 8:05 pm 
Offline
User

Joined: Wed Nov 10, 2010 1:14 am
Posts: 5
Steve busy!?
Maybe someone knows how to do it?


Top
 Profile Send private message  
 
PostPosted: Fri Nov 12, 2010 6:04 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
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.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Sat Nov 13, 2010 4:47 pm 
Offline
User

Joined: Wed Nov 10, 2010 1:14 am
Posts: 5
Thank you Steve, i will be try make this!


Top
 Profile Send private message  
 
PostPosted: Tue Sep 20, 2011 6:01 pm 
Offline
User

Joined: Wed Nov 10, 2010 1:14 am
Posts: 5
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"


Attachments:
descr1.png
descr1.png [ 24.77 KiB | Viewed 20515 times ]
descr.png
descr.png [ 24.63 KiB | Viewed 20521 times ]
Top
 Profile Send private message  
 
PostPosted: Tue Sep 20, 2011 6:12 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
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.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Tue Sep 20, 2011 8:54 pm 
Offline
User

Joined: Wed Nov 10, 2010 1:14 am
Posts: 5
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 ...


Top
 Profile Send private message  
 
PostPosted: Fri Jan 13, 2012 9:07 pm 
Offline
User

Joined: Fri Jan 13, 2012 8:48 pm
Posts: 3
Hi, salsis, were you capable of field snmp query Description separate script processing? I'm stuck at this stage.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group