Plant monitoring v0.1

IMPORTANT: This article will be updated, last change: 11.10.2020 13:42

Today I describe a new project to monitor plants:

How it looks when it is integrated into Nagios

GitHub Repository: nagios_check_plant_sensor

Nagios configuration

Mind the “local-service-plantsensor”, it’s important to reduce the calls to safe the plantsensor battery

define service {
    name                    local-service-plantsensor
    use                     local-service
    max_check_attempts      1
    check_interval          360
    notification_interval   360
    register                0
}

define service{
    use                     local-service-plantsensor,graphed-service
    host_name               plantsensor
    service_description     Plant 1: Moisture
    check_command           check_nrpe!check_plant1_moisture
}

define service{
    use                     local-service-plantsensor,graphed-service
    host_name               plantsensor
    service_description     Plant 1: Battery
    check_command           check_nrpe!check_plant1_battery
}

define service{
    use                     local-service-plantsensor,graphed-service
    host_name               plantsensor
    service_description     Plant 1: Temperature
    check_command           check_nrpe!check_plant1_temperature
} 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top