[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]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing Software support and information 2009-01-07T13:32:20+13:00 https://steveshipway.org/forum/feed.php?f=2&t=1662 2009-01-07T13:32:20+13:00 2009-01-07T13:32:20+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8497#p8497 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]> Thank you , JimL

Statistics: Posted by babydr — Wed Jan 07, 2009 1:32 pm


]]>
2009-01-07T10:10:55+13:00 2009-01-07T10:10:55+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8496#p8496 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]> . The last public beta is beta2.

If you're really desperate for this let me know and I'll give you a pre-release of beta3 (ie, alpha3 I guess).

I'm also looking at having an optionally-enabled feature where the cfg file comments and PageTop are parsed with the assumption that it was created by cfgmaker to set additional symbols, which may help you even more.

Statistics: Posted by stevesh — Wed Jan 07, 2009 10:10 am


]]>
2009-01-07T07:44:37+13:00 2009-01-07T07:44:37+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8495#p8495 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
But I try to get the beta3 at
wget http://www.steveshipway.org/software/rr ... ta3.tar.gz
and I get
--09:35:13-- http://www.steveshipway.org/software/rr ... ta3.tar.gz
=> `/home/archive/srcs/routers2-v2_20-beta3.tgz'
Resolving http://www.steveshipway.org... 72.29.83.119
Connecting to http://www.steveshipway.org|72.29.83.119|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:35:14 ERROR 404: Not Found.

Tia , JimL

Statistics: Posted by babydr — Wed Jan 07, 2009 7:44 am


]]>
2009-01-06T17:29:07+13:00 2009-01-06T17:29:07+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8494#p8494 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]> Statistics: Posted by stevesh — Tue Jan 06, 2009 5:29 pm


]]>
2009-01-01T18:48:10+13:00 2009-01-01T18:48:10+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8491#p8491 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
If it is absolutely required to be able to do this from Routers2, then it might be possible to make symbols so that SNMP queries are run on demand (eg to obtain the sysdetails string) although this has the performance problems mentioned before. Alternatively it could try and parse the PageTop layout (the ifdefault routers2.conf parameter has an option to try and do this) but this is very very unreliable.

Possibly a better solution would be to allow you to set variables directly? EG,
1. Modify your host/interface template for cfgmaker to make it also output a line like:
routers.cgi*SetSymbol: SYSDETAILS "sysdetails string goes in here"
2. Then this would allow your PageTop to include a symbol %SYSDETAILS% to be replaced by the text defined in the SetSymbol line?
Of course, if you're doing this, then you may as well make the template output the appropriate PageTop line anyway, but it might make things simpler.

This way, cfgmaker (which knows the sysdetails string) could pass it on to Routers2 via a userdefined symbol which could be used in PageTop and so on?

Statistics: Posted by stevesh — Thu Jan 01, 2009 6:48 pm


]]>
2008-12-30T09:26:54+13:00 2008-12-30T09:26:54+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8489#p8489 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
Can you please tell me where I can find the definitve description of all the variables available to a routers2.cfg, 'pagetop =' ?

The variables defined in the book do not appear to cover enough to create a 'sysdetails' .

tia , jiml

Statistics: Posted by babydr — Tue Dec 30, 2008 9:26 am


]]>
2008-12-27T21:54:26+13:00 2008-12-27T21:54:26+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8486#p8486 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
Everything that Routers2 can deduce from the MRTG cfg file is already available in the symbols.

Possibly a future version may allow more functions in the symbols, eg:
%SNMP:oid%
which would give the ability to do what you're after - though it would have a nasty performance hit as it made those SNMP queries each time.

Steve

Statistics: Posted by stevesh — Sat Dec 27, 2008 9:54 pm


]]>
2008-12-27T06:54:25+13:00 2008-12-27T06:54:25+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8483#p8483 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]> From what I can see there are insufficient Symbols to build a complete 'sysdetails' like mrtg does .
[/quote]
From above .

Is there a chance that the 'Variable's from both mrtg & router2.cgi can be used within the 'pagetop =' definitions ?

I know about the ones from the BOOK (Thank you for taking the considerable time to make it) , But am hoping for better coverage of the variables in order to create a complete 'PageTop' .

Tia , JimL

Statistics: Posted by babydr — Sat Dec 27, 2008 6:54 am


]]>
2008-11-05T10:22:17+13:00 2008-11-05T10:22:17+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8348#p8348 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
If some of your userdefineds are working but not others then you'll need to give me the cfg snippet for the one that doesnt work.

You will need at least v2.17 for the pagetop and pagefoot to work properly; there have been some minor corrections since so best to upgrade to 2.19 to get the bugfixes.

Statistics: Posted by stevesh — Wed Nov 05, 2008 10:22 am


]]>
2008-11-05T07:19:12+13:00 2008-11-05T07:19:12+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8347#p8347 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
What should I be looking for in the userdefined graphs that may cause them not to display the mrtgpagetop ?

tia , JimL

Statistics: Posted by babydr — Wed Nov 05, 2008 7:19 am


]]>
2008-11-05T07:15:57+13:00 2008-11-05T07:15:57+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8346#p8346 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
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]

Statistics: Posted by babydr — Wed Nov 05, 2008 7:15 am


]]>
2008-11-01T20:07:20+13:00 2008-11-01T20:07:20+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8338#p8338 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]> Statistics: Posted by stevesh — Sat Nov 01, 2008 8:07 pm


]]>
2008-11-01T12:45:53+13:00 2008-11-01T12:45:53+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8335#p8335 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]> -# 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

Statistics: Posted by babydr — Sat Nov 01, 2008 12:45 pm


]]>
2008-11-01T12:05:28+13:00 2008-11-01T12:05:28+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8334#p8334 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]> -# 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

Statistics: Posted by babydr — Sat Nov 01, 2008 12:05 pm


]]>
2008-11-01T04:57:22+13:00 2008-11-01T04:57:22+13:00 https://steveshipway.org/forum/viewtopic.php?t=1662&p=8333#p8333 <![CDATA[Re: Howto have the System: ,... inserted into userdefined page ?]]>
# 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

Statistics: Posted by babydr — Sat Nov 01, 2008 4:57 am


]]>