* Finished scan-apc-pdu! Unlike M2, it tracks PDUs without host-binding, and tracks them by their fences entry / scan_apc_pdu_uuid instead of by serial number.
Signed-off-by: Digimer <digimer@alteeve.ca>
@ -33,9 +33,65 @@ NOTE: All string keys MUST be prefixed with the agent name! ie: 'scan_apc_pdu_lo
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="scan_apc_pdu_message_0008">The serial number of the PDU: [#!variable!name!#] has changed from; [#!variable!old_model_number!#] to: [#!variable!new_model_number!#]. This is expected if the PDU was replaced.</key>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="scan_apc_pdu_message_0018">The uptime of the PDU: [#!variable!name!#] has increased from: [#!variable!old_uptime!#] to: [#!variable!new_uptime!#].</key>
<keyname="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>
<keyname="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>
<keyname="scan_apc_pdu_message_0021">The phase number: [#!variable!phase!#] on the PDU: [#!variable!name!#] has returned.</key>
<keyname="scan_apc_pdu_message_0022">The maximum amperage threshold on the phase: [#!variable!phase!#] of the PDU: [#!variable!name!#] has changed from: [#!variable!old_outlet_count!#] to: [#!variable!new_outlet_count!#].</key>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="scan_apc_pdu_message_0030">The phase number: [#!variable!phase!#] on the PDU: [#!variable!name!#] has vanished!</key>
<keyname="scan_apc_pdu_message_0031">The outlet number: [#!variable!outlet!#] on the PDU: [#!variable!name!#] has returned.</key>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="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>
<keyname="scan_apc_pdu_message_0036">The outlet number: [#!variable!outlet!#] on the PDU: [#!variable!name!#] has vanished!</key>
<keyname="scan_apc_pdu_message_0037">
A new PDU: [#!variable!name!#] has been found
- Serial Number: .............. [#!variable!serial_number!#]
- Model Number: ............... [#!variable!model_number!#]
- High amp warning: ........... [#!variable!phase_high_amp_warning!#]
- High amp critical: .......... [#!variable!phase_high_amp_critical!#]
- Number of outlets: .......... [#!variable!outlet_count!#]
</key>
<keyname="scan_apc_pdu_message_0038">- Phase: [#!variable!phase!#] current amperage draw: [#!variable!amps!#].</key>
<keyname="scan_apc_pdu_message_0039">- Outlet: [#!variable!outlet!#], on phase: [#!variable!on_phase!#] is: [#!variable!state!#] (name: [#!variable!name!#]).</key>
<keyname="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 -->
<!-- Units -->
<keyname="scan_apc_pdu_unit_0001"></key>
<keyname="scan_apc_pdu_unit_0001">Unknown</key>
<keyname="scan_apc_pdu_unit_0002">On</key>
<keyname="scan_apc_pdu_unit_0003">Off</key>
<keyname="scan_apc_pdu_unit_0004">Down</key>
<keyname="scan_apc_pdu_unit_0005">Mbps</key>
<keyname="scan_apc_pdu_unit_0006">s</key><!-- 's' for 'seconds', as in 'X MB/s' -->