Merge branch 'increase_pf_states' of evolix/EvoBSD into dev

That's just a small value change in the pf_states NRPE check. No need to test. ok by me.
This commit is contained in:
Tristan Pilat 2019-05-11 21:00:42 +02:00 committed by Gitea
commit a7ec4597cb

View file

@ -3,8 +3,8 @@
# Script writen by Evolix
_MAX_STATES_LIMIT=$(/sbin/pfctl -sm | /usr/bin/grep states | awk '{print $4}')
_WARNING_STATES_LIMIT=$((_MAX_STATES_LIMIT*10/100))
_CRTICAL_STATES_LIMIT=$((_MAX_STATES_LIMIT*15/100))
_WARNING_STATES_LIMIT=$((_MAX_STATES_LIMIT*50/100))
_CRTICAL_STATES_LIMIT=$((_MAX_STATES_LIMIT*65/100))
. /usr/local/libexec/nagios/utils.sh