From 141dd0d758e4505cbb6d73102f21f7516d7152be Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 2 Jun 2017 13:19:13 +0200 Subject: [PATCH] library/roles/nagios/templates/check_library.sh.j2: Add a name to the nagios exit codes. --- nagios/templates/check_library.sh.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nagios/templates/check_library.sh.j2 b/nagios/templates/check_library.sh.j2 index 3072b50c..63838b8b 100644 --- a/nagios/templates/check_library.sh.j2 +++ b/nagios/templates/check_library.sh.j2 @@ -1,4 +1,9 @@ +EXPORT NAGIOS_OK=0 +EXPORT NAGIOS_WARNING=1 +EXPORT NAGIOS_CRITICAL=2 +EXPORT NAGIOS_UNKNOWN=3 + ISTI_PLUGDIR={{ nagios_isti_plugdir }} COMMON_LIB={{ nagios_common_lib }}