zabbix_proxy

投稿日:

マニュアル

概要(リンクをクリックするとGoogle翻訳)

This module allows you to create, modify, get and delete Zabbix proxy entries.

必要条件

  • python >= 2.6
  • zabbix-api >= 0.5.3

ステータス

プレビュー(preview)

オプション

パラメータ 選択肢/デフォルト コメント(リンクをクリックするとGoogle翻訳)
description
Description of the proxy..
http_login_password

2.1で追加
Basic Auth password
http_login_user

2.1で追加
Basic Auth login
interface
Dictionary with params for the interface when proxy is in passive mode Available values are: dns, ip, main, port, type and useip. Please review the interface documentation for more information on the supported properties U(https://www.zabbix.com/documentation/3.2/manual/api/reference/proxy/object#proxy_interface)
login_password
必須
Zabbix user password.
login_user
必須
Zabbix user name.
proxy_name
必須
Name of the proxy in Zabbix.
server_url
必須
URL of Zabbix server, with protocol (http or https). url is an alias for server_url.

別名: url
state
選択肢
  • present
  • absent
State of the proxy. On present, it will create if proxy does not exist or update the proxy if the associated data is different. On absent will remove a proxy if it exists.
status
選択肢
  • active
  • passive
Type of proxy. (4 - active, 5 - passive)
timeout
デフォルト:
10
The timeout of API request (seconds).
tls_accept
選択肢
  • no_encryption
  • PSK
  • certificate
Connections from proxy.
tls_connect
選択肢
  • no_encryption
  • PSK
  • certificate
Connections to proxy.
tls_issuer
Certificate issuer.
tls_psk
The preshared key, at least 32 hex digits. Required if either tls_connect or tls_accept has PSK enabled.
tls_psk_identity
PSK identity. Required if either tls_connect or tls_accept has PSK enabled.
tls_subject
Certificate subject.
validate_certs
bool
2.5で追加
選択肢
  • no
  • yes ←
If set to False, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.

ソースコード

monitoring/zabbix/zabbix_proxy.py