All Projects → mcktr → check_fritz

mcktr / check_fritz

Licence: GPL-2.0 license
Check plugin written in Go to monitor a Fritz!Box

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to check fritz

check tr64 fritz
Icinga 2 Plugin to check a Fritz!Box
Stars: ✭ 29 (+0%)
Mutual labels:  icinga2, avm, fritz
kube-icinga
Monitor kubernetes services / resources using icinga2 (including autodiscovery support)
Stars: ✭ 31 (+6.9%)
Mutual labels:  icinga, icinga2
nagios-plugins-openshift
Nagios/Icinga 2 Plugins for monitoring OpenShift clusters
Stars: ✭ 24 (-17.24%)
Mutual labels:  icinga, monitoring-plugins
avm juischeck
Query the AVM update information services (JUIS and CATI) for product firmware updates
Stars: ✭ 21 (-27.59%)
Mutual labels:  avm, fritz
check dnssec expiry
Icinga / Nagios plugin to validate DNSSEC validity of a DNS zone.
Stars: ✭ 19 (-34.48%)
Mutual labels:  icinga, icinga2
icinga2-diagnostics
Shell script for analyzing Icinga 2 installations.
Stars: ✭ 25 (-13.79%)
Mutual labels:  icinga, icinga2
homebridge-callmonitor
Signals incoming and outgoing calls using the call monitor facility in Fritz!Box devices via HomeKit
Stars: ✭ 25 (-13.79%)
Mutual labels:  fritzbox, fritz
nagiosplugin
A Python class library which helps with writing Nagios (Icinga) compatible plugins.
Stars: ✭ 19 (-34.48%)
Mutual labels:  icinga, icinga2
fritz-tools
Useful tools for AVM devices
Stars: ✭ 22 (-24.14%)
Mutual labels:  fritzbox, avm
check netapp ontap
🍀 Check NetApp Ontap 🍀
Stars: ✭ 38 (+31.03%)
Mutual labels:  monitoring-plugins
hashicorp-vault-monitor
🔑 HashiCorp Vault Monitoring Tool
Stars: ✭ 22 (-24.14%)
Mutual labels:  monitoring-plugins
icingadb
Icinga configuration and state database supporting multiple environments
Stars: ✭ 48 (+65.52%)
Mutual labels:  icinga
signalilo
Forward alerts from Prometheus Alertmanager to Icinga2 via Webhooks
Stars: ✭ 57 (+96.55%)
Mutual labels:  icinga2
puppet-icinga2
Puppet module to manage Icinga 2
Stars: ✭ 61 (+110.34%)
Mutual labels:  icinga
check netscaler
A Nagios Plugin written in Perl for the Citrix ADC (formerly Citrix NetScaler). It uses the NetScaler NITRO API.
Stars: ✭ 36 (+24.14%)
Mutual labels:  icinga
icinga-web
Icinga Web 1.x, the old new web interface (EOL 31.12.2018)
Stars: ✭ 22 (-24.14%)
Mutual labels:  icinga
icingaweb2-module-cube
Drill-down view for Icinga web 2 based on custom variables
Stars: ✭ 40 (+37.93%)
Mutual labels:  icinga
FritzBoxTelefon-dingsbums
Das Fritz!Box Telefon-dingsbums ist ein Outlook-Addin, welches ein direktes Wählen der Kontakte aus Outlook ermöglicht. Zusätzlich bietet es nützliche Funktionen, wie einen Anrufmonitor oder eine Rückwärtssuche.
Stars: ✭ 16 (-44.83%)
Mutual labels:  fritzbox
check zpools
Monitor the usage and status of ZFS Pools (zpools)
Stars: ✭ 16 (-44.83%)
Mutual labels:  monitoring-plugins
icingaweb2-module-fileshipper
Provide CSV, JSON, XML and YAML files as an Import Source for the Icinga Director and optionally ship hand-crafted additional Icinga2 config files
Stars: ✭ 25 (-13.79%)
Mutual labels:  icinga2

check_fritz

CI

Table of Contents

  1. Introduction
  2. Support
  3. Requirements
  4. Installation
  5. Usage

Introduction

This is a check plugin, written in Go, for Icinga 2 to monitor a Fritz!Box.

Support

Please ask your questions related to the configuration in the community channels. For bugs and feature requests please open an issue.

Requirements

The TR-064 feature must be enabled on the Fritz!Box.

You can enable the feature in the following menu:

Heimnetz -> Netzwerk -> Netzwerkeinstellungen ->  Heimnetzfreigaben -> Zugriff für Anwendungen zulassen

Fritz!Box configuration

Installation

  • Download the latest stable binary package for your architecture from the release page.
  • Verify the checksum using sha256sum.

Example:

$ wget [DOWNLOAD URL CURRENT RELEASE]]/check_fritz.linux.amd64
$ wget [DOWNLOAD URL CURRENT RELEASE]]/check_fritz.linux.amd64.sha256

$ sha256sum -c check_fritz.linux.amd64.sha256
check_fritz.linux.amd64: OK

The checksum verification must return OK.

If you successfully verified the checksum, move the check plugin binary to your Icinga 2 plugin directory. It is also recommended to rename the binary package to check_fritz, since the suffix is only required for the checksum verification.

Ensure that you also set the executable bit with chmod +x check_fritz.

Note

If you use SELinux and the binary is copied from a home directory to the plugin directory, you must reset the context of it with restorecon -v /your/path/to/binary/check_fritz.

Usage

Parameter

Parameter (short) Parameter (long) Description
-H --hostname Optional. IP-Address or Hostname of the Fritz!Box. Defaults to fritz.box.
-P --port Optional. Port for TR-064 over SSL. Defaults to 49443.
-u --username Optional. Fritz!Box web interface Username for authentication. Defaults to dslf-config.
-p --password Required. Fritz!Box web interface Password for authentication.
-m --method Optional. Defines the used check method. Defaults to connection_status.
-w --warning Optional. Defines a warning threshold. Defaults to none.
-c --critical Optional. Defines a critical threshold. Defaults to none.
-a --ain Optional. Defines the AIN required by smart device check methods. Defaults to none.
-t --timeout Optional. Defines the timeout in seconds to wait for an answer from the Fritz!Box. Defaults to 90.
-M --modelgroup Optional. Defines the Fritz!Box model group. Supported model groups are DSL and Cable. Defaults to DSL.

Note:

If you don't use the authentication method with username and password on your Fritz!Box, leave the username blank.

Methods

Name Description
connection_status WAN connection status.
connection_uptime WAN connection uptime in seconds.
device_uptime Device uptime in seconds.
device_update Update state.
downstream_max Maximum downstream.
downstream_current Current downstream.
downstream_usage Current downstream usage.
smart_heatertemperatur Current temperature of a radiator thermostat. Requires AIN.
smart_socketpower Current power consumption of a socket switch. Requires AIN.
smart_socketenergy Total power consumption of the last year of a socket switch. Requires AIN.
smart_status Current smart device connection status. Requires AIN.
upstream_max Maximum upstream.
upstream_current Current upstream.
upstream_usage Current upstream usage.

Icinga 2 CheckCommand

You can use this predefined Icinga 2 CheckCommand. For more information about CheckCommand objects please refere to the official Icinga 2 documenation.

object CheckCommand "fritz" {
	command = [ CustomPluginDir + "/check_fritz" ]

	arguments += {
		"--hostname" = "$fritz_hostname$"
		"--port" = "$fritz_port$"
		"--username" = "$fritz_username$"
		"--password" = "$fritz_password$"
		"--method" = "$fritz_method$"
		"--warning" = "$fritz_warning$"
		"--critical" = "$fritz_critical$"
		"--index" = "$fritz_index$"
		"--ain" = "$fritz_ain$"
		"--timeout" = "$fritz_timeout$"
		"--modelgroup" = "$fritz_modelgroup$" 
	}

	vars.fritz_hostname = "$address$"
}

Note

This predefined CheckCommand object for Icinga 2 requires a global constants named CustomPluginDir. You can define them in constants.conf in the root Icinga 2 configuration directory. For more information please read the official Icinga 2 documentation about global constants.

Thanks

Thanks to all contributors!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].