Enjoy Sharing

UNIX and Linux Monitoring with SCOM 2007 R2

Just wanted to share some experience having to monitor a HPUX 11.23 computer and a RedHat Linux 5.6 computer. For the most part of it, it was easy. Bare in mind that I am in no way a UNIX or Linux person.

First up, importing the cross platform management pack. Go ahead and download it here.

Once you’ve downloaded it, go install it, dude! Double click on it.

clip_image002

 

Accept the EULA.

clip_image001

 

Choose Everyone. Click Next.

clip_image001[5]

 

Then go ahead and click Install.

clip_image001[7]

 

It finishes in a flash! Cick Close.

clip_image001[9]

 

You’re still gonna see anything just yet.

clip_image002[5]

 

Next up, installing the agents.

For the Red Hat Enterprise Linux, I did it the following with the help of a friend to navigate around. Of course I got it from here.

  1. Transfer the agent (scx-<version>-<os>-<arch>.rpm) to the Linux server.

    scx-<version>-<os>-<arch>.rpm

  2. To install the package, type

    rpm -i scx-<version>-<os>-<arch>.rpm

  3. To verify that the package is installed, type

    rpm -q scx

  4. To verify that the Microsoft SCX CIM Server is running, type

    service scx-cmid status

 

HPUX was not much different, steps wise.

  1. Transfer the agent (scx-<version>-<os>-<arch>.gz) to the HP server:

    cp scx-<version>-<os>-<arch>.gz

  2. To unzip the package, type

    gzip –d scx-<version>-<os>-<arch>.gz

  3. To install the package, type

    swinstall –s /path/scx-<version>-<os>-<arch> scx

  4. To verify that the package is installed, type

    swlist scx

  5. To verify that the Microsoft SCX CIM Server is running, type

    ps –ef|grep scx

    Look for the following process in the list:

    scxcimserver

 

Once the agents are installed, they don’t immediately push data back to the management server. You still need to run the Discovery Wizard. However, that didn’t just work for me and I discovered that a certificate signing process failed. In short what I had to do was copy a file out from the HPUX and RHEL computers, manually sign it, and then copy back the signed file overwriting the original file. I’d probably cover that in another post.

Provided you’ve got that sorted out, go ahead and run the DIscovery Wizard. Choose the Unix/Linux computers option.

clip_image002[7]

 

Click Add.

clip_image002[9]

 

Tell it the IP address or DNS name of your Unix/Linux computer together with credentials it needs to run discovery.

clip_image001[11]

 

Here, just go ahead and click Discover.

clip_image002[11]

 

You’re gonna realise that you are gonna run into another problem where it cannot resolve to a DNS name. That’s obvious considering they are not part of a domain nor registers into DNS. The solution is to add it into the hosts file of your management server.

clip_image002[13]

 

When everything goes well you should see, then you can just hit the Next button.

clip_image002[15]

 

Click Done.

clip_image002[17]

 

Now I see both my Unix and Linux servers being monitored.

image

Oh BTW, do not forget to configure a Run As account for those Unix and Linux computers you’re monitoring. Follow these steps.

 

 

 

Enjoy!!!

Advertisements

2 responses

  1. Hi,

    You may also check how to send SMS from SCOM 2007 with Ozeki NG SMS Gateway:
    sms-integration.com/p_13-scom-2007-sms.html

    BR

    May 25, 2012 at 8:41 pm

  2. Mark Smith

    Check the eG Innovations SCOM management pack for Unix – http://www.eginnovations.com/SCOM/

    December 27, 2013 at 12:56 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s