Monitoring PTA using SNMP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PAM Self-Hosted Articles
3 min read
L0 Member
No ratings
What is required to monitor PTA using SNMP?

Issue

What is required to monitor PTA using SNMP?

Environment

Component: PTA Functional Area: Performance

Resolution

What is required to monitor PTA using SNMP?
SNMP Monitoring is a functionality built-in to the Linux Machine, and is not part of the PTA product. 
As the PTA runs on the Linux machine, we have created an example setup to be used when implementing the SNMP Monitoring capability. 

Please note that SNMP monitoring requires a SNMP Monitoring Server. The PTA is considered as the client, and the only configuration that is required is the snmpd settings provided as a functional example in the Documentation, and the Firewall rules that create the access for the SNMP server. (An example can be found in the online documentation, on the same page). 

For more information, please consult your IT Administrator regarding Linux SNMP Monitoring capabilities and its implementation. 

Steps

SNMP Monitoring is a functionality built-in to the Linux Server, and is not part of the PTA product. 

As the PTA runs on the Linux server, we have created an example setup to be used when implementing the SNMP Monitoring capability.

PTA SNMP is done by snmpd and the Linux Administrator in your organization usually determines what needs to be monitored.
Also, as no specific PTA OIDs are available, you can query the server using SNMPwalk to identify the relevant MIBs of what you want to monitor.

We recommend running snmpwalk on the following MIBs:
HOST-RESOURCES-MIB::hrSWRunName
HOST-RESOURCES-MIB::hrSWRunParameters

These will let you see running processes and their command line options.The 2nd recommendation is included (hrSWRunParameters) as some processes are started by java and so hrSWRunName may not return all the instances of 'java'.

Now checking the .<pid> after hrSWRunName shows that one of these java processes is in fact activemq, another being ptaservices.
Please refer to the documentation for the exact services we recommend monitoring.
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PTA/Moniting-PTA.htm

Once you have identified the exact MIBs that you need you can use snmptranslate -On <non OID mib> for example:
snmptranslate -On HOST-RESOURCES-MIB::hrSWRunName to generate the correct OID, and then include these into the SystemView.

For example to include the running service names, add the following line to the PTA /etc/snmp/snmpd.conf:
view SystemView included .1.3.6.1.2.1.25.4.2.1.2

Please be sure to restart the service using the following command.
service snmpd restart

Please note that SNMP monitoring requires an SNMP Monitoring Server. The PTA is considered as the client and the only configuration that is required is the SNMP settings and the Firewall rules that create the access for the SNMP server. 
For more information, please refer to the  online documentation:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PTA/Moniting-PTA.htm
Rate this article: