Skip to content

Commit

Permalink
librenms-*: Change default value
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed Mar 29, 2024
1 parent 1ebdff8 commit d870e93
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"tpl-service-generic"
],
"max_check_attempts": 5,
"notes": "This check warns of unacknowledged alerts in LibreNMS and reports the most recent alert for each device (only for those that do not have \"Disabled alerting\" in their LibreNMS device settings). If alerts have been triggered in LibreNMS, you will see them on the *Alerts > Notifications* page within the Web UI. When you acknowledge an alert in LibreNMS, this check will change the status for the corresponding device to OK. This check requires direct access to the LibreNMS MySQL/MariaDB database. The API is simply too resource intensive for use in a large scale environment.",
"notes": "This check warns of unacknowledged alerts in LibreNMS and reports the most recent alert for each device (only for those that do not have \"Disabled alerting\" in their LibreNMS device settings). If alerts have been triggered in LibreNMS, you will see them on the *Alerts > Notifications* page within the Web UI. When you acknowledge an alert in LibreNMS, this check will change the status for the corresponding device to OK. This check requires direct access to the LibreNMS MySQL/MariaDB database, because the API is simply too resource intensive for use in a large scale environment.",
"notes_url": "https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/librenms-alerts",
"object_name": "tpl-service-librenms-alerts",
"object_type": "template",
Expand All @@ -244,7 +244,7 @@
"librenms_alerts_always_ok": false,
"librenms_alerts_defaults_file": "/var/spool/icinga2/.my.cnf",
"librenms_alerts_defaults_group": "client",
"librenms_alerts_lengthy": false,
"librenms_alerts_lengthy": true,
"librenms_alerts_severity": "crit",
"librenms_alerts_timeout": 3
},
Expand Down Expand Up @@ -281,7 +281,7 @@
"tpl-service-generic"
],
"max_check_attempts": 5,
"notes": "This check warns of unacknowledged alerts in LibreNMS and reports the most recent alert for each device (only for those that do not have \"Disabled alerting\" in their LibreNMS device settings). If alerts have been triggered in LibreNMS, you will see them on the *Alerts > Notifications* page within the Web UI. When you acknowledge an alert in LibreNMS, this check will change the status for the corresponding device to OK. This check requires direct access to the LibreNMS MySQL/MariaDB database. The API is simply too resource intensive for use in a large scale environment.",
"notes": "This check warns of unacknowledged alerts in LibreNMS and reports the most recent alert for each device (only for those that do not have \"Disabled alerting\" in their LibreNMS device settings). If alerts have been triggered in LibreNMS, you will see them on the *Alerts > Notifications* page within the Web UI. When you acknowledge an alert in LibreNMS, this check will change the status for the corresponding device to OK. This check requires direct access to the LibreNMS MySQL/MariaDB database, because the API is simply too resource intensive for use in a large scale environment.",
"notes_url": "https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/librenms-alerts",
"object_name": "tpl-service-librenms-alerts-windows",
"object_type": "template",
Expand All @@ -295,7 +295,7 @@
"librenms_alerts_windows_always_ok": false,
"librenms_alerts_windows_defaults_file": "/var/spool/icinga2/.my.cnf",
"librenms_alerts_windows_defaults_group": "client",
"librenms_alerts_windows_lengthy": false,
"librenms_alerts_windows_lengthy": true,
"librenms_alerts_windows_severity": "crit",
"librenms_alerts_windows_timeout": 3
},
Expand Down
4 changes: 2 additions & 2 deletions check-plugins/librenms-alerts/librenms-alerts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ from lib.globals import (STATE_CRIT, STATE_OK, # pylint: disable=C0413
STATE_UNKNOWN, STATE_WARN)

__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
__version__ = '2024032904'
__version__ = '2024032905'

DESCRIPTION = """This check warns of unacknowledged alerts in LibreNMS and
reports the most recent alert for each device (only for those
Expand All @@ -39,7 +39,7 @@ DESCRIPTION = """This check warns of unacknowledged alerts in LibreNMS and

