Solved

OpsMgr XPlat Agent Discovery Problem

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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

13 Experts available now in Live!

Get 1:1 Help Now