Powered by OpenBSD

CVS log for nagios/check_hw_sensors/check_hw_sensors

[BACK] Up to [local] / nagios / check_hw_sensors

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Tue Apr 27 19:09:11 2010 UTC (14 years ago) by andrew
Branch: MAIN
CVS Tags: HEAD
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

fix RCS Id

Revision 1.44 / (download) - annotate - [select for diffs], Tue Apr 27 19:04:48 2010 UTC (14 years ago) by andrew
Branch: MAIN
Changes since 1.43: +12 -7 lines
Diff to previous 1.43 (colored)

recognize more sensor types.  I think I got them all.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Apr 27 18:43:40 2010 UTC (14 years ago) by andrew
Branch: MAIN
Changes since 1.42: +13 -2 lines
Diff to previous 1.42 (colored)

add humidity, frequency and angle sensor types

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 24 17:54:54 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.41: +29 -23 lines
Diff to previous 1.41 (colored)

perlcritic less critical

Revision 1.41 / (download) - annotate - [select for diffs], Thu Nov 12 18:53:52 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.40: +16 -10 lines
Diff to previous 1.40 (colored)

add alarm with a timeout read from utils.pm

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 11 18:14:40 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.39: +6 -5 lines
Diff to previous 1.39 (colored)

perltidy

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 11 18:14:00 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

remove sillyness that didn't do anything useful cuZ perlcritic complains

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 11 18:08:41 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.37: +10 -4 lines
Diff to previous 1.37 (colored)

Add magic for the OpenBSD ports tree to reduce patches

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 10 23:41:12 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.36: +10 -10 lines
Diff to previous 1.36 (colored)

don't accidentially create a check that is all undef, cuZ that causes problems

Revision 1.36 / (download) - annotate - [select for diffs], Tue Nov 10 23:26:13 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.35: +13 -13 lines
Diff to previous 1.35 (colored)

fix a couple more perlcritic things, good enough

Revision 1.35 / (download) - annotate - [select for diffs], Tue Nov 10 23:15:15 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

minor document fix

Revision 1.34 / (download) - annotate - [select for diffs], Tue Nov 10 23:12:49 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

no longer a constant, now assign with = not =>

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 10 23:11:18 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.32: +275 -330 lines
Diff to previous 1.32 (colored)

lots of refactoring to make perlcritic happy

Revision 1.32 / (download) - annotate - [select for diffs], Tue Nov 10 19:46:06 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.31: +83 -80 lines
Diff to previous 1.31 (colored)

change %SENSORS to @SENSORS cuZ all we do is iterate over them in order.
take care of getopt and help handling earlier
add xms to regexps
better defaulting to "UNKNOWN" statuses.  don't mark thinks OK unless we actually check.
misc cleanups

Revision 1.31 / (download) - annotate - [select for diffs], Tue Nov 10 18:24:56 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

change my email address

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 9 23:13:04 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

show that --filename and --sensor are optional in usage

Revision 1.29 / (download) - annotate - [select for diffs], Mon Nov 9 23:06:26 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.28: +4 -11 lines
Diff to previous 1.28 (colored)

running with 0 arguments is valid.  Default to checking for items with status

Revision 1.28 / (download) - annotate - [select for diffs], Mon Nov 9 22:58:41 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.27: +11 -9 lines
Diff to previous 1.27 (colored)

allow specifying only ignore-status, reorder variables to match

Revision 1.27 / (download) - annotate - [select for diffs], Mon Nov 9 22:51:44 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.26: +39 -40 lines
Diff to previous 1.26 (colored)

cleanup, perltidy, warnings with newlines to suppress line numbers

