BigTime Performance Enhancement -> Take a Look At This!!!
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
BigTime Performance Enhancement -> Take a Look At This!!!
Ok,
I'm going to brag. I have spent all weekend working on enhancements to Cacti and Cactid both under Windows and Unix and I believe that it's paid off!!! Take a look at the image below. The fixes/enhancement that I have made to Cacti and Cactid allow the following:
- Multiple CACTID instances from the user interface (just as many as your CPU can take).
- No more timeouts when your servers are down (yea@!!!)
- Enabling and Disabling the Poller from the UI (although, it doesn't kill it)
- No more either CACTID or CMD.PHP, just schedule POLLER.PHP and select which one you want from the UI!
Right now, it is working with both CACTID and CMD.PHP. It scales Windows "DRAMATICALLY". All you have to do is replace 2 PHP files (I think, Ian will let me know), replace your CACTID source code, recompile , schedule a PHP file called "poller.php", create a new directory for the autogenerated poller script file and refresh your display to fill in a few variables and check boxes. You then can interchange between CACTID and CMD.PHP at whim from the UI.
Here's what isn't fixed/enhanced:
- Multiple threads in CACTID - I have confirmed that this is a problem with the RRDTOOL. Unfortunately, I am unable to compile it to perform debug or direct integration with CACTID. I will work with Tobi....
- Non PHP Scripting in CACTID. I am still working on this. It's a path issue in the data_cache...
- System Logging (Event Viewer/Syslog)
- Some settings that I don't like quite yet.
- ICMP/PING Logging and RRD for everything.
Anyone interested in testing under Unix???
TheWitness
I'm going to brag. I have spent all weekend working on enhancements to Cacti and Cactid both under Windows and Unix and I believe that it's paid off!!! Take a look at the image below. The fixes/enhancement that I have made to Cacti and Cactid allow the following:
- Multiple CACTID instances from the user interface (just as many as your CPU can take).
- No more timeouts when your servers are down (yea@!!!)
- Enabling and Disabling the Poller from the UI (although, it doesn't kill it)
- No more either CACTID or CMD.PHP, just schedule POLLER.PHP and select which one you want from the UI!
Right now, it is working with both CACTID and CMD.PHP. It scales Windows "DRAMATICALLY". All you have to do is replace 2 PHP files (I think, Ian will let me know), replace your CACTID source code, recompile , schedule a PHP file called "poller.php", create a new directory for the autogenerated poller script file and refresh your display to fill in a few variables and check boxes. You then can interchange between CACTID and CMD.PHP at whim from the UI.
Here's what isn't fixed/enhanced:
- Multiple threads in CACTID - I have confirmed that this is a problem with the RRDTOOL. Unfortunately, I am unable to compile it to perform debug or direct integration with CACTID. I will work with Tobi....
- Non PHP Scripting in CACTID. I am still working on this. It's a path issue in the data_cache...
- System Logging (Event Viewer/Syslog)
- Some settings that I don't like quite yet.
- ICMP/PING Logging and RRD for everything.
Anyone interested in testing under Unix???
TheWitness
- Attachments
-
- It Works.JPG (60.53 KiB) Viewed 3864 times
Last edited by TheWitness on Sat Jun 12, 2004 10:01 pm, edited 1 time in total.
COOL! I'm going to try this out!
One comment from your screen shot though... (sorry, I'm an English snob) the first line "Poller Enabled" should read "if you wish THE poller to stop operation, uncheck this box."
Ok, enough troubleshooting people who are smarter than I am.... Now on to my testing.
Mike
One comment from your screen shot though... (sorry, I'm an English snob) the first line "Poller Enabled" should read "if you wish THE poller to stop operation, uncheck this box."
Ok, enough troubleshooting people who are smarter than I am.... Now on to my testing.
Mike
That looks great!
Ok, so how can I test this out on my setup? I'd like to get this implemented before I begin my full deployment. I was able to get cactid to work but it didn't seem to offer the huge performance improvement I was reading about. Possibly because of some of the queries that are running...regardless, I'd like to implement your changes....
So...where can I find the changes
Ok, so how can I test this out on my setup? I'd like to get this implemented before I begin my full deployment. I was able to get cactid to work but it didn't seem to offer the huge performance improvement I was reading about. Possibly because of some of the queries that are running...regardless, I'd like to implement your changes....
So...where can I find the changes
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Let me talk with raX and see if has has had time to look at the modifications. Then I will post a reply. The changes to cactid and cmd.php were significant and I don't want to give you something that is not planned for the mainline code (although I can't see why not).
You can e-mail me at LarryJAdams@comcast.net
Regards,
Larry Adams
Warren/Michigan/USA
You can e-mail me at LarryJAdams@comcast.net
Regards,
Larry Adams
Warren/Michigan/USA
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, the beta build has the Multiprocess enhancements incorporated as of today. I have just fixed the CACTID program to be thread safe and functional in Windows as well. This is BIG news for Cacti lovers.
Please be advised that the beta build is just that. Use at your own risk.
TheWitness
Please be advised that the beta build is just that. Use at your own risk.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You can play right now. Pretty stable on Win32, but I am still toying with Cactid. There are issues around scripting and POPEN commands. Send me an e-mail and I will forward a zip file with additional information.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 3 guests