Solved

OpsMgr XPlat Agent Discovery Problem

Posted on 2010-09-01
2
1,141 Views
Last Modified: 2013-12-06
hi, I am using SCOM 2007 r2 and tried to discover Redhat 7.3 Virtual Machine.
I have updated the SCOM server with the cross platform cummulative update.
I have also created the linux Run as Account and Privileged account in the SCOM .
The Redhat agent has been imported as well.
I copied the GetOSVersion.sh file to the RedHat machine using WinSCP and run the command #sh GetOSVersion.sh

and the return was

# <OSName>Unknown<\OSName>

I found the same error header in SCOM discovery wizard.

Could not detect OS type and version.
Detail: <DataItem type="Microsoft.SSH.SSHCommandData" time="2010-09-01T15:24:01.7306944+08:00" sourceHealthServiceId="5068B005-0603-A764-97F9-95DB57A66B8F"><SSHCommandData><stdout>&lt;OSName&gt;Unknown&lt;/OSName&gt;
</stdout><stderr></stderr><returnCode>0</returnCode></SSHCommandData></DataItem>

I have installed debug view and  following is the result during the RedHat machine discovery process.
 
[3624] 10| Microsoft.Unix.DiscoveryScript.Deploy.Task task started.
[3624] 10| Executing DiscoveryScript.Deploy.Task
[3624] 10| Returned from DiscoveryScript.Deploy.Task
[3624] 10| DiscoveryScript.Deploy.Task returned as succeeded
[3624] 10| Return from DiscoveryTaskHelper.DeployOSInformationScript()
[3624] 10| Call to DiscoveryTaskHelper.ExecuteOSInformationScript()
[3624] Beginning ExecuteOSInformationScript on thread id: 10
[3624] 10| Executing DiscoveryScript.Discovery.Task
[3624] 10| Returned from DiscoveryScript.Discovery.Task
[3624] 10| DiscoveryScript.Discovery.Task returned as succeeded
[3624] 10| Return from DiscoveryTaskHelper.ExecuteOSInformationScript()
[3624] 4b7cbda5-5d24-4e2b-bb6f-d9160739c7c2 | 10 | Return from DiscoveryTaskHelper.ExecuteSSHDiscovery()
[3624] Microsoft.MOM.UI.Console.exe Information: 0 :
[3624] 4b7cbda5-5d24-4e2b-bb6f-d9160739c7c2 | 10 | 172.16.3.156: ExecuteSSHDiscovery successful.
[3624] Microsoft.MOM.UI.Console.exe Information: 0 :
[3624] 4b7cbda5-5d24-4e2b-bb6f-d9160739c7c2 | 10 | 172.16.3.156: ExecuteSSHDiscovery successful but script returned "Unknown".
[3624] Beginning OnDiscoveryTaskCompleted on thread id: 1
[3624] Beginning startNextDiscoveryTask on thread id: 1

I also had created the /tmp/scx-username directory in RedHat.

I tried to manually install the agent, but due to dependencies, i failed to complete the process.
But, I think the problem is regarding detecting the OS version of the Red Hat 7.3 machine...

There should be no connection issues since the ssh ports enabled at both side.

I hope somebody can help on this.
0
Comment
Question by:DeeBeeVee
2 Comments
 
LVL 27

Accepted Solution

by:
Nopius earned 500 total points
ID: 33633343
Hi.

RedHat 7.3 is quite obsolete and even not supported by RedHat... I guess your management pack doesn't match your OS version. The only supported versions are RHEL AS 4 and RHEL ES 5 (which are much newer than RedHat 7.2, which is a dinosaur).

You should either use supported OS (say RHEL5 or not supported, but almost the same CentOS5)  OR build custom management pack and install it instead.
Here are some usefull articles:

http://blogs.msdn.com/b/scxplat/default.aspx?PageIndex=1

http://blogs.msdn.com/b/scxplat/archive/2010/01/18/building-a-centos-management-pack-part-3.aspx

Regards,
Arty
0
 

Author Closing Comment

by:DeeBeeVee
ID: 33741338
I had change the OS version where I create a new VM using RedHat 5 and configured the network...

Then , I discovered the new RedHat using SCOM and it was successfully discovered.

But, when I navigate to the diagram view, there is no hierarchy for the RedHat machine where the
child count = 0.....

I had tried to remove and installed back the agent... The was no improvement at all.... I hope somebody can help on this..Thank You
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question