Overview
This article shares the process of adding a new SNMP (Simple Network Management Protocol) server to a Lithium node.
Note: You will need the IP address and port for the new SNMP server to complete the steps given in this article.
Process
Follow these steps:
- Log in as a TextPass user on each node that requires the configuration of the new SNMP server.
- Open the host config file located at
/usr/TextPass/etc/'hostname'_config.txt
. - Edit the host file by inserting the new entry at the bottom.
- Consider the following example where an SNMP server is defined (IP=
127.0.0.1
, port=11173
), and a new line is added at the bottom for the new SNMP IP address and port (IP=111.222.333.444
, port=162
).
<trapreceiver ipaddress="127.0.0.1" udpport="11173" />
<trapreceiver ipaddress="111.222.333.444" udpport="162" />
- Consider the following example where an SNMP server is defined (IP=
- Save and close the file.
- Run the following command to validate the new config file (no output means that the file is good):
tp_config --validateonly
- Restart the TextPass application using the following commands:
tp_stop --textpass
tp_start --textpass