DEFAULT_DEFAULTS_FILE = '/var/spool/icinga2/.my.cnf'
DEFAULT_DEFAULTS_GROUP = 'client'
DEFAULT_LENGTHY = False
DEFAULT_LENGTHY = True
DEFAULT_SERVERITY = 'crit'
DEFAULT_TIMEOUT = 3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"tpl-service-generic"
],
"max_check_attempts": 5,
"notes": "This check plugin retrieves sensor information for each device from a LibreNMS instance. This check requires direct access to the LibreNMS MySQL/MariaDB database. The API is simply too resource intensive for use in a large scale environment.",
"notes": "This check plugin retrieves sensor information for each device from a LibreNMS instance. This check requires direct access to the LibreNMS MySQL/MariaDB database, because the API is simply too resource intensive for use in a large scale environment.",
"notes_url": "https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/librenms-health",
"object_name": "tpl-service-librenms-health",
"object_type": "template",
Expand All @@ -228,7 +228,7 @@
"librenms_health_always_ok": false,
"librenms_health_defaults_file": "/var/spool/icinga2/.my.cnf",
"librenms_health_defaults_group": "client",
"librenms_health_lengthy": false,
"librenms_health_lengthy": true,
"librenms_health_timeout": 3
},
"volatile": null,
Expand Down Expand Up @@ -264,7 +264,7 @@
"tpl-service-generic"
],
"max_check_attempts": 5,
"notes": "This check plugin retrieves sensor information for each device from a LibreNMS instance. This check requires direct access to the LibreNMS MySQL/MariaDB database. The API is simply too resource intensive for use in a large scale environment.",
"notes": "This check plugin retrieves sensor information for each device from a LibreNMS instance. This check requires direct access to the LibreNMS MySQL/MariaDB database, because the API is simply too resource intensive for use in a large scale environment.",
"notes_url": "https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/librenms-health",
"object_name": "tpl-service-librenms-health-windows",
"object_type": "template",
Expand All @@ -278,7 +278,7 @@
"librenms_health_windows_always_ok": false,
"librenms_health_windows_defaults_file": "/var/spool/icinga2/.my.cnf",
"librenms_health_windows_defaults_group": "client",
"librenms_health_windows_lengthy": false,
"librenms_health_windows_lengthy": true,
"librenms_health_windows_timeout": 3
},
"volatile": null,
Expand Down
4 changes: 2 additions & 2 deletions check-plugins/librenms-health/librenms-health
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ from lib.globals import (STATE_CRIT, STATE_OK, # pylint: disable=C0413
STATE_UNKNOWN, STATE_WARN)

__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
__version__ = '2024032902'
__version__ = '2024032903'

DESCRIPTION = """This check plugin retrieves sensor information for each device
from a LibreNMS instance.
Expand All @@ -35,7 +35,7 @@ DESCRIPTION = """This check plugin retrieves sensor information for each device
DEFAULT_DEFAULTS_FILE = '/var/spool/icinga2/.my.cnf'
DEFAULT_DEFAULTS_GROUP = 'client'
DEFAULT_INSECURE = False
DEFAULT_LENGTHY = False
DEFAULT_LENGTHY = True
DEFAULT_NO_PROXY = False
DEFAULT_TIMEOUT = 3
DEFAULT_URL = 'http://localhost'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"tpl-service-generic"
],
"max_check_attempts": 5,
"notes": "This check displays LibreNMS instance information, using ' its API. This is not a \"is there a new version out there\" ' check as LibreNMS is capable of updating itself ' (if running the Git version).",
"notes": "This check displays LibreNMS instance information, using its API. This is not a \"is there a new version out there\" check as LibreNMS is capable of updating itself (if running the Git version).",
"notes_url": "https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/librenms-version",
"object_name": "tpl-service-librenms-version",
"object_type": "template",
Expand Down Expand Up @@ -211,7 +211,7 @@
"tpl-service-generic"
],
"max_check_attempts": 5,
"notes": "This check displays LibreNMS instance information, using ' its API. This is not a \"is there a new version out there\" ' check as LibreNMS is capable of updating itself ' (if running the Git version).",
"notes": "This check displays LibreNMS instance information, using its API. This is not a \"is there a new version out there\" check as LibreNMS is capable of updating itself (if running the Git version).",
"notes_url": "https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/librenms-version",
"object_name": "tpl-service-librenms-version-windows",
"object_type": "template",
Expand Down

0 comments on commit d870e93

Please sign in to comment.