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.



Accept the EULA.



Choose Everyone. Click Next.



Then go ahead and click Install.



It finishes in a flash! Cick Close.



You’re still gonna see anything just yet.



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.


  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:



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.



Click Add.



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



Here, just go ahead and click Discover.



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.



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



Click Done.



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


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






2 responses

  1. Hi,

    You may also check how to send SMS from SCOM 2007 with Ozeki NG SMS Gateway:


    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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s