Server Administration
  Home arrow Server Administration arrow Monitoring Temperatures with Cacti
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Download TestComplete 
Forums Sitemap 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
SERVER ADMINISTRATION

Monitoring Temperatures with Cacti
By: Barzan 'Tony' Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2009-10-14

    Table of Contents:
  • Monitoring Temperatures with Cacti
  • Monitoring Windows Systems
  • Monitoring Linux Systems
  • Final Thoughts

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Monitoring Temperatures with Cacti


    (Page 1 of 4 )

    You are reading the sequel to the article we published last week on Cacti, the RRDTool based graphing solution. In the previous article we learned how Cacti works and how to deploy it. While it can monitor network load, hard drive spaces, CPU utilization, available memory, and all that right out of box, there are two things left to monitor: temperatures and voltages. In this article we’ll find out how!

    First of all, this article has the following prerequisites: a working version of Cacti fully configured, along with a bit of experience that you should have acquired playing around with it when you set it up and maybe even afterward. If you haven’t read the previous article that we featured here, then please do so before moving forward. It’s really important to know what Cacti is about, how it works, and why you should use it.

    Graphing temperatures and voltages is about monitoring the fluctuation of those values. Therefore, this means somehow “grabbing” the data from the sensors, and then it’s actually almost a piece of cake creating those charts based on the received values. Throughout this article we’ll cover two different scenarios: one for Microsoft Windows operating systems and another for GNU/Linux distributions (but also UNIX).

    Quite a while back we featured an article on Dev Hardware that explained how onboard sensors report temperatures and voltages. It might be worth checking that article if you aren’t already familiar with the process and the accuracy of these onboard sensors. You can find it here.

    Before we begin, let’s flesh out how we’re going to accomplish our task. Under Microsoft Windows-based operating systems we will use the ultra-popular free utility that monitors temperatures, voltages, HDDs, and sports many more functions as well—it’s Speedfan. This project is still frequently updated, and there’s lots of ongoing development and support going into it, so it’s a reliable choice.

    Moreover, since we cannot directly import the reported values into Cacti, we’re going to use a fancy but simple SNMP Extension for SpeedFan. You can find it here. This extension exports the values into OIDs during runtime, and then you can set up Cacti to make charts. But on the second page we’ll explore this a bit deeper...

    In the case of Linux we’re going to rely on lm-sensors. This project supports a great deal of hardware monitoring. Using a little script written in virtually any language (but Perl and Bash is preferred, perhaps), we can grab the values and format them in an appropriate way, so that loading them into Cacti will become a piece of cake. Even though lm-sensors already comes with an RRDTool based graphing utility, now we’ll focus on Cacti.

    Having said this, let’s begin!

    More Server Administration Articles
    More By Barzan 'Tony' Antal


       · Hi there!I saw your link to the Waikato LUG's Perl script for converting the...
     

    SERVER ADMINISTRATION ARTICLES

    - Processes in the UNIX Shell
    - Migrating from Windows to Wine
    - Wine: Not Another Emulator
    - Preventive Measures to Block SSH Attacks
    - Monitoring Temperatures with Cacti
    - Cacti: RRDTool-based Graphing Solution
    - Network Magic 5.0 Review
    - Netfilter and Iptables Overview
    - Installing and Configuring Squid
    - Clickfree PC Backup Systems Compared
    - Squid, the Caching Proxy
    - Regular Expressions in the Unix Shell
    - Source Code Version Control Solutions
    - OTRS: Open Source Ticket Request System
    - Clonezilla: Free Mass Disk-Cloning Utility





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek