py file reverted after some time, so for anyone else out there experiencing this issue, the fix noted above will only work a certain amount of time before reverting, until SolarWinds fixes the issue officially. The main part is that if the command fails, it defaults to the root user. What I did to resolve this issue was modifying the code to the following: (Note: I can not say I am very familiar with Python, so I am not suggesting using my exact code) APMonitor, or Advanced Process Monitor is optimization software for mixed-integer and differential algebraic equations. There are plenty of tools available, but we can make our own process monitor using Python. User = pwd.getpwuid(uid) <- this command fails The issue in short is simply that if the UID of ANY process is only numbers, it causes the Python script /opt/SolarWinds/Agent/bin/Plugins/APM/process_helper.py to fail with the error "getpwuid(): uid not found: 33" Issue 10496: Python startup should not require passwd entry - Python tracker The problem is this Python bug causing both the "Real-Time Process Explorer" to only return "Process Explorer Error - Empty job result received" and any SAM Linux Process Monitor Component in Unknown state I have recently had a rather long support case open where we finally managed to resolve the issue by changing a smal portion of code on the monitored Linux server (Polling method: Agent). psutil (python system and process utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |