|
|
| Author |
Message |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Mon Jun 09, 2008 3:20 pm Post subject: OpenAudIT & B.A.S.E. Plugins |
|
|
I've modified the original BASE plugin and created and OpenAudIT plugin from it. I had issues using Howie's Superlinks plugin on my configuration because I use Port translation from the outside-In to access my Cacti installation when I'm not at work. Unfortunately, Superlinks doesn't seem to understand the port translation. But using this plugin I can now access OpenAudIT without any issues.
I've also updated the BASE plugin to change the color of the tab when it's selected. I did only include the SmallTabs though as that's all I'm using anymore. If you need big tabs, create them and name them the same thing as the small tabs. I also added an option so that the Vertical height of the Iframe can be adjusted per the user's needs. (I hate multiple vertical scrollbars) The width of the Iframe is set to 95% of the window size. If you guys want me to make that adjustable, I can, but I didn't feel as though it was needed.
Extract the tar's to the <cactiroot>/plugins directory a nd update the global.php file with the plugin name (base,oa).
Don't forget to grant permissions and edit the settings in the Misc tab.
EDIT: I've deleted the files I've created for this because I have a sneaking suspicion that Howie is going to have a version of Superlinks ready sooner than he thinks.
Oddly enough, his code was rather easy to modify to make the changes that I made in these plugins. I've submitted the changes to him to check over and release to the public.
Last edited by streaker69 on Mon Jun 09, 2008 8:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Jun 09, 2008 4:37 pm Post subject: Re: OpenAudIT & B.A.S.E. Plugins |
|
|
| streaker69 wrote: | | I've modified the original BASE plugin and created and OpenAudIT plugin from it. I had issues using Howie's Superlinks plugin on my configuration because I use Port translation from the outside-In to access my Cacti installation when I'm not at work. Unfortunately, Superlinks doesn't seem to understand the port translation. |
Sorry to hijack your thread, but in what way does superlinks not deal with the port translation? If you use the internal address for the server and then access Cacti from outside your NAT, then it can't deal with that correctly, ever. Is that it, or is there something I can fix? Working on another SL release sometime soon, you see. |
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Mon Jun 09, 2008 4:56 pm Post subject: Re: OpenAudIT & B.A.S.E. Plugins |
|
|
| Howie wrote: | | streaker69 wrote: | | I've modified the original BASE plugin and created and OpenAudIT plugin from it. I had issues using Howie's Superlinks plugin on my configuration because I use Port translation from the outside-In to access my Cacti installation when I'm not at work. Unfortunately, Superlinks doesn't seem to understand the port translation. |
Sorry to hijack your thread, but in what way does superlinks not deal with the port translation? If you use the internal address for the server and then access Cacti from outside your NAT, then it can't deal with that correctly, ever. Is that it, or is there something I can fix? Working on another SL release sometime soon, you see. |
I realize that about Port Translation, but that's what makes these other plugins so slick. I guess you could incorporate what these are doing in superlinks.
If you read the code, if you place SERVERIP (enclosed in pipes) in the one field, it will insert whatever the derived server IP address is. So if you're inside the NAT it gets the internal address, but if you're outside the NAT it gets the external and swaps them out on the fly.
It probably wouldn't be too hard for you to implement that into superlinks. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|