zabbix_map

投稿日:

マニュアル

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

This module allows you to create, modify and delete Zabbix map entries, using Graphviz binaries and text description written in DOT language. Nodes of the graph will become map elements and edges will become links between map elements. See U(https://en.wikipedia.org/wiki/DOT_(graph_description_language)) and U(https://www.graphviz.org/) for details. Inspired by U(http://blog.zabbix.com/maps-for-the-lazy/).

必要条件

  • python >= 2.6
  • zabbix-api
  • pydotplus
  • webcolors
  • Pillow
  • Graphviz

ステータス

プレビュー(preview)

オプション

パラメータ 選択肢/デフォルト コメント(リンクをクリックするとGoogle翻訳)
data
Graph written in DOT language.

別名: dot_data
default_image
Name of the Zabbix image used to display the element if this element doesn't have the zbx_image attribute defined.

別名: image
expand_problem
bool
選択肢
  • no
  • yes ←
Whether the the problem trigger will be displayed for elements with a single problem.
height
デフォルト:
600
Height of the map.
highlight
bool
選択肢
  • no
  • yes ←
Whether icon highlighting is enabled.
http_login_password

2.1で追加
Basic Auth password
http_login_user

2.1で追加
Basic Auth login
label_type
選択肢
  • label
  • ip
  • name
  • status
  • nothing
  • custom
Map element label type.
login_password
必須
Zabbix user password.
login_user
必須
Zabbix user name.
margin
デフォルト:
40
Size of white space between map's borders and its elements.
name
必須
Name of the map.

別名: map_name
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 map. On present, it will create if map does not exist or update the map if the associated data is different. On absent will remove the map if it exists.
timeout
デフォルト:
10
The timeout of API request (seconds).
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.
width
デフォルト:
800
Width of the map.

ソースコード

monitoring/zabbix/zabbix_map.py