PTA - SHOW_METRICS report is empty

PTA - SHOW_METRICS report is empty

93
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:56 PM


Symptom


When running the SHOW_METRICS utility from the PTA server the report shows no output, ie:-

 

Executing task: './tasks/PTA/task037. sh       ' - [P037] Verifying PTA latest metrics...                      [ STATS ]

 

    +--------------------------------------------------------------------------------------+------------+

    | Listener Types                                    | Amount  |

 

    +--------------------------------------------------------------------------------------+------------+

    +--------------------------------------------------------------------------------------+------------+

 

 

    +--------------------------------------------------------------------------------------+------------+

    | Background Scheduler Types                              | Amount  |

    +--------------------------------------------------------------------------------------+------------+

    +--------------------------------------------------------------------------------------+------------+

 

 

    +--------------------------------------------------------------------------------------+------------+

    | Services Types                                    | Amount  |

    +--------------------------------------------------------------------------------------+------------+

    +--------------------------------------------------------------------------------------+------------+

 

 

    +--------------------------------------------------------------------------------------+------------+

    | DCA Server Types                                   | Amount  |

    +--------------------------------------------------------------------------------------+------------+

    +--------------------------------------------------------------------------------------+------------+

 

 



Environment


N/A Privileged Access Manager (PAM, self-hosted) PTA

PTA



Cause


This task looks for information in lines in the diamond log containing the following text:-

 

metrics-PTA-list

metrics-PTA-background

metrics-PTA-service

metrics-PTA-dcaserver

 

These lines are generated internally every 5 minutes by the PTA server and contain information about the PTA server.

 

If the PTA server has listeners in debug or trace mode and is very active, then it's possible that these lines will not appear in the diamond log. With all listeners set to debug, the diamond log might only over 1 minute of activity.

 

If the SHOW_METRICS task cannot find the lines it is looking for in the diamond log then the report will be empty.

 

 



Resolution


Reduce the logging level of the PTA server by running the following from the console:-

 

changeLogLevel. sh -c all -l info

 

Then try SHOW_METRICS again



Actions
  • Print
  • Copy Link

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