microsoft / build-oms-agent-for-linux Goto Github PK
View Code? Open in Web Editor NEWBuild projects required for omsagent
License: Other
Build projects required for omsagent
License: Other
The instructions mention that if I don't have access to the "OMS TestConfig" repo I should only run the first git clone. However, even there I get denied access to another repository:
$git clone --recursive [email protected]:Microsoft/Build-OMS-Agent-for-Linux.git bld-omsagent
Cloning into 'bld-omsagent'...
...
Checking connectivity... done.
Submodule 'auoms' ([email protected]:Microsoft/OMS-Auditd-Plugin.git) registered for path 'auoms'
Submodule 'dsc' ([email protected]:Microsoft/PowerShell-DSC-for-Linux.git) registered for path 'dsc'
Submodule 'omi' ([email protected]:Microsoft/omi.git) registered for path 'omi'
Submodule 'omsagent' ([email protected]:Microsoft/OMS-Agent-for-Linux.git) registered for path 'omsagent'
Submodule 'opsmgr' ([email protected]:Microsoft/SCXcore.git) registered for path 'opsmgr'
Submodule 'opsmgr-kits' ([email protected]:Microsoft/SCXcore-osskits.git) registered for path 'opsmgr-kits'
Submodule 'pal' ([email protected]:Microsoft/pal.git) registered for path 'pal'
Cloning into '/Users/andre/work/vc/bld-omsagent/auoms'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:Microsoft/OMS-Auditd-Plugin.git' into submodule path '/Users/andre/work/vc/bld-omsagent/auoms' failed
Customer faced this issue in https://icm.ad.msft.net/imp/v3/incidents/details/94485725/home
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
In the released omsagent-1.2.0-148.universal.x64.sh, it installs omi, scx, omsagent, and omsconfig packages.
I followed the steps in Readme to build omsagent package on Ubuntu 14.04, and it comes out deb packages of omi, scx, and omsagent. Then how to build the omsconfig package?
And when I install the built packages one by one, installing omsagent package outputs a log:
-su: /opt/microsoft/omsconfig/Scripts/OMS_MetaConfigHelper.py: No such file or directory
Is it normal behavior?
I built omsagent on a RHEL7 s390x server. After some code adjustements required by this architecture, I successfully built auoms, scx, omi and omsagent. rpms.
I then performed a manual installation of these rpms. Everything went smoothly, except for some SELinux policy that failed to install. Since SELinux is disabled on my server, I don't think I should matter about it...
I now have the following process running:
/opt/omi/bin/omiserver -d
/opt/omi/bin/omiengine -d --logfilefd 3 --socketpair 9
Now, when I try to perform a discover of this agent from system center, it fails and I can see the following errors from /var/opt/omi/log/omiagent.root.root.log
2018/11/28 14:25:01 [15104,15104] WARNING: null(0): EventId=30042 Priority=WARNING cannot open shared library: {/opt/omi/lib/libSCXCoreProviderModule.so}: /opt/omi/lib/libSCXCoreProviderModule.so: undefined symbol:
_ZN12SCXSystemLib22SystemInfoDependencies9CallCPUIDENS_13CpuIdFunctionERNS_9RegistersE
2018/11/28 14:25:01 [15104,15104] WARNING: null(0): EventId=30041 Priority=WARNING cannot open shared library: {SCXCoreProviderModule}: SCXCoreProviderModule: cannot open shared object file: No such file or directory
2018/11/28 14:25:01 [15104,15104] WARNING: null(0): EventId=30065 Priority=WARNING failed to open provider library: SCXCoreProviderModule
2018/11/28 14:25:01 [15104,15104] ERROR: null(0): EventId=20001 Priority=ERROR Agent _RequestCallback: ProvMgr_NewRequest failed with result 1 !
Any idea on how to solve this would be welcome!
I've tried building this source on Rasbpian on a Pi B 3+ (32 bit) and on Ubuntu 64 bit (Pi 4.) I've gotten interesting failures both times:
I wanted an OMS Agent and syslog daemon running at home for a test Sentinel instance. All I have these days are Raspberry Pis. Note that these instructions assume some Linux/Unix familiarity. I may make the instructons a bit more "universal" and easily read at a later date.
... so I tried again, this time on a Pi 4 running 64 Bit Ubuntu Server.
On the initial configure run it falied; I had to add 7 lines to bld-omsagent/omsagent/Unix/buildtool so that "aarch64" was a supported architecture, but still didn't get far.
ICM 97630766
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.