added format option

This commit is contained in:
2025-11-01 13:38:31 +01:00
parent 419f7acd4b
commit 85079c9272
2 changed files with 40 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ zabbix:
* user must have access to API `template.get`
## usage
* get an overview of *used* templates: `./main.py --overview`
* get an overview of *used* templates: `./main.py --overview --server foo`
```
Borg Backup Passive
Vendor:
@@ -41,7 +41,15 @@ FreeBSD by Zabbix agent
router.exmaple.com
...
```
* check for new versions and download known templates: `./main.py --check`
* get an overview of *used* templates in machine readable format: `./main.py --overview --server foo --format machine`
* copy&paste'able into libre calc
```
name vendor version uuid hosts known
Borg Backup Passive 3077e7298167465b96d30503bcff4769 devloop.de,blah.example.com,moep.example.com no
FreeBSD by Zabbix agent Zabbix 7.0-2 a3dc630729e443139f4e608954fa6e19 router.exmaple.com yes
...
```
* check for new versions and download known templates: `./main.py --check --server foo`
```
found update for Template Module Generic SNMPv2
found update for Template OS FreeBSD