mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 01:28:58 +00:00

I saw that "string" was mistyped, and it got merged. Sorry, is this the right way to change it? To make a PR again?
53 lines
1.7 KiB
Markdown
53 lines
1.7 KiB
Markdown
---
|
|
layout: page
|
|
title: "Zabbix Sensor"
|
|
description: "Instructions on how to integrate Zabbix Triggers sensors within Home Assistant."
|
|
date: 2016-12-13 22:57
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: zabbix.png
|
|
ha_category: System Monitor
|
|
ha_release: 0.37
|
|
ha_iot_class: "Local Polling"
|
|
---
|
|
|
|
The `zabbix` sensor platform let you monitor the current count of active triggers for your [Zabbix](http://www.zabbix.com/) monitoring instance.
|
|
|
|
<p class='note'>
|
|
You must have the [Zabbix component](/components/zabbix/) configured to use those sensors.
|
|
</p>
|
|
|
|
To set it up, add the following information to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
sensor:
|
|
- platform: zabbix
|
|
triggers:
|
|
name: Important Hosts Trigger Count
|
|
hostids: [10051,10081,10084]
|
|
individual: true
|
|
```
|
|
|
|
{% configuration %}
|
|
triggers:
|
|
description: Specifies that this sensor is for Zabbix 'triggers'. In the future there will be other Zabbix sensors.
|
|
required: true
|
|
type: string
|
|
name:
|
|
description: Allows you to specify the name for the Sensor, otherwise the host name, as stored in Zabbix, is used. This is useful when you are specifying a list of hostids to monitor as a single count.
|
|
required: false
|
|
type: string
|
|
hostids:
|
|
description: This is a list of Zabbix hostids that we want to filter our count on.
|
|
required: false
|
|
type: string
|
|
individual:
|
|
description: A 'true'/'false' to specify whether we should show individual sensors when a list of hostids is provided. If false, the sensor state will be the count of all triggers for the specified hosts (or all hosts within the Zabbix instance, if hostids isn't provided).
|
|
required: false
|
|
type: boolean
|
|
{% endconfiguration %}
|
|
|