Revision 1.26 / (download) - annotate - [select for diffs], Mon Nov 9 21:25:07 2009 UTC (14 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.25: +466 -433 lines
Diff to previous 1.25 (colored)

perltidy, some unless -> if !, licence

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 10 16:21:53 2008 UTC (16 years, 1 month ago) by andrew
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Fix it for sensors with more than 1 digit at the end.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 14 21:59:10 2007 UTC (17 years, 2 months ago) by andrew
Branch: MAIN
Changes since 1.23: +5 -4 lines
Diff to previous 1.23 (colored)

Add an idea to the TODO list.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 22 02:38:35 2007 UTC (17 years, 3 months ago) by andrew
Branch: MAIN
Changes since 1.22: +8 -5 lines
Diff to previous 1.22 (colored)

again they change the output!

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 6 03:16:41 2007 UTC (17 years, 3 months ago) by andrew
Branch: MAIN
Changes since 1.21: +11 -4 lines
Diff to previous 1.21 (colored)

Support the new dual level sensors

Revision 1.21 / (download) - annotate - [select for diffs], Tue Dec 5 16:26:27 2006 UTC (17 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

new better example for 4.0
and fix the s/drive\s// from the data, not the type

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 5 00:17:47 2006 UTC (17 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.19: +35 -26 lines
Diff to previous 1.19 (colored)

Match sensors differently depending on OS Version from the Config module.

Also support checks on the other sensor types and document that.

and refactor the way I return a $sensor->{'status'} from ~10 lines to 1.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 4 23:33:53 2006 UTC (17 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.18: +8 -3 lines
Diff to previous 1.18 (colored)

add a regex for the 'percent' type of sensor

Revision 1.18 / (download) - annotate - [select for diffs], Sat Dec 2 02:15:17 2006 UTC (17 years, 5 months ago) by andrew
Branch: MAIN
Changes since 1.17: +74 -9 lines
Diff to previous 1.17 (colored)

fix it for the output from OpenBSD 4.0

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 25 23:30:23 2006 UTC (17 years, 6 months ago) by andrew
Branch: MAIN
Changes since 1.16: +4 -7 lines
Diff to previous 1.16 (colored)

get the docs up to match the new version

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 25 18:36:46 2006 UTC (17 years, 6 months ago) by andrew
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Stuff in CVS should output nagios format

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 25 18:35:59 2006 UTC (17 years, 6 months ago) by andrew
Branch: MAIN
Changes since 1.14: +73 -46 lines
Diff to previous 1.14 (colored)

add support for the status as reported by the sensors.  it is teh r0x0r!

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 4 01:30:29 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.13: +6 -4 lines
Diff to previous 1.13 (colored)

I thought I checked this in already

Revision 1.13 / (download) - annotate - [select for diffs], Wed May 3 22:16:42 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.12: +7 -6 lines
Diff to previous 1.12 (colored)

Some more fixing of the help

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 3 21:54:43 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.11: +51 -30 lines
Diff to previous 1.11 (colored)

Get the help output cleaned up.  Still not 100% what I want, but so far so good.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 3 20:01:09 2006 UTC (18 years ago) by holligan
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

updated and clarified help

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 3 03:31:22 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.9: +27 -42 lines
Diff to previous 1.9 (colored)

A bunch of cleanup and some kewl refactoring into loops.

Still need to find a way to refactor the checks that are so similar!

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 3 02:26:47 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored)

It now doesn't do nonexistent checks (for some stuff anyway)
Also changed the <br /> to <br>.  Not valid XHTML whatever, but it does get stripped before getting sent to my pager.

Revision 1.8 / (download) - annotate - [select for diffs], Tue May 2 21:23:29 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.7: +6 -16 lines
Diff to previous 1.7 (colored)

Better looking output for the web page.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 2 20:03:53 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

oops, that's an array ref!

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 2 19:59:47 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.5: +7 -5 lines
Diff to previous 1.5 (colored)

Better output for the OK checks

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 2 19:49:29 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.4: +19 -12 lines
Diff to previous 1.4 (colored)

Only show details for things other than OK, cuZ we are limited in the amount of data we can return :-(

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 2 15:54:42 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.3: +44 -21 lines
Diff to previous 1.3 (colored)

Some cleanup, as well as making it output a single line like nagios supposedly likes.

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 2 01:39:23 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

fix the help getopts.

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 2 01:29:33 2006 UTC (18 years ago) by andrew
Branch: MAIN
Changes since 1.1: +427 -11 lines
Diff to previous 1.1 (colored)

Adding the sensors from one of the routers, cuZ there were a lot and I can use it for testing.

Also, now the check_hw_sensors now seems to be OK.  I need to put it on a few machines and set up the checks now.  If it works for the rest of the week, I can clean it up and mebbe put it on teh interweb and post to undeadly.

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 1 18:11:23 2006 UTC (18 years ago) by andrew
Branch: MAIN

add this so I can check it out on a box for testing

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>