|
0 |
-- /usr/lib/nagios/plugins/check_univention_opsi 2018-12-20 17:30:36.000000000 +0100 |
0 |
++ /usr/lib/nagios/plugins/check_univention_opsi 2020-07-29 17:58:20.800649244 +0200 |
|
68 |
nagiosExit "$RET" "$MSG" |
68 |
nagiosExit "$RET" "$MSG" |
69 |
fi |
69 |
fi |
70 |
|
70 |
|
71 |
# check for at least one opsiconfd-guard process |
|
|
72 |
MSG="$(/usr/lib/nagios/plugins/check_procs -w 1: -c 1: -C opsiconfd-guard)" |
73 |
RET="$?" |
74 |
if [ ! "$RET" = "0" ] ; then |
75 |
nagiosExit "$RET" "$MSG" |
76 |
fi |
77 |
|
78 |
# check HTTP service |
71 |
# check HTTP service |
79 |
port=4447 |
72 |
port=4447 |
80 |
opsiCfg=/etc/opsi/opsiconfd.conf |
73 |
opsiCfg=/etc/opsi/opsiconfd.conf |