CactiEZ 0.7 Released

Today, the long awaited release of CactiEZ v0.7 is out.  While the release took much longer than anticipated (I reworked it several times) I believe the final product turned out better because of it.

There are several key things to note about the new CD.

  • OS is CentOS 6 x64 (there is no 32bit version)
  • Now prompts for a few key items during the installation such as Network info, timezone, and password
  • More secure out of the box than the previous builds (some linux hardening, randomized mysql passwords, etc…)
  • PHP Timezone is automatically configured for the timezone entered during install
  • Cacti and all plugins are now installed via RPMs from my custom repository for easy updating of Cacti
  • Switched to RSyslog instead of Syslog-ng
  • NTop removed
  • Now includes a custom setup plugin that walks you through setting up your Cacti server (plugin installs, templates, etc…)
  • Custom jquery based theme donated by an anonymous source (Thanks!)
  • No upgrade path from CactiEZ v0.6 provided

It is currently available for download via torrent at CactiEZ.  EDIT: I have now added a HTTP download link.

I would like to thank all the beta testers that have helped with this project.  I had 500+ beta requests so congrats to those who were selected and got an early peak at it.  For the 1000 other people that asked me why it took so long.  Please realize that every minor change that occurred would require testing that consisted of rebuilding the RPMs (if necessary), recompiling the CD, transferring the CD, re-installing from CD, and then actually starting the testing after all that was done.  All I can say is thanks to VMWare ESXi and a lot of custom scripting, I was able to stream line the process.

For anyone that appreciates the hard work that goes into a project like this, I have provided a Donations link on the CactiEZ page.   I also love Amazon Gift Cards.

For support / questions, please use this thread over at cacti.net – CactiEZ Support

Update: I would like to thank everyone that has made a donation no matter how small.  I shall drink a pint in your honor while I decide what to put in the next CactiEZ (snmp traps maybe?)

October 14, 2012 · Jimmy · 37 Comments
Posted in: Cacti, CactiEZ

Open Source System Management Conference 2012

For anyone interested, I will be speaking at the Open Source System Management Conference 2012 in Bolzano, Italy on May 10th, 2012.  If you would like to attend, please check it out below.  There is going to be a lot of great speakers and informative lectures going on.

Save the date!

 

Thursday, May 10th  -  Bolzano / Italy  -  9.00 a.m.

 

International keynote speakers               Lively discussions                        Shared experiences

The yearly Open Source System Management Conference goes in its 4th edition. The event over the past years has grown to one of the most important meets in Europe for

IT managers, system administrators and everyone interested in Open Source monitoring solutions like Nagios, Cacti, Shinken or Icinga. Join this free event and get in touch with international experts presenting relevant trends, new strategies, actual projects
and practical user experiences.

Date and Location:
May 10th,
Convention Center Four Points Sheraton, Bolzano / Italy

Who should attend: IT managers, system administrators
and everyone interested in Open Source monitoring solutions.

Free entry:
Given the limit of 400 places available we suggest to confirm your participation still today! 

v Register now!

v See the Agenda 

Overview of this year´s speakers:

Jeffrey Hammond, Principal Analyst Forrester Research (US)
Oliver Jan, Founder of the French Monitoring Community (F)
William Leibzon, Monitoring Systems Expert and Nagios Developer (US)
Jimmy Conner, Cacti Plugin Architecture (US)
Luca Deri, Founder of ntop (I)
Franco Stoppini / Leo Renier, IT Department InfoCamere (I)
Georg Kostner, Department Manager Würth Phoenix (I)
Hauke Böttcher, Partner Director OTRS (GER)
Bernd Erk, Managing Director NETWAYS (GER)
Anders Haal, Project Manager Ingby (SWE)

——————————————————————————————————————————————————-

******  NEWS     Find further Conference news on our Blog or go directly to the Conference´s Webpage   –  NEWS ******


 Legge sulla Privacy D.Lgs. n. 196/2003: Würth Phoenix S.r.l., titolare del trattamento, garantisce la massima riservatezza nel trattamento dei dati personali. L’interessato potrà in ogni momento esercitare il diritto secondo l´articolo 7 e richiedere la rettifica o la cancellazione dal nostro archivio, comunicando a Würth Phoenix S.r.l. (mailto:[email protected]).

April 20, 2012 · Jimmy · Comments Closed
Posted in: Cacti

Querying Nagios NRPE Client via PHP

I recently had the idea to write an agent for a few windows servers to execute some custom commands so I could graph the data in Cacti.  I have dabbled in making my own Windows SNMP extension agents in the past (and I love SNMP) and while they work well; I really didn’t want anything that complicated.

Now not being someone to re-invent the wheel unless I have to, I started looking around at a few other existing agents.  A few of the requirements I had in mind were that I didn’t want the communication in plain text, it needs to be somewhat secure (password or ACL), it needs to be fairly easy to install and configure custom commands, and most importantly I need to be able to easily communicate with the agent over PHP.  After finding agent after agent that did 1 or 2 of my requirements, I settled on the Nagios NRPE Agent.  While it does have some quirks, it does satisfy the first 3 of my requirements, so all I would have to work out is the 4th.  The NRPE Agent can use SSL to communicate between the monitoring server and the agent.  While it does not have the ability to require a password, it does allow me to set an ACL on the agent to specify the IP addresses allowed to communicate to it.  Configuration is just editing a text config file to add my custom commands, which is really simple.  It also makes it pretty easy to push any new updates to my servers.

As for the 4th requirement, communicating with the agent from PHP.  I wanted to do this, so I could write some Cacti Script Server scripts, and not have to launch a new process to then query the agent.  For NRPE, you normally would have to run the check_nrpe executable with the command line arguments for the command.  This was messy and an extra step which would add some latency and slow down my polling.  I looked around, and really couldn’t find much info on the protocol NRPE uses between the client and host.  I did finally manage to find a perl script that did basically what I wanted, or at least laid out the basics of the required packet for me, so I didn’t have to resort to Wireshark to figure it out.  The only thing required was to figure out exactly what it was doing, and then implement the same thing in PHP.  The perl script was a few hundred lines of code, and had 4-5 required libraries, which was something I was going to have to do away with.

A few of the tidbits I gleamed.  I first made the mistake of attempting to use fsockopen to create the SSL connection, but for SSL to work with NRPE, it seems to require the use of the ADH cipher.  Just trying to do a straight up SSL2 or SSL3 connection is going to fail with an error about the cipher (check the agent log).  This didn’t pose much of a problem though, since PHP also has lots of nice built-in functions for dealing with SSL streams, and its really easy to change the cipher used with those functions.   This also makes it easy, since I really don’t have to deal with certificates or anything else you would normally need to do with SSL.  The next thing is that the NRPE agent expects the packet to always be the exact same size no matter the command.  We are basically going to have to pad the command with nulls to be 1024 in length, we then add all our CRC checksums and other misc headers to this.  Overall the packet itself is very simplistic, and doesn’t include anything really complicated to create.

Anyway, on to some code.  This is the simple script I wrote to test querying the agent.  Read the rest of this post »

February 18, 2012 · Jimmy · Comments Closed
Posted in: Cacti

CactiEZ v0.7 – Update

As the completion of the latest version of CactiEZ nears, I figured I would give you all a sneak peak into what is coming.

Read the rest of this post »

May 6, 2011 · Jimmy · 5 Comments
Posted in: Cacti, CactiEZ

CactiEZ – Centos 5

This past weekend I was feeling a bit under the weather, so I took some time off and rebuild my CactiEZ CD using CentOS 5.  Here a few bullet points

Read the rest of this post »

December 7, 2009 · Jimmy · 12 Comments
Posted in: CactiEZ