## NEW version - v2## Threshold for minimum & maximum number of running process added. [nsclient.ini] check_num_of_xxx_process = cmd /c echo scriptscheck_proc_number.ps1 "$ARG1$" "$ARG2$" "$ARG3$";…
1. Add to visudo your nrpe (NAGIOS) user 2. Add the following to nrpe.cfg: command[check_queue]=sudo /usr/local/nagios/libexec/check_mailq_requests.sh -w 40 -c 50 3. /etc/init.d/nrpe restart or /etc/init.d/nagios-nrpe-server…