OpenAudIT & B.A.S.E. Plugins

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

OpenAudIT & B.A.S.E. Plugins

Post by streaker69 »

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.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: OpenAudIT & B.A.S.E. Plugins

Post by Howie »

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.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Re: OpenAudIT & B.A.S.E. Plugins

Post by streaker69 »

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.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests