Skip to content

Commit

Permalink
Added docu on ztmplimport.py
Browse files Browse the repository at this point in the history
  • Loading branch information
q1x committed Aug 22, 2016
1 parent 217ffd3 commit b3dec31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -35,6 +35,7 @@ All of these tools can be invoked with `-h/--help` to get help.
- `zhproxyfinder.py` - Finds configured proxy for a Zabbix host.

### Template related:
- `ztmplimport.py' - Imports .xml template into zabbix
- `zhtmplfinder.py` - Finds linked templates for a Zabbix host.
- `zthostfinder.py` - Finds hosts that are linked to a template.
- `zthtmllinker.py` - Links host(group)s to a list of templates.
Expand Down Expand Up @@ -104,6 +105,12 @@ zabbix_sender -k $ITEMKEY -o $ITEMVALUE -s $HOSTNAME -z $(zhproxyfinder.py $HOST
./zhtmplunlink.py -G "Webservers" -t "Template App MySQL"
```

##### Import all .xml templates verbosely from the directory 'templates' and continue with the next template on error.

```
./ztmplimport.py -v -C ./templates/*.xml
```

#### Get the latest item value from history for the item with itemid 1001

```
Expand Down

0 comments on commit b3dec31

Please sign in to comment.