[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
http://www.steveshipway.org/forum/

Howto have the System: ,... inserted into userdefined page ?
http://www.steveshipway.org/forum/viewtopic.php?f=2&t=1662
Page 1 of 2

Author:  babydr [ Fri Oct 31, 2008 6:10 am ]
Post subject:  Howto have the System: ,... inserted into userdefined page ?

ie:
######################################################################
# System: CP-RTR01
# Description: ProCurve Secure Router 7102dl, Version: 06.06, Date: Wed Feb 07 09:32:03 2007
# Contact:
# Location:
######################################################################

Tia , JimL

Author:  babydr [ Fri Oct 31, 2008 6:38 am ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?

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 ()

Author:  stevesh [ Fri Oct 31, 2008 10:56 am ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?


Author:  babydr [ Fri Oct 31, 2008 2:14 pm ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?


Author:  stevesh [ Fri Oct 31, 2008 2:37 pm ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?

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.

Author:  babydr [ Sat Nov 01, 2008 4:57 am ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?

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

Author:  babydr [ Sat Nov 01, 2008 12:05 pm ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?

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

Author:  babydr [ Sat Nov 01, 2008 12:45 pm ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?

[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

Author:  stevesh [ Sat Nov 01, 2008 8:07 pm ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?


Author:  babydr [ Wed Nov 05, 2008 7:15 am ]
Post subject:  Re: Howto have the System: ,... inserted into userdefined page ?

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]

Page 1 of 2 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/