Commit graph

6 commits

Author SHA1 Message Date
Benoît S. 961d9da5e5 Backport fix from Daniel Jakots
Original commit:

The code was taken from check_http_many which apparently deals only with return
codes 0, 1 and 2. Here, we uses check_nrpe which iff it can't connect, it
returns 255
(40717e320c).

So I decided that if the return code is greater or equal to 2, then we consider
it's critical. I can't see any return code greater than 2 which may not be
critical.
2018-07-10 11:32:18 +02:00
Benoît S. 9bf70a57f4 Set +x on theses executables plugins 2018-02-19 14:18:58 +01:00
Jérémy Lecour 2aff6b94c6 Merge branch 'check_http_many-fix-custom-values' into unstable 2017-07-18 12:03:49 +02:00
Benoît S. d2f0996445 Remove custom values.
Someone has copied this script from a production server with custom values.
2017-07-18 10:45:07 +02:00
Benoît S. 7d87a53a2f Fix #1836. We add -e 200 to nagios's check_http. 2017-07-18 10:42:26 +02:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00