Benjamin Renard commited on 2015-01-26 09:12:30
Showing 1 changed files, with 2 additions and 2 deletions.
... | ... |
@@ -120,7 +120,7 @@ do |
120 | 120 |
break; |
121 | 121 |
elif [ $i -eq $MAX_CHECK ] |
122 | 122 |
then |
123 |
- [ $NAGIOS -eq 1 ] && echo "WARNING : Fail to retrieve current stable version" && exit 1 |
|
123 |
+ [ $NAGIOS -eq 1 ] && echo "UNKNOWN : Fail to retrieve current stable version" && exit 1 |
|
124 | 124 |
error="Site du projet injoignable (ou structure du site modifie !!) => Impossible de recuperer le numero de la version stable actuel." |
125 | 125 |
[ $DEBUG -eq 1 ] && echo $error |
126 | 126 |
if [ -f $CACHE_FAILED ] |
... | ... |
@@ -165,7 +165,7 @@ if [ "$newest" != "$current" ] |
165 | 165 |
then |
166 | 166 |
if [ $NAGIOS -eq 1 ] |
167 | 167 |
then |
168 |
- echo "CRITICAL : A newest version of Roundcube Webmail is available (newest : $newest / current : $current)" |
|
168 |
+ echo "WARNING : A newest version of Roundcube Webmail is available (newest : $newest / current : $current)" |
|
169 | 169 |
exit 2 |
170 | 170 |
fi |
171 | 171 |
|
172 | 172 |