summaryrefslogtreecommitdiffstats
path: root/tools/get_sosreports/README.md
blob: 57176f27f703b22e0845fc53170047ec187c57cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# get_sosreports
Tool to collect sosreports from all servers and clients.

## Prerequisites
1. Python 3.x
2. Passwordless ssh should be setup.

## Installation
1. Change directory to the project directory.

```
# cd tools/get_sosreports
```

2. Now run the installation script.

```
# python3 setup.py install
```

3. To check run:

```
# get_sosreports --help
```

## Usage
There are 2 ways of using the tool.
1. Passing IP addresses through command line seperated by comma(,):

```
# get_sosreports -m machine_1,machine_2,machine_3
```

2. Passing a glusto-tests config file:

```
# get_sosreports -f config_file
```

**Note**:
The default destination directory is `.` (present dir) `-d` or `--dist-dir` option.

## Licence
[GPLv3](https://github.com/gluster/glusto-tests/blob/master/LICENSE)