[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/bbcode.php on line 112: 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 112: 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 112: 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 - Howto have the System: ,... inserted into userdefined page ?

Cheshire Cat Computing

Software support and information
It is currently Mon Nov 10, 2025 7:19 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Oct 31, 2008 6:10 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
ie:
######################################################################
# System: CP-RTR01
# Description: ProCurve Secure Router 7102dl, Version: 06.06, Date: Wed Feb 07 09:32:03 2007
# Contact:
# Location:
######################################################################

Tia , JimL


Top
 Profile Send private message  
 
PostPosted: Fri Oct 31, 2008 6:38 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Ok , It really looks more like this , They show up fine in a normal setup , but this does not show up in a userdefined page , Heck if I can figure out how to emulate it thru scripting that'd work just as well .
Tia , JimL

System: MO-RTR01 in MO - DP - 4th Floor, Frnt U33
Maintainer: HelpDesk helpdesk -at- denalistatebank -dot- com x300
Description: eth-0/2:-MAC:MPC8260-FCC1-PHY:ICS1893BF-v4.2
ifType: ethernetCsmacd (6)
ifName: eth 0/2
Max Speed: 100.0 Mbits/s
Ip: 172.16.1.1 ()


Top
 Profile Send private message  
 
PostPosted: Fri Oct 31, 2008 10:56 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand

_________________
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: Fri Oct 31, 2008 2:14 pm 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK


Top
 Profile Send private message  
 
PostPosted: Fri Oct 31, 2008 2:37 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
This looks as if it should work. Do you have a recent (2.17b6 or later) version of Routers2, and the mrtgpagetop=yes is definitely in the [routers.cgi] section of the routers2.conf?

I will run some more tests here, just in case.

_________________
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 01, 2008 4:57 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
routers.cgi Version v2.18beta5 :

# egrep -v '^(#|$|[[:space:]]+$)' routers2.conf
[web]
backurl = /
png=1
[routers.cgi]
cache = yes
actuals = yes
dbpath = /var/www/htdocs/router2cgi/rrd
graphpath = /var/www/htdocs/router2cgi/graphs
graphurl = /router2cgi/graphs
confpath = /var/www/htdocs/router2cgi/cfg
cfgfiles = *.cfg
iconurl = /rrdicons/
defaulttarget = summary
graphstyle = x3
unscaled = no
usebigk = no
sorder = t n n2 l l2 x2 x3
mrtgpagetop = yes <<< Right here >>>
compact = yes
daystart = 7
dayend = 21
stylesheet = /rrdicons/routers2.css
legendunits = yes
withdate = yes
showfindbox = no
slope = yes
[targetnames]
routerdefault = filename
ifdefault = ai
[targettitles]
[targeticons]
[graphprune]
[menu]
[trend.cgi]
stylesheet = /rrdicons/routers.css


Top
 Profile Send private message  
 
PostPosted: Sat Nov 01, 2008 12:05 pm 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Doing some diff -u on the new & my routers2.conf I noticed this entry .
-# Note that these can contain the symbols %DEVICE% and %TARGET%
+# Note that these can contain the symbols %DEVICE%, %TARGET%, etc etc
#pagetop =

As you can notice this is not configured . I'll give this a try & report back , I was acutally insterting manually into the *.cfg files the 'sysdetails' entries (as shown in a previous post here .

Twyl , JimL


Top
 Profile Send private message  
 
PostPosted: Sat Nov 01, 2008 12:45 pm 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
[quote="babydr"]Doing some diff -u on the new & my routers2.conf I noticed this entry .
-# Note that these can contain the symbols %DEVICE% and %TARGET%
+# Note that these can contain the symbols %DEVICE%, %TARGET%, etc etc
#pagetop =
As you can notice this is not configured . I'll give this a try & report back , I was acutally insterting manually into the *.cfg files the 'sysdetails' entries (as shown in a previous post here .
[/quote]

I don't seem to be able to find a example of how to use that option in this discussion group .
Hopefully someone has done so and will point at an example .
Twyl , JimL


Top
 Profile Send private message  
 
PostPosted: Sat Nov 01, 2008 8:07 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand

_________________
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: Wed Nov 05, 2008 7:15 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Since the option 'pagetop' is in routers2.conf , Can I just insert the 'sysdetails' like in the object(code) in this thread ? ie: (*)

From what I can see there are insufficient Symbols to build a complete 'sysdetails' like mrtg does . as you'll see in the (*) below , I tried to insert the appropriate Symbols where I was relatively sure of their meanings .

Fyi , I have not had a chance to upgrade to 2.19 as yet , Might the inability to display the pagetop using mrtg's pagetop (ie: 'mrtgpagetop = yes') be rectified in that code set ?

(*)
[code]
pagetop="
<h1> %TARGET% -- %HOSTNAME% Interface 1 Error Rates IN/OUT Fairbanks/Tok P2P, Circuit ID</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>%HOSTNAME% in DSB</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>IT helpdesk -at- denalistatebank -dot- com</td>
</tr>
<tr>
<td>Description:</td>
<td> %TARGET% -- %HOSTNAME% Interface 1 Error Rates IN/OUT Fairbanks/Tok P2P, Circuit ID</td>
</tr>
<tr>
<td>ifType:</td>
<td>propPointToPointSerial (22)</td>
</tr>
<tr>
<td>ifName:</td>
<td>Se1/0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>384.0 kbits/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>192.168.3.1 ()</td>
</tr>

</table>
</div>
"
[/code]


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

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