diff --git a/src/check_ups/check_ups_battery_values/README.md b/src/check_ups/check_ups_battery_values/README.md new file mode 100644 index 0000000..8db1ba7 --- /dev/null +++ b/src/check_ups/check_ups_battery_values/README.md @@ -0,0 +1,21 @@ +# check_ups_battery_values + +Checks the battery values (voltage, current and temperature) on a RFC1628 (UPS-MIB) SNMP compliant device. + +# Usage + + check_ups_battery_values -H + -w [],[],[] + -c [],[],[] + [-C ] [-e ] [-P ] [-t ] + [-V ] + +Type Type `check_ups_battery_values --help` to get more info. + +# Examples + +## check_ups_battery_values -H 192.168.0.101 -w 210:240,,,\~:40 -c 200:250,,\~:50 + +Checks the voltage, current and temperature battery value levels of a UPS-MIB SNMP compliant device with IP address 192.168.0.101. + +The plugin returns WARNING if voltage is out of 210 to 240 volts range or the temperature battery value exceeds 40 Celsius degrees, and returns CRITICAL if voltage is out of 200 to 250 volts range or temperature exceeds 50 Celsius degrees. \ No newline at end of file diff --git a/src/check_ups/check_ups_battery_values.pl b/src/check_ups/check_ups_battery_values/check_ups_battery_values.pl similarity index 100% rename from src/check_ups/check_ups_battery_values.pl rename to src/check_ups/check_ups_battery_values/check_ups_battery_values.pl diff --git a/src/check_ups/check_ups_inputs/README.md b/src/check_ups/check_ups_inputs/README.md new file mode 100644 index 0000000..9dee958 --- /dev/null +++ b/src/check_ups/check_ups_inputs/README.md @@ -0,0 +1,22 @@ +# check_ups_inputs + +Checks the input levels (frequency, voltage, current and/or power) on a RFC1628 (UPS-MIB) SNMP compliant device. + +# Usage + + check_up_inputs -H + -w [],[],[],[] + -c [],[],[],[] + [-i ] + [-C ] [-E ] [-P ] [-t ] + [-V ] + +Type Type `check_ups_inputs --help` to get more info. + +# Examples + +## check_ups_inputs -H 192.168.0.101 -i 1,2,3 -w ,210:240,,\~:3000 -c ,200:250,,\~:4000 + +Checks the 1 to 3 input levels of a UPS-MIB SNMP compliant device with IP address 192.168.0.101. + +Plugin returns WARNING if voltage is out of 210 to 240 volts range or the output power exceeds 3000W, and returns CRITICAL if voltage is out of 200 to 250 volts range or power exceeds 4000W. diff --git a/src/check_ups/check_ups_inputs.pl b/src/check_ups/check_ups_inputs/check_ups_inputs.pl similarity index 97% rename from src/check_ups/check_ups_inputs.pl rename to src/check_ups/check_ups_inputs/check_ups_inputs.pl index 7f6e3eb..65fcb42 100755 --- a/src/check_ups/check_ups_inputs.pl +++ b/src/check_ups/check_ups_inputs/check_ups_inputs.pl @@ -42,7 +42,7 @@ . "\t\t[-C ] [-E ] [-P ] [-t ]\n" . "\t\t[-V ]\n"; use constant BLURB => - "Checks the input levels (frequency, voltage, current and/or power )\n" + "Checks the input levels (frequency, voltage, current and/or power)\n" . "on a RFC1628 (UPS-MIB) SNMP compliant device"; use constant LICENSE => "This check plugin is free software, and comes with ABSOLUTELY NO WARRANTY\n" diff --git a/src/check_ups/check_ups_mode/README.md b/src/check_ups/check_ups_mode/README.md new file mode 100644 index 0000000..22b4490 --- /dev/null +++ b/src/check_ups/check_ups_mode/README.md @@ -0,0 +1,21 @@ +# check_ups_mode + +Checks the working mode (online/bypass/offline with batt. normal, low or depleted) of a RFC1628 (UPS-MIB) SNMP compliant device, returning autonomy values as performance data. + +# Usage + + check_ups_mode -H + -w [, ,...] + -c [, , ...] + [-l [-d ] + [-C ] [-E ] [-P ] [-t ] + [-V ] + +Type `check_ups_mode --help` to get more info. + +# Examples + +## check_ups_mode -H 192.168.0.1 -w 2,5 -c 3,4 +It checks the working mode of a UPS-MIB SNMP compliant device with IP address 192.168.0.1, SNMP protocol 2 and real community 'public'. + +The plugin returns WARNING if it is working offline and its battery level is NOT low (Offline=2) or it is in bypass mode (bypass=5), or it returns CRITICAL if it is working offline and its battery level is low (Offline battery low = 3) or battery is depleted (Offline battery depleted = 4). \ No newline at end of file diff --git a/src/check_ups/check_ups_mode.pl b/src/check_ups/check_ups_mode/check_ups_mode.pl similarity index 100% rename from src/check_ups/check_ups_mode.pl rename to src/check_ups/check_ups_mode/check_ups_mode.pl diff --git a/src/check_ups/check_ups_outputs/README.md b/src/check_ups/check_ups_outputs/README.md new file mode 100644 index 0000000..5bea033 --- /dev/null +++ b/src/check_ups/check_ups_outputs/README.md @@ -0,0 +1,24 @@ +# check_ups_outputs + +Checks the output levels (voltage, current, power and/or load percent) on a RFC1628 (UPS-MIB) SNMP compliant device. + +# Usage + + check_up_outputs -H + -w [],[],[],[] + -c [],[],[],[] + [-o ] + [-p ] + [-C ] [-E ] [-P ] [-t ] + [-V ] + [-f] + +Type Type `check_ups_outputs --help` to get more info. + +# Examples + +## check_ups_outputs -H 192.168.0.101 -o 1,2,3 -w 210:240,,,\~:70 -c 200:250,,,\~:90 + +Checks the 1 to 3 output levels of a UPS-MIB SNMP compliant device with IP address 192.168.0.101. + +Plugin returns WARNING if voltage is out of 210 to 240 volts range or the output load exceeds 70%, and returns CRITICAL if voltage is out of 200 to 250 volts range or load exceeds 90%. \ No newline at end of file diff --git a/src/check_ups/check_ups_outputs.pl b/src/check_ups/check_ups_outputs/check_ups_outputs.pl similarity index 100% rename from src/check_ups/check_ups_outputs.pl rename to src/check_ups/check_ups_outputs/check_ups_outputs.pl