[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/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 - manually creating a graph from the coomand prompt or script
Cheshire Cat Computing
http://www.steveshipway.org/forum/

manually creating a graph from the coomand prompt or script
http://www.steveshipway.org/forum/viewtopic.php?f=15&t=310
Page 1 of 1

Author:  stevesh [ Mon Jul 19, 2004 11:09 am ]
Post subject: 


Author:  philperry [ Tue Jul 20, 2004 3:32 am ]
Post subject:  the answer is ...


Author:  stevesh [ Tue Jul 20, 2004 11:57 am ]
Post subject: 

That's not exactly correct....

Calling the script in this way actually generates the graph file in the working directory, and also outputs it on the standard output. So, if you want a page with an image, you can use:

<IMG src="http://myhost/cgi-bin/routers2.cgi?rtr=router.cfg&bars=Cami&xgtype=6&xgstyle=n2&xmtype=options&if=xx.xx.xx.xx_6&page=graph">

However, if all you really want is just the graph file on disk, then your method will call the script directly, throw away the output, and as a side effect you will find the latest version of the graph in the graphpath directory.

Author:  philperry [ Tue Jul 20, 2004 9:43 pm ]
Post subject:  Yes, I see ....

Yes, I see your point.

For this instance, all I'm wanting to achive is a graph file on demand (i.e. via a script).

Combining with the other question thread which is open, I will now investigate archiving.

I now have backup solution, currently working in case it takes some R'n'D time to get that working.

Thanks for your prompt help.

Phil.

Author:  philperry [ Tue Aug 10, 2004 12:12 am ]
Post subject:  Weekly graphs script - sounds good!

Hi Ruedi,

I've sort of got everything working, with the archive feature now fully working - from the saving the raw data point of view.

I would be interested in looking at the scripts you are offering, as auto graph creation is a main feature we are trying to exploit i.e. auto historical graphing and archiving of the remote wan networks to a secure location.

Anything posted to info@nece.co.uk with my name in the subject field will be automatically forwarded to me.

Thanks, phil. :D

Author:  quantumknot [ Fri Sep 24, 2004 10:13 am ]
Post subject:  Need to implant some graphs into a separate web page

First of all, I have to say routers2 rocks! :D

Now to my issue.....I have a need to create a page with a 'quick view' of certain graphs from some of my servers for some folks, while most would prefer to use the routers2 interface.

I've tried to implant the following code as suggested in a thread, however, I just don't seem to be getting very far here. Perhaps, I'm just being a dope or working too many hours. :(

From thread:

<IMG src="http://myhost/cgi-bin/routers2.cgi?rtr=router.cfg&bars=Cami&xgtype=6&xgstyle=n2&xmtype=options&if=xx.xx.xx.xx_6&page=graph">

I would assume this is possible with letting routers2 process the request, but I am not sure what is I'm missing. I replace 'myhost' with my host name, 'router.cfg' with the related cfg file, and I'm not sure what the 'xx.xx.xx.xx' is referring to and perhaps the only thing I'm missing.

Also, would it be possible to acquire a day, week, month, year graph using this method?

Thanks in advance!

Author:  stevesh [ Fri Sep 24, 2004 2:26 pm ]
Post subject: 

First, go to the correct page of routers.cgi to view the graph you want. Then click the 'bookmark' botton. This generates a URL in your browser to go directly to this page.

Take the URL, and add '&page=graph' to the end of it, and you have the URL you need! This will do daily/weekly/monthly etc, and so on. The if= parameter is the Targetname, and the rtr= parameter specifies the configuration file.

Check the HOWTO documentation for a more detailed explanation of this.

Author:  quantumknot [ Sat Sep 25, 2004 1:16 am ]
Post subject:  manually creating a graph from the coomand prompt or script

Thanks a bunch. That is helpful. The bookmark approach works fine.

Is there a way to approach this to get the graphs themselves, i.e. "IMG Src = xxxxx" to place into a common interface and have routers.cgi process so we can have the latest data? I tried some variations with the bookmark and what's in the HOWTO and doesn't seem to work.

We have a central place where several different groups place their graphs and would like to do the same for some of these.

Sorry, I'm such a PITA. I really don't mean to be.

OK....I think nevermind on the above. I think I figured it out. I was not inputting the path (typical img src) as opposed to a web url. :D

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