Monitoring Linux Using SCOM 2007 R2

SCOM 2007 R2 can help you with out of box functionality to monitor Linux /Unix. With SCOM 2007 SP1 you need to get Management Pack from Quest/Jalasoft to name few partner who had developed MP to monitor Unix/Linux.

With the release of SCOM 2007 R2 Unix and Linux MP come along with product.

To Monitor Linux Server you can follow steps below…….

RunAs accounts that will be used by Operations Manager 2007 to install, and to monitor/manage the target Linux machines. For this, two user accounts are created:

· Non-privileged user, used to remotely monitor the Linux/Unix server.

· Privileged User, used to deploy the Unix/Linux agent, as well as to restart processes where privileged rights are required.

Creating a Non-Privileged UNIX User Run As Profile

1. In the Operations console, click Administration to open up the Administration space

2. Under the Run As Configuration node of the tree, click Profiles

clip_image002

3. In the Profiles pane, look for the Unix Action Account profile. Right-click on Unix Action Account and select Properties. This opens the Run As Profile Wizard

clip_image004

4. At the Introduction screen, click Next >

clip_image006

5. At the General Properties screen, click Next >

clip_image008

6. At the Run As Accounts screen, click Add... to create a new Run As Account. The Add a Run As Account dialog will open. NOTE: If you examine the list of current Run As accounts you will see none for UNIX/Linux, so we have to create one.

clip_image010

7. Click New... to open the Create Run As Account Wizard

clip_image012

At the Introduction screen, click Next >

clip_image014

9. Under the General Properties screen a. Select Basic Authentication from the Run As Account type drop-down list. b. Set the display name to "UNIX non-privileged account"

clip_image016

clip_image018

Click Next >

Provide Credential for Non Privileged Account

clip_image020

Click Next >

Under Distribution Security, select the More Secure... option.

clip_image022

When the creation is complete, you will see a warning message that the Run Account must be associated with an appropriate Run As profile. We will do this in just a moment. Click Close to return to the Add a Run As Account dialog

Click Select ... and choose Class... from the drop down.

clip_image024

In the Class Search dialog, enter Unix in the Filter By text box, and click Search

clip_image026

From the list of items returned from the search, select Unix Computer and click OK

clip_image028

Unix Computer now appears as the selected class against which the Run As Account will be applied. Click OK to close the Add a Run As Account dialog

clip_image030

You will now see the UNIX non-privileged account Run As Account just created within the list of accounts for this profile. Click Save.

clip_image032

We now have to associate the Run As account with the RMS management server. Click on the UNIX non-privileged account hyperlink to open the Run As Account properties.

clip_image034

Check to see you are in the Distribution tab.

Click Add

clip_image036

In the Option: drop down, select Show Management Servers and click Search.

Select RMS Server Name from the results, and click Add

clip_image038

Creating a Privileged UNIX User Run As Profile

In the Profiles pane, look for the Unix Privileged Account profile.

clip_image040

Right-click on Unix Privileged Account and select Properties. This opens the Run As Profile Wizard

At the Introduction screen, click Next >

clip_image042

At the General Properties screen, click Next >

clip_image044

At the Run As Accounts screen, click Add... to create a new Run As Account. The Add a Run As Account dialog will open.

clip_image046

clip_image048

Click New... to open the Create Run As Account Wizard

At the Introduction screen, click Next >

clip_image050

Select Basic Authentication from the Run As Account type drop-down list . Set the display name to "UNIX privileged account

clip_image052

Under the Account screen Set The credential for Privilege

clip_image054

Click Next >

Under Distribution Security, select the More Secure... option. Click Create.

clip_image056

When the creation is complete, you will see a warning message that the Run Account must be associated with an appropriate Run As profile. We will do this in just a moment. Click Close to return to the Add a Run As Account dialog.

clip_image058

Notice that the UNIX privileged account you just created now appears as the selected option in the drop down box.

clip_image060

Click Select ... and choose Class... from the drop down

clip_image062

In the Class Search dialog, enter Unix in the Filter By text box, and click Search

clip_image064

From the list of items returned from the search, select Unix Computer and click OK

clip_image066

clip_image068

You will now see the UNIX privileged account Run As Account just created within the list of accounts for this profile. Click Save.

clip_image070

clip_image072

We now have to associate the Run As account with the RMS management server. Click on the UNIX privileged account hyperlink to open the Run As Account properties

clip_image074

Check to see you are in the Distribution tab

clip_image076

Select RMS Server Name from the results, and click Add and Click OK

clip_image077

Open the Operations console with an account that is a member of the Operations Manager 2007 R2 Administrator profile

Select the Administration view.

At the bottom of the navigation pane, select the Discovery Wizard link.

In the Computer and Device Management Wizard, select Discovery Type, choose Unix/Linux Discovery Wizard, and then click Next.

clip_image079

On the Discovery Method page, click Add to specify criteria for discovering UNIX-based systems and Linux-based systems on your network.

On the Define discovery criteria page, type the credentials and necessary information to locate the computer you want to discover, and then click OK

clip_image081

clip_image083

Enable SSH

clip_image086

Click Discover to initiate system discovery

clip_image088

clip_image090

clip_image092

On the Discovery results page, in the Select the systems you want to manage: list, select the check box for the system or systems that you want to manage, or click Select All to include all discovered systems

If there are systems listed in the Select the systems you want to manage list on the Discovery results page that the wizard was unable to discover, you can click Details to get information about why the discovery failed. Correct the problem and repeat the discovery step

clip_image094

clip_image096

clip_image098

clip_image100

After you have selected the systems you want to manage, click Next to start the deployment, and to close the Discovery results page

On the Deployment complete page, the Computer and Device Management Wizard displays the agent deployment status in the Status menu.

clip_image102

Click Done to close the wizard.

IMPORT MP For Linux

clip_image104

Performance Monitoring by Using Default MP

clip_image106

clip_image108

clip_image110

Active Alert

clip_image112

Health Explorer

clip_image114

Performance Report

clip_image116

 

Cheers

Birojit