Skip to content

Commit

Permalink
upd readme, snmplib
Browse files Browse the repository at this point in the history
  • Loading branch information
Koos85 committed Feb 6, 2023
1 parent 481fdf7 commit 5328ecf
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,36 @@ Variable | Default | Description
```
docker build -t synology-probe . --no-cache
```

## Config

See the [SNMP probe](https://github.com/infrasonar/snmp-probe#config).

## Dry run

Available checks:
- `disk`
- `diskSMART`
- `ebox`
- `iSCSILUN`
- `raid`
- `service`
- `spaceIO`
- `storageIO`
- `system`

Create a yaml file, for example _(test.yaml)_:

```yaml
asset:
name: "foo.local"
check: "system"
config:
address: "192.168.1.2"
```
Run the probe with the `DRY_RUN` environment variable set the the yaml file above.

```
DRY_RUN=test.yaml python main.py
```
2 changes: 1 addition & 1 deletion lib/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version string. Examples:
# '3.0.0'
# '3.0.0-alpha9'
__version__ = '3.0.1-alpha1'
__version__ = '3.0.1-alpha2'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
asyncsnmplib==0.1.8
asyncsnmplib==0.1.9
libprobe==0.2.27

0 comments on commit 5328ecf

Please sign in to comment.