Merge pull request #921 from jdidierpichat/master

update hardware.pm
This commit is contained in:
Simon Bomm 2018-03-23 17:36:15 +01:00 committed by GitHub
commit f3fb8ccc52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -38,11 +38,12 @@ sub set_system {
['ok', 'OK'], ['ok', 'OK'],
['unavailable', 'UNKNOWN'], ['unavailable', 'UNKNOWN'],
['nonoperational', 'UNKNOWN'], ['nonoperational', 'UNKNOWN'],
['unknown', 'UNKNOWN'],
], ],
sensor => [ sensor => [
['ok', 'OK'], ['ok', 'OK'],
['unknown', 'UNKNOWN'], ['unknown', 'UNKNOWN'],
['nonInstalled', 'OK'], ['notInstalled', 'OK'],
['voltageLowWarning', 'WARNING'], ['voltageLowWarning', 'WARNING'],
['voltageLowCritical', 'CRITICAL'], ['voltageLowCritical', 'CRITICAL'],
['noPower', 'CRITICAL'], ['noPower', 'CRITICAL'],
@ -141,4 +142,4 @@ Set critical threshold for temperatures (syntax: type,instance,threshold)
Example: --critical='sensor,.*,40' Example: --critical='sensor,.*,40'
=back =back
=cut =cut