[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-cloud/master] monitor: Import bushel Nagios plugins config
commit 405ed24ab5a30cd0fd30d1aec8908ecc996b82a9
Author: Iain R. Learmonth <irl@xxxxxxxx>
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
+}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits