Applying SNMP settings on servers
-
To configure SNMP on the servers, follow any one of the following substeps:
- To apply SNMP settings on all DL or EL8000 servers, run the following command:
nps deploy -s hw_prep -l debug -sl all -a snmp
To apply SNMP settings on a single DL or EL8000 server or list of DL or EL8000 servers, run the following command:
nps deploy -s hw_prep -l debug -sl <Server iLO IP (or) Server iLO IP1, server iLO IP2,…> -a snmp
This command creates SNMP users and configures the alert destination in the server based on the input provided under the platform management section in the input JSON. This command is not applicable for iLO 4 servers (EL4000 servers).
-
To verify the status of the SNMP configuration through hardware preparation service, run the following command:
nps show --service hw_prep
Wait until the status is displayed as
COMPLETED
orSUCCESS
for all the hardware configuration operations. If the status is displayed asFAILED
for any of the operations, analyze the<topology_name>_<server_IP>_redfish_snmp_<date>.log
file in the/var/nps/logs/<topology_name>
directory. Correct the errors and run the NIC configuration again.NOTE:The status is displayed as
NOT APPLICABLE
for theilo_naming
operation, if thehostname
provided in the Input JSON file is"NA"
or blank.The status is displayed as
NOT APPLICABLE
for thecreate_user
operation, if thelabel_password
provided in the input JSON file is"NA"
or blank.
To configure SNMP on servers that are not available in the NPS toolkit VM, see SNMP configuration.