[tor-commits] [metrics-cloud/master] monitor: Import bushel Nagios plugins config

irl at torproject.org irl at torproject.org
Thu Oct 3 10:34:14 UTC 2019


commit 405ed24ab5a30cd0fd30d1aec8908ecc996b82a9
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Thu Oct 3 11:33:21 2019 +0100

    monitor: Import bushel Nagios plugins config
---
 .../metrics-monitor/files/bushel_commands.cfg      | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/ansible/roles/metrics-monitor/files/bushel_commands.cfg b/ansible/roles/metrics-monitor/files/bushel_commands.cfg
new file mode 100644
index 0000000..26087fe
--- /dev/null
+++ b/ansible/roles/metrics-monitor/files/bushel_commands.cfg
@@ -0,0 +1,25 @@
+# This is an example Nagios configuration file that contains definitions of
+# commands using the plugins included in the bushel distribution.
+#
+# This can be directly included in your configuration, or may be modified to
+# suit your requirements.
+
+define command{
+  command_name check_collector_index_created
+  command_line /usr/lib/bushel/nagios-plugins/check_collector '$HOSTADDRESS$' index
+}
+
+define command{
+  command_name check_collector_latest_recent_bridgedescs
+  command_line /usr/lib/bushel/nagios-plugins/check_collector '$HOSTADDRESS$' bridgedescs
+}
+
+define command{
+  command_name check_collector_latest_recent_exitlists
+  command_line /usr/lib/bushel/nagios-plugins/check_collector '$HOSTADDRESS$' exitlists
+}
+
+define command{
+  command_name check_collector_latest_recent_relaydescs
+  command_line /usr/lib/bushel/nagios-plugins/check_collector '$HOSTADDRESS$' relaydescs
+}





More information about the tor-commits mailing list