check_sensors command

James Pratt jpratt at norwich.edu
Fri Jan 8 14:24:23 CET 2010


>> -----Original Message-----
>> From: xmanhosting [mailto:anthony at xmanhosting.com.au]
>> Sent: Thursday, January 07, 2010 11:57 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] check_sensors command
>> 
>> Hello,
>> 
>> Thanks for the replies Mark and James.
>> 
>> How would I find out what package i've installed to provide the
'sensors' command?
>> 
>> I have 'sensors' now appearing in my Nagios admin, and it is
reporting as 'sensors
>> ok'
>> 
>> Below are my command and service definitions. Do you know of any
extra
>> parameters I need to add so that it reports the actual cpu temp?
>> 
>> # 'check_sensors' command definition
>> define command{
>> command_name    check_sensors
>> command_line    $USER1$/check_sensors
>> }
>> 
>> define service {
>>  use  local-service
>> host_name  webserver
>> service_description   sensors
>> check_command         check_sensors
>> }
>> 
>> Kind regards,
>> Anthony
>> 


Depends on your linux distro - if you have RPM, then it would be
(replace mysql with your sensors binary path/name) -

# rpm -qf /usr/bin/mysql
mysql-3.23.52-3

Sorry, but I don't know apt-get, so perhaps someone else can tell you
about that one if you are on debian/ubuntu etc.

Cheers,
jamie
    

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list