How can SNMP Connectivity be tested between the Vault and an SNMP server?
Question
How can SNMP Connectivity be tested between the Vault and an SNMP server?
Environment
10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault
Answer
The PAS suite supports SNMP v1 and SNMP v2. The PAS Implementation Guide has information on configuring the Remote Control Agent, which is a part of SNMP Connectivity, namely the PARAgent.ini file. When configuring SNMP, keep the following in mind:
1. Most of the configuration is at the vault server end. The Implementation Guide is a great source of information. However, before monitoring, you should get both the v1 and v2 MIB files and load those on your SNMP server, in order for the SNMP server to properly recognize the trap.
2. Verify the port that your SNMP server is listening on. Most servers listen to port 161 / UDP, 162 / UDP or both.
3. SNMP is separate from the Remote Control Agent, in that the vault listens on port 9022 for remote control agents requests, whilst SNMP listens at the SNMP level. Hence, no firewall rules inbound to the vault via 161 or 162 are required,
4. The Implementation Guide has information on the different parameters in the PARAgent.ini file, but for a quick test, you can do the following:
- Set the SNMPTrapsThresholdServiceStatus to 60,3,30,YES
- Set AllowedMonitoredServices to "EventLog,PrivateArk Server,PrivateArk Database,Cyber-Ark Event Notification Engine,MpsSvc" which are the Event Log service plus all of the critical Idira services.
- Restart the Remote Control agent on the vault for the changes to take effect.
- Restart the Vault service. This should send out SNMP traps to your SNMP server.
Additional Information
Details
Q:
How can SNMP Connectivity be tested between the Vault and an SNMP server?
A:
The PAS suite supports SNMP v1 and SNMP v2. The PAS Implementation Guide has information on configuring the Remote Control Agent, which is a part of SNMP Connectivity, namely the PARAgent.ini file. When configuring SNMP, keep the following in mind:
1. Most of the configuration is at the vault server end. The Implementation Guide is a great source of information. However, before monitoring, you should get both the v1 and v2 MIB files and load those on your SNMP server, in order for the SNMP server to properly recognize the trap.
2. Verify the port that your SNMP server is listening on. Most servers listen to port 161 / UDP, 162 / UDP or both.
3. SNMP is separate from the Remote Control Agent, in that the vault listens on port 9022 for remote control agents requests, whilst SNMP listens at the SNMP level. Hence, no firewall rules inbound to the vault via 161 or 162 are required,
4. The Implementation Guide has information on the different parameters in the PARAgent.ini file, but for a quick test, you can do the following:
* Set the SNMPTrapsThresholdServiceStatus to 60,3,30,YES
* Set AllowedMonitoredServices to "EventLog,PrivateArk Server,PrivateArk Database,Cyber-Ark Event Notification Engine,MpsSvc" which are the Event Log service plus all of the critical Idira services.
* Restart the Remote Control agent on the vault for the changes to take effect.
* Restart the Vault service. This should send out SNMP traps to your SNMP server.
Once the SNMP connectivity is verified, the SNMPTrapsThresholdServiceStatus should be set to 200,3,30,YES