question

RenePaquin-3677 avatar image
0 Votes"
RenePaquin-3677 asked XinGuo-MSFT answered

Linux monitor dashboard

I would like to create some web dashboards for linux servers in my scom 2019 environment. I can easily create basic performance widgets dashboards for basic metrics such as cpu usage etc but is there a way to create a widget in the dashboard that would emulate the linux top command to keep an eye on processes?

Thanks,
Rene

msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CyrAz avatar image
0 Votes"
CyrAz answered RenePaquin-3677 commented

Tricky one...
If you're using Squaredup, the Task tile could kind of do that. It would require a click to fetch and display the result and would not be "live", but it should work.

With native dashboards, the only thing I can think of would be a powershell grid widget. You would have to write a powershell script that would connect using SSH (with a ssh key so you don't need to input the credentials), run "top" and display the result.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you. I will give that a try.
Rene

0 Votes 0 ·
RenePaquin-3677 avatar image
0 Votes"
RenePaquin-3677 answered

I downloaded and installed openssh on my scom management server and I can create an ssh session and run the top command in powershell itself however not sure how this translates to a powershell grid widget in scom itself. Wish we had SquaredUp but budgets being the way they are in the university sector I can only wish

Rene

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

XinGuo-MSFT avatar image
0 Votes"
XinGuo-MSFT answered

Hi,

It is not easy to obtain the CPU usage of a Linux computer to display in the dashboard. It's requires strong PowerShell skills and Linux knowledge. Here are some tips for your reference.


https://docs.microsoft.com/en-us/answers/questions/485749/how-do-i-monitor-cpu-usage-on-a-linux-agent-manage.html

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.