Skip to content

Commit f2211d8

Browse files
authored
Scom linux data collector (#11)
* Create README.md for scom-linux data collector * Create LICENSE * Create SCOMLinuxDataCollector.sh
1 parent 33049ce commit f2211d8

File tree

3 files changed

+1644
-0
lines changed

3 files changed

+1644
-0
lines changed

SCOMLinuxDataCollector/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE

SCOMLinuxDataCollector/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SCOM Linux Data Collector
2+
3+
[https://aka.ms/SCOM-LinuxDataCollector](https://aka.ms/SCOM-LinuxDataCollector)
4+
5+
- The SCOM Linux Data Collector is a shell script which can be run on Linux/Unix Distribution to collect information about the Operating System and the SCOM Linux Agent.
6+
- This tool can be helpful to figure out problems one might encounter during SCOM Linux Agent Installation and Monitoring.
7+
- The tool is Read-Only and does not change the state of the executed machine.
8+
9+
| Parameters | Purpose | Description |
10+
|------------|-----------------------|------------------------------------------------------------------------------------------------------------------|
11+
| -o | OutputPath | Specify the location of collection. If not specified, it will collect the data in the current working directory. |
12+
| -m | SCXMaintenanceAccount | Specify the SCX Maintenance Account. This will be used to check the sudo privilege for the account. |
13+
| -n | SCXMonitoringAccount | Specify the SCX Monitoring Account. This will be used to check the sudo privilege for the account. |
14+
15+
## Usage
16+
```bash
17+
~\# bash SCOMLinuxDataCollector.sh -o [output directory] -m [scom maintenance account] -n [scom monitoring account]
18+
```
19+
20+
### Example
21+
```bash
22+
~\# bash SCOMLinuxDataCollector.sh -o /tmp -m scxmaint -n scxmon
23+
```
24+
25+
## Output
26+
The output will be a zipped file with the name `SCOMLinuxDataCollectorData.tar.gz`

0 commit comments

Comments
 (0)