How to Configure Basic SNMP v2 Integration for Vault Monitoring

How to Configure Basic SNMP v2 Integration for Vault Monitoring

95
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 12:58 PM


Question


How do I configure the vault for basic SNMP v2 monitoring?


Environment


10.5;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2;13.1;14.2 Privileged Access Manager (PAM, self-hosted) Vault Server;Vault

Answer


Please follow these steps for your initial setup for SNMP

NOTES:
* Due to its hardening, the vault will not respond to SNMP polling.
* This KB describes the integration steps for SNMP v2. In vault version 14.6, SNMP v3 support was released, but requires additional parameters for security and authentication.
For SNMP v3 integration please view the 'Configure Remote Monitoring' link at the bottom of this article.
 
  1. Download and Install a SNMP receiver on a machine other than the vault.
    • For basic troubleshooting or lab testing, the following tool can be used as a client- "SNMP Trap Watcher". This tool does not require a community string setting, or a translator file to be loaded (it collects/displays raw data). It is a native standalone windows executable that requires Firewall permissions to bind and listen on UDP port 162.
  2. Load the CyberArkv2 MIB file (provided on the EPV Installation disk) into the SNMP Receiver 
  3. Configure the Community String.
  4. Open the PARAgent.ini file and ensure the following lines are present. These can be tailored to your needs, but some lines are necessary for SNMP Traps to function. Fields enclosed in "< >" will require your own input information. Below is an example of a working PARAgent.ini configuration (note the "MonitoredEventLogNames" entry):  
    [MAIN] 
    RemoteStationIPAddress=<IP OF CPM MACHINE> 
    UserCredentialsPath="C:\Program Files (x86)\PrivateArk\Server\ParAgent.pass" 
    RemoteAdminPort=9022 
    ExtensionComponentList="C:\Program Files (x86)\PrivateArk\Server\PARVaultAgent.dll,C:\Program Files (x86)\PrivateArk\Server\PARENEAgent.dll" 
    AllowedMonitoredServices="PrivateArk Server,PrivateArk Database,Idira Logic Container" 
    MonitoredEventLogNames=System,Application,Security 
    SNMPVersion=v2 
    SNMPHostIP=<IP ADDRESS OF SNMP TRAP RECEIVER (if multiple, separate with comma [no spaces between entries])> 
    SNMPTrapPort=162 
    SNMPCommunity=<"COMMUNITY STRING (IN QUOTES)"> 
    SNMPTrapsThresholdCPU=200,90,3,30,YES 
    SNMPTrapsThresholdPhysicalMemory=200,90,3,30,YES 
    SNMPTrapsThresholdSwapMemory=200,90,3,30,YES 
    SNMPTrapsThresholdDiskUsage=200,85,3,30,YES 
    SNMPTrapsThresholdServiceStatus=200,3,30,YES 
    LogMessagesFilterRegexp=.* 
    ExcludedLogMessagesFilterRegexp=(ITA|PARE|PADR|CAS).*I
  5. Open PrivateArk Client and go to the VaultInternal safe. Right click->New->PrivateArk Protected Object->Password. Enter 'RCAgent' in the name field and set a password for it. 
  6. Open elevated PowerShell prompt in the %\Program Files (x86)\PrivateArk\Server directory and run the following: ".\PARAgent.exe setpassword". Set the password to the same password used when creating the RCAgent object in the VaultInternal safe in step 5. 
  7. Restart the PrivateArk Remote Control Service. 
  8. Test functionality by creating an event (such as invalid logon attempt, restart the PrivateArk Server Service, etc.).
Please consult the product documentation for more information: Configure Remote Monitoring
 
Note: For configuring ExcludedLogMessagesFilterRegexp parameter please refer to Article #000004138
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000rM8CAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail