Solved

OpsMgr XPlat Agent Discovery Problem

Posted on 2010-09-01
2
1,136 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now