Q: What are some useful Linux commands to enable management and monitoring with System Center Operations Manager?
A: I'm not a Linux person; however, I recently needed to show monitoring of Linux through Operations Manager. Here are some useful Linux commands I used.
I want to be clear--these are likely not best practices, but they enabled me to get the monitoring running and do some basic management.
First, I installed the graphical interface:
sudo apt-get install ubuntu-desktop
Then I started the graphical interface:
I then enabled the root account:
Note: It's not required to use the root account to monitor from Operations Manager, and it's possible to use sudo access. However, it's more work, so in many environments, unless there is a root objection, I just use root (certainly in lab environments).
OpenSSH is required, so if you didn't enable OpenSSH during Linux installation, use the following (also LAMP can be useful as it includes Apache and MySQL):
To reboot the server I use the following: