PTA AGENTSHELL output list does not refresh PTA agent connection status

PTA AGENTSHELL output list does not refresh PTA agent connection status

91
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:11 PM


Symptom


When running the AGENTSHELL command at the PTA server, the utility will list all the PTA agents that have been connected to the PTA server when starting the PTA server services.


Optionally, the PTA administrator will be able to run the following functions against a particular PTA remote agent server for information collection.

------------------------------------------------------------

    1. Print statistics

    2. Print Pool statistics

    3. Print Machine Monitoring

    4. Get statistics (loop) and write to CSV

    a. Change target Agent IP

    q. Quit

------------------------------------------------------------


The list of remote PTA agent servers displayed on the AGENTSHELL output only shows the PTA agents which successfully connect to the PTA server at least once during PTA service restart. The list will not change or get updated regardless of the connectivity status of the PTA agents at the remote servers. This list is only updated upon dcaserver restart (service ptadcaserverd restart). 





Environment


11.6;11.7;12.0;12.1 PTA PTA Agent

Resolution


A workaround to list out the actively connected PTA agent servers in real time is to run the diagnostic utility with the command : RUN_DIAGNOSTICS PA407 (alternatively the script at /opt/pta/diag-tool/25953/tasks/PTA_Agent/task407.sh). The output list will display only the connected PTA agents and remove PTA agent servers which are currently uncontactable.


Note: RUN_DIAGNOSTICS PA407 may take time to complete in environments with high number of PTA agents deployed against the PTA server.



Actions
  • Print
  • Copy Link

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