|
@@ -0,0 +1,22 @@
|
|
|
+#
|
|
|
+# Icinga plugin related configuration (Salt managed)
|
|
|
+#
|
|
|
+# Nagios Plugin: configure return code use by nagios
|
|
|
+# as service status[1].
|
|
|
+#
|
|
|
+# [1] https://nagios-plugins.org/doc/guidelines.html#AEN78
|
|
|
+#
|
|
|
+# Default:
|
|
|
+# 'nagios-status' => {
|
|
|
+# 'sessions' => 1,
|
|
|
+# 'services' => 2,
|
|
|
+# 'kernel' => 2,
|
|
|
+# 'ucode' => 2,
|
|
|
+# 'containers' => 1
|
|
|
+# },
|
|
|
+#
|
|
|
+# Example: to ignore outdated sessions (status OK)
|
|
|
+# $nrconf{'nagios-status'}->{sessions} = 0;
|
|
|
+
|
|
|
+# Just warn about newer kernel
|
|
|
+$nrconf{'nagios-status'}->{kernel} = 1;
|