version 1.23, 2007/01/22 02:38:35 |
version 1.24, 2007/02/14 21:59:10 |
|
|
#!/usr/bin/perl -T |
#!/usr/bin/perl -T |
# $RedRiver: check_hw_sensors,v 1.22 2007/01/06 03:16:41 andrew Exp $ |
# $RedRiver: check_hw_sensors,v 1.23 2007/01/22 02:38:35 andrew Exp $ |
######################################################################## |
######################################################################## |
# check_hw_sensors *** A nagios check for OpenBSD hw.sensors |
# check_hw_sensors *** A nagios check for OpenBSD hw.sensors |
# |
# |
|
|
######################################################################## |
######################################################################## |
# TODO: |
# TODO: |
# Really need real documentation. |
# Really need real documentation. |
|
# allow checking of hw.sensors on a remote host with ssh somehow |
######################################################################## |
######################################################################## |
use strict; |
use strict; |
use warnings; |
use warnings; |
|
|
%ENV = (); |
%ENV = (); |
|
|
use constant NAGIOS_OUTPUT => 0; |
use constant NAGIOS_OUTPUT => 1; |
|
|
use POSIX; |
use POSIX; |
use Config; |
use Config; |