pyzabbix - Zabbix API 的 Python 封装
未知
跨平台
Python
软件简介
pyzabbix 是 Zabbix API 的 Python 封装模块。
使用方法:
[root@test Zabbix-PyZabbix]# python zabbix_host_delete.py -h
Usage: zabbix_host_delete.py [options]
Options:
-h, --help show this help message and exit
-s SERVER, --server=SERVER
(REQUIRED)Zabbix Server URL.
-u USERNAME, --username=USERNAME
(REQUIRED)Username (Will prompt if not given).
-p PASSWORD, --password=PASSWORD
(REQUIRED)Password (Will prompt if not given).
-H HOSTNAME, --hostname=HOSTNAME
(REQUIRED)hostname for hosts.
-f FILE, --file=FILE Load values from input file. Specify - for standard
input Each line of file contains whitespace delimited:
<hostname>