|
|
| Author |
Message |
crypted Helper
Joined: 18 Oct 2003 Posts: 26
|
Posted: Tue Oct 28, 2003 12:54 am Post subject: ExtPATH not working with NETMRG |
|
|
I finally setup the ExtPath and unless you login with pubic/public beforehand you cannot see anything. They still show up blank unless you are previously logged into NetMRG and that's still cached.
Here's the link: http://208.191.55.247/html//modules.php?name=routerstats
So the problem now is getting the images to show up through ExtAuth....Ideas? |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Tue Oct 28, 2003 11:44 pm Post subject: |
|
|
Ok...
1. NetMRG shouldn't prompt for a login when using external auth. Did you change the value in netmrg.xml?
2. I wasn't able to log in using public/public via the NetMRG login page. Did you add the user to NetMRG?
3. There should be a HTTP basic authentication dialog box from your browser showing up instead of the NetMRG login page. You need to modify your Apache config or add an .htaccess file to do authentication (probably involving making an htpasswd file with a public:public login).
Alternatively...
You may want to just comment out the authentication checks in get_graph.php so that anyone can view any graph. Other than the privacy concerns, it shouldn't represent a security problem (or not any moreso that a publicly available http-auth scheme).
Good luck, and let us know how things work out. |
|
| Back to top |
|
 |
crypted Helper
Joined: 18 Oct 2003 Posts: 26
|
Posted: Wed Oct 29, 2003 2:26 am Post subject: |
|
|
| Could you tell me what exactly is the portion pertaining to authentication in the get_graph.php? Thanks...slowly getting there :D |
|
| Back to top |
|
 |
crypted Helper
Joined: 18 Oct 2003 Posts: 26
|
Posted: Wed Oct 29, 2003 2:34 am Post subject: |
|
|
Actually I think I found them....Only worry about the four
| Code: |
| GraphCheckAuth($_REQUEST["type"], $_REQUEST["subdev_id"]); |
correct? |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Wed Oct 29, 2003 2:48 am Post subject: |
|
|
| Yep, that should do it. Hopefully pulling that out doesn't break anything else. ;-) |
|
| Back to top |
|
 |
crypted Helper
Joined: 18 Oct 2003 Posts: 26
|
Posted: Wed Oct 29, 2003 4:34 am Post subject: |
|
|
| It's all working, http://www.derekgordon.com/modules.php?name=routerstats feel free to check that out. Thanks a lot guys. Now on to the task fo fixing my Photo_Gallery module of blorpscript photo gallery...trying to import that and php isn't liking the ?path=Test/ when you start browsing...oh the joys of web crap! haha |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Wed Oct 29, 2003 3:43 pm Post subject: |
|
|
Page looks great!
One observation though... looks like you have some nasty spikes on your ppp0 graph. Editing the monitors for that subdevice, and setting the "Maximum" field to something reasonable for your link should prevent that from happening.
Good luck in your other ventures! |
|
| Back to top |
|
 |
crypted Helper
Joined: 18 Oct 2003 Posts: 26
|
Posted: Fri Oct 31, 2003 12:27 am Post subject: |
|
|
| I would like to get that meter thing fixed. It seemed 1 for downstream was a bit too small for the graphing so it game out as nan on the graph and wasn't graphed. What do you suggeest for the following: 512kbit down max and a 128kbit max up as their maximums? Appreciate it a lot guys, Thanks so much. |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Fri Oct 31, 2003 2:16 pm Post subject: |
|
|
The maximums are specified in bytes/sec, so:
512kbps = 64000 Bps
128kbps = 16000 Bps
Rounding them up to 70000 and 20000 respectively shouldn't hurt, and should help account for any bursts.
We're glad things are working better now... hopefully we can get a feature in for publicly viewable graphs soon. |
|
| Back to top |
|
 |
|