Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_hddtemp_socket

Rating
3 votes
Favoured:
0
Current Version
0.2
Last Release Date
2013-06-20
Compatible With
  • Nagios 3.x
License
GPL
Hits
60446
Files:
FileDescription
check_hddtemp_socket.plcheck_hddtemp_socket.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
The Plugin checks the (S.M.A.R.T.-)Disktemperature using the hddtool-Daemon. Other to the Commandlineversions the hddtemp-Daemon must be installed, configured and running to use the Plugin. On the other hand there is no need for sudo-rights (or other tricks) to use the mesurement.
It's written in Perl and needs the Nagios::Plugin Module to run.
Reviews (1)
bynishith, July 11, 2012
My command.cfg


define command{
command_name check_hddtemp_socket.pl
command_line $USER1$/check_hddtemp_socket.pl -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
}

My localhost.cfg

define service{
use local-service ; Name of service template to use
host_name localhost
service_description Hard Disk Temperature Socket
check_command check_hddtemp_socket.pl!40!50
notifications_enabled 0
}

Nagios is giving "null" value in "Web Interface".
Owner's reply

What are you trying to do? The -p parameter is specifing the port the hddtemp-daemon listens on. Is it 40?
Values for Warning and Critical are appied by using -w and -c options.