Metauser

How deep does the rabbit hole go?

If you can't have faith in what is held up to you for faith, you must find things to believe in yourself, for a life without faith in something is too narrow a space to live. -- George E. Woodberry

Home Photos

October 30, 2005

System Trending with Cacti

mitch @ 11:25 pm on October 30, 2005

I’ve been back and forth between creating my own System Trending app using RRDtool, and using some other prepackaged ones like Orca and Cacti. I love the look of cacti, however it wasn’t exactly intuitive the first time I tried to use it. So I gave orca a try, and I really didn’t like the idea of having to scp off the log files, to a collecting host. I would much rather have the collecting host poll hosts its configured to watch. With that in mind… I don’t like SNMP either for a system. For appliances and network devices its great, quick and easy. Because the vendors usually have specific MIB’s that can be used. There are generic ones for systems, but I would like to extend this to track applications on the system as well, this will require custom scripts, and with SNMP, custom MIB’s as well. Which I really don’t want to mess with. Keeping the monitoring system as basic as possible, using one monitoring system to grab all of this is what I had in mind. After spending a week or so creating some custom python scrypts to perform both functions of gathering data and pulling it to a central location, and creating graphs was quite extensive, and I really would like to atleast somewhat finnish this project within the next couple weeks. Creating my own solution proved to be a bit more complicated than I would have hoped. So, going back to using an existing project I took another look at cacti. This time around it proved to be much easier to understand. Not sure if its because I took the time to learn more about rrdtool specifically or what. However, this time I was able to create some data gathering scrips for cacti to execute and an xmlrpc server that answered the requests on the other end. They seem to be working currently and I’ve only really been working on them for a couple hours over the last day or two. I *hope* to have working client scripts and gathering server written by the end of the week for most of the basic functionality. Just need to do a little more reading and playing with python and the parseconfig module(?). Should hopefully have something by this time next week. I’ll keep you updated.

Open Source· Projects· Work

Leave a Reply