44864ce321
* Updated the scan agent timeout to 60 seconds. Also made the scan agent exit code log entries more helpful. * Updated System->collect_ipmi_data() to now better handle duplicate sensor names. Now, instead of simply appending an integer, we find the hex address and use that in the sensor name when duplicates exist. This solves the problem of the sensor names not being consistently shown in order. * Fixed message bugs (bad variable insertions) in scan-apc-pdu and scan-apc-ups. * Fixed schema procedure bugs in the 'temperature' and 'ip_address' tables where the columns were in bad order, causing constanty updates. Incomplete work; * Create the shell of 'anvil-manage-storage', but virtually no logic exists in it yet. * Started work on anvil-safe-start to deal with an issue where DRBD resources don't start when a server is running on a peer. Signed-off-by: Digimer <digimer@alteeve.ca>
95 lines
10 KiB
XML
95 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
Company: Alteeve's Niche, Inc.
|
|
License: GPL v2+
|
|
Author: Madison Kelly <mkelly@alteeve.ca>
|
|
|
|
NOTE: All string keys MUST be prefixed with the agent name! ie: 'scan_apc_pdu_log_0001'.
|
|
-->
|
|
|
|
<words>
|
|
<meta version="3.0.0" languages="en_CA"/>
|
|
<!-- Canadian English -->
|
|
<language name="en_CA" long_name="Canadian English" description="ScanCore scan agent that monitors APC-brand switched PDUs.">
|
|
|
|
<!-- Error entries -->
|
|
<key name="scan_apc_pdu_error_0001">Failed to read the number of phases for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
<key name="scan_apc_pdu_error_0002">Able to now read the number of phases for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
<key name="scan_apc_pdu_error_0003">Failed to read the number of outlets for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
<key name="scan_apc_pdu_error_0004">Able to now read the number of outlets for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
|
|
<!-- Log entries -->
|
|
<key name="scan_apc_pdu_log_0001">Starting: [#!variable!program!#].</key>
|
|
|
|
<!-- Message entries (usually meant to be alerts) -->
|
|
<key name="scan_apc_pdu_message_0001">No APC PDUs found as configured fence devices, nothing to do.</key>
|
|
<key name="scan_apc_pdu_message_0002">Failed to read the number of phases for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
<key name="scan_apc_pdu_message_0003">Able to now read the number of phases for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
<key name="scan_apc_pdu_message_0004">Failed to read the number of outlets for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
<key name="scan_apc_pdu_message_0005">Able to now read the number of outlets for the PDU: [#!variable!name!#] at IP: [#!variable!ip!#] (sn: #!variable!serial_number!#).</key>
|
|
<key name="scan_apc_pdu_message_0006">The PDU: [#!variable!name!#] with the serial number: [#!variable!serial_number!#] at the IP address: [#!variable!ip_address!#] has returned.</key>
|
|
<key name="scan_apc_pdu_message_0007">The model of the PDU: [#!variable!name!#] has changed from; [#!variable!old_model_number!#] to: [#!variable!new_model_number!#]</key>
|
|
<key name="scan_apc_pdu_message_0008">The serial number of the PDU: [#!variable!name!#] has changed from; [#!variable!old_serial_number!#] to: [#!variable!new_serial_number!#]. This is expected if the PDU was replaced.</key>
|
|
<key name="scan_apc_pdu_message_0009">The manufacture date of the PDU: [#!variable!name!#] has changed from: [#!variable!old_manufacture_date!#] to: [#!variable!new_manufacture_date!#]. This is expected if the PDU was replaced.</key>
|
|
<key name="scan_apc_pdu_message_0010">The firmware on the PDU: [#!variable!name!#] has changed from: [#!variable!old_firmware_version!#] to: [#!variable!new_firmware_version!#].</key>
|
|
<key name="scan_apc_pdu_message_0011">The hardware version on the PDU: [#!variable!name!#] has changed from: [#!variable!old_hardware_version!#] to: [#!variable!new_hardware_version!#]. This is expected if the PDU was replaced.</key>
|
|
<key name="scan_apc_pdu_message_0012">The IP address assigned to the PDU: [#!variable!name!#] has changed from: [#!variable!old_ipv4_address!#] to: [#!variable!new_ipv4_address!#].</key>
|
|
<key name="scan_apc_pdu_message_0013">The MAC address on the PDU: [#!variable!name!#] has changed from: [#!variable!old_mac_address!#] to: [#!variable!new_mac_address!#]. This is expected if the PDU was replaced.</key>
|
|
<key name="scan_apc_pdu_message_0014">The MTU size set on the PDU: [#!variable!name!#] has changed from: [#!variable!old_mtu_size!# bytes] to: [#!variable!new_mtu_size!# bytes].</key>
|
|
<key name="scan_apc_pdu_message_0015">The link speed for the PDU: [#!variable!name!#] has changed from: [#!variable!old_link_speed_mbps!#] (#!variable!old_link_speed_hr!#) -> [#!variable!new_link_speed_mbps!#] (#!variable!new_link_speed_hr!#)</key>
|
|
<key name="scan_apc_pdu_message_0016">The number of phases on the PDU: [#!variable!name!#] has changed from: [#!variable!old_phase_count!#] to: [#!variable!new_phase_count!#]. This is expected if the PDU was replaced.</key>
|
|
<key name="scan_apc_pdu_message_0017">The number of outlets on the PDU: [#!variable!name!#] has changed from: [#!variable!old_outlet_count!#] to: [#!variable!new_outlet_count!#]. This is expected if the PDU was replaced.</key>
|
|
<key name="scan_apc_pdu_message_0018">The uptime of the PDU: [#!variable!name!#] has increased from: [#!variable!old_uptime!#] to: [#!variable!new_uptime!#].</key>
|
|
<key name="scan_apc_pdu_message_0019">The PDU: [#!variable!name!#] appears to have rebooted. The uptime changed from; [#!variable!old_uptime!#] to: [#!variable!new_uptime!#]. Was the power restored after a power outage?</key>
|
|
<key name="scan_apc_pdu_message_0020">The wattage draw through the PDU: [#!variable!name!#] has changed from: [#!variable!old_total_wattage_draw!#] to: [#!variable!new_total_wattage_draw!#].</key>
|
|
<key name="scan_apc_pdu_message_0021">The phase number: [#!variable!phase!#] on the PDU: [#!variable!name!#] has returned.</key>
|
|
<key name="scan_apc_pdu_message_0022">The maximum amperage threshold on the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] has changed from: [#!variable!old_phase_max_amperage#] to: [#!variable!new_phase_max_amperage!#].</key>
|
|
<key name="scan_apc_pdu_message_0023">The amperage draw on phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] has changed from: [#!variable!old_phase_current_amperage!#] to: [#!variable!new_phase_current_amperage!#].</key>
|
|
<key name="scan_apc_pdu_message_0024">The amperage drawing through the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] is below the low-warning threshold. This is not a concern for the Anvil!, but would only happen if a user configured a low draw alert. So this could be a concern to a user of this Anvil! system.</key>
|
|
<key name="scan_apc_pdu_message_0025">The amperage drawing through the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] has rised over the high critical alert threshold!</key>
|
|
<key name="scan_apc_pdu_message_0026">The amperage drawing through the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] is back below the high critical alert threshold.</key>
|
|
<key name="scan_apc_pdu_message_0027">The amperage drawing through the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] has rised over the high warning alert threshold!</key>
|
|
<key name="scan_apc_pdu_message_0028">The amperage drawing through the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] is back below the high warning alert threshold.</key>
|
|
<key name="scan_apc_pdu_message_0029">The amperage drawing through the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] has risen above the low-warning threshold.</key>
|
|
<key name="scan_apc_pdu_message_0030">The phase number: [#!variable!phase!#] on the PDU: [#!variable!name!#] has vanished!</key>
|
|
<key name="scan_apc_pdu_message_0031">The outlet number: [#!variable!outlet!#] on the PDU: [#!variable!name!#] has returned.</key>
|
|
<key name="scan_apc_pdu_message_0032">The name of the outlet: [#!variable!outlet!#] on the PDU: [#!variable!name!#] has changed from: [#!variable!old_outlet_name!#] to: [#!variable!new_outlet_name!#].</key>
|
|
<key name="scan_apc_pdu_message_0033">The phase that the outlet: [#!variable!outlet!#], on the PDU: [#!variable!name!#] is on has changed from: [#!variable!old_outlet_on_phase!#] to: [#!variable!new_outlet_on_phase!#].</key>
|
|
<key name="scan_apc_pdu_message_0034">The state of the outlet: [#!variable!outlet!#], on the PDU: [#!variable!name!#] has changed from: [#!variable!old_outlet_state!#] to: [#!variable!new_outlet_state!#].</key>
|
|
<key name="scan_apc_pdu_message_0035">A new outlet: [#!variable!outlet!#] was found on the PDU: [#!variable!pdu_name!#], on phase: [#!variable!on_phase!#] and it is: [#!variable!state!#] (outlet name: [#!variable!name!#]).</key>
|
|
<key name="scan_apc_pdu_message_0036">The outlet number: [#!variable!outlet!#] on the PDU: [#!variable!name!#] has vanished!</key>
|
|
<key name="scan_apc_pdu_message_0037">
|
|
A new PDU: [#!variable!name!#] has been found
|
|
- Serial Number: .............. [#!variable!serial_number!#]
|
|
- Model Number: ............... [#!variable!model_number!#]
|
|
- Manufacture Date: ........... [#!variable!manufacture_date!#]
|
|
- Firmware version: ........... [#!variable!firmware_version!#]
|
|
- Hardware version: ........... [#!variable!hardware_version!#]
|
|
- IP Address: ................. [#!variable!ipv4_address!#]
|
|
- MAC Address: ................ [#!variable!mac_address!#]
|
|
- MTU Size: ................... [#!variable!mtu_size!#] Bytes
|
|
- Link Speed: ................. [#!variable!link_speed_mbps!#] (#!variable!link_speed_hr!#)
|
|
- Number of phases:............ [#!variable!phase_count!#]
|
|
- Max amps per phase: ......... [#!variable!phase_max_amperage!#]
|
|
- Low amp warning: ............ [#!variable!phase_low_amp_warning!#]
|
|
- High amp warning: ........... [#!variable!phase_high_amp_warning!#]
|
|
- High amp critical: .......... [#!variable!phase_high_amp_critical!#]
|
|
- Number of outlets: .......... [#!variable!outlet_count!#]
|
|
</key>
|
|
<key name="scan_apc_pdu_message_0038">- Phase: [#!variable!phase!#] current amperage draw: [#!variable!amps!#].</key>
|
|
<key name="scan_apc_pdu_message_0039">- Outlet: [#!variable!outlet!#], on phase: [#!variable!on_phase!#] is: [#!variable!state!#] (name: [#!variable!name!#]).</key>
|
|
<key name="scan_apc_pdu_message_0040">The PDU model: [#!variable!model!#] at the IP address: [#!variable!ip_address!#] has vanished! Did the network cable come unplugged?</key>
|
|
|
|
<!-- Units -->
|
|
<key name="scan_apc_pdu_unit_0001">Unknown</key>
|
|
<key name="scan_apc_pdu_unit_0002">On</key>
|
|
<key name="scan_apc_pdu_unit_0003">Off</key>
|
|
<key name="scan_apc_pdu_unit_0004">Down</key>
|
|
<key name="scan_apc_pdu_unit_0005">Mbps</key>
|
|
<key name="scan_apc_pdu_unit_0006">s</key> <!-- 's' for 'seconds', as in 'X MB/s' -->
|
|
<key name="scan_apc_pdu_unit_0007">(yyyy/mm/dd)</key>
|
|
|
|
</language>
|
|
</words>
|