Skip to content

RandomReaper/weewx-zabbix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weewx-zabbix

Allow weewx (open source software for your weather station) to push data to zabbix (open source monitoring software).

Installation

Should I really say that a working weewx and zabbix setup are requiered?

Dependencies

This plugins uses the zabbix_sender command, so it must be available on the host running weewx.

Build the package, or get it from here

mkdir -p ~/git/ && cd ~/git && git clone https://github.com/RandomReaper/weewx-zabbix.git
cd weewx-zabbix
./gen-tar.sh

Install the weewx extension

sudo wee_extension --install weewx-zabbix.tgz

Configure the weewx extension

# Options for extension 'zabbix'
[ZABBIX]
    # service can be disabled
    enable = true
    
    # zabbix_sender full name+path
    zabbix_sender = /usr/bin/zabbix_sender

    # Zabbix server IP
    server = 127.0.0.1

    # Zabbix host to store the values
    host = server-home
    
    # Prefix for generating the zabbix key name
    prefix = weewx_

Add the key to zabbix

Add a key of type "Zabbix trapper", with the key name weewx_outTemp (formed with the prefix set in the config file + the weewx key name).

Availables key

Here is a list of the key pushed on my system, probably configuration dependant.

weewx_altimeter
weewx_heatindex
weewx_radiation
weewx_inDewpoint
weewx_inTemp
weewx_barometer
weewx_windchill
weewx_dewpoint
weewx_rain
weewx_humidex
weewx_pressure
weewx_rainRate
weewx_usUnits
weewx_txBatteryStatus
weewx_appTemp
weewx_UV
weewx_dateTime
weewx_windDir
weewx_outTemp
weewx_windSpeed
weewx_inHumidity
weewx_windGust
weewx_windGustDir
weewx_cloudbase

My setup

WH2600

The WH2600 weather station pushes data to zabbix using weewx-interceptor, then weewx-zabbix pushes data to zabbix.