I have a server monitored in Spectrum by systemedge, I have identified an antivirus process that consumes the cpu of the server. Is there any way to monitor the percentage or specific CPU use of this process so that it generates an alert after exceeding the threshold?
Yes, you can create a Watch on NRM_DevicCPUUUtilization.
Just find the instance in the table, and set the watch to monitor that instance…so your expression would be:
Set it to poll and then set the values in the Threshold window.
Hi Jay thanks for the response, the instance that is monitored, in the example that you put: "7" is the PID variable (Parent ID) of the service on the server? I speak for windows OS. Or what does this instance refer to?
In case it is the PID it must be taken into account that with the restarts it changes.
If you are using the rfc2790 process table then you can pull the index number from the hrSWRunIndex table (22.214.171.124.126.96.36.199.2.1.1).
You can also check the Running Processes table in the Information view…
Hi Jay, i have reviewed and the INDEX is not always kept for the same process, in my case the antivirus process has had the INDEX: 1, 2, 5, 6. That being the case, I do not see how to use the NRM_DeviceCpuUtilization.x attribute
I may be corrected, but...
IMHO the index reflects a CPU core. So you can monitor core utilization with a watch on a NRM_DevicCPUUUtilization instance, but this does not 100% monitor a specific process. The cores that are being utilized for that process may switch throughout the processes lifetime. Also it may fork and/or use multiple cores in parallel.
You are correct. I believe I provided the correct below through the use of watch process on the SystemEDGE agent.
Yes, but I believe you have to make the configuration on the agent itself. The attribute you're looking for is procTimePermil: Process Attributes . Use watch process or the VAIM console to configure: watch process Directive--Add Entries to the Process Monitor Table .