
Chapter 4: Using SNMP
198
Configuring NTP Server Settings
Using SNMP, you can change the following NTP server-related settings in the unitConfigurationTable:
•
Enable or disable synchronization of the device's date and time with NTP servers (synchronizeWithNTPServer)
•
Enable or disable the use of DHCP-assigned NTP servers if synchronization with NTP servers is enabled
(useDHCPProvidedNTPServer)
•
Manually assign the primary NTP server if the use of DHCP-assigned NTP servers is disabled
(primaryNTPServerAddressType and primaryNTPServerAddress)
•
Manually assign the secondary NTP server (optional) (secondaryNTPServerAddressType and
secondaryNTPServerAddress)
Tip: To specify the time zone, use the CLI or web interface instead. For the CLI, refer to
Setting the Time Zone
in the
PDU With RackLink Advanced User Manual at
www.middleatlantic.com/resources/power-downloads.aspx
. For
the web interface, see Setting the Date and Time (on page 117).
When using the SNMP SET command to specify or change NTP servers, it is required that both the NTP server's address
type and address be set in the command line simultaneously.
For example, the SNMP command to change the primary NTP server's address from IPv4 (192.168.84.84) to host name
looks similar to the following:
snmpset -v2c -c private 192.168.84.84 firstNTPServerAddressType = dns firstNTPServerAddress
= "angu.pep.com"
Retrieving Energy Usage
You can discover how much energy a device consumes by retrieving the Active Energy for the outlet the device is plugged
into. The Active Energy values are included in the outletSensorMeasurementsTable, along with other outlet sensor
readings.
A Note about Enabling Thresholds
When enabling previously disabled thresholds via SNMP, make sure you set a correct value for all thresholds that are
supposed to be enabled prior to actually enabling them. Otherwise, you may get an error message.