Running the attached one I'm getting : /usr/lib64/nagios/plugins/check_netstat.sh: line 22: su: command not found /usr/lib64/nagios/plugins/check_netstat.sh: line 24: [: -lt: unary operator expected /usr/lib64/nagios/plugins/check_netstat.sh: line 33: [: -gt: unary operator expected /usr/lib64/nagio...
Hello I've created a simple script to check established connection number. The script runs fine, but when I'm trying to run it using NRPE, I'm getting "OK, 0 connections " instead of the real connection number. I've added the sudo to the command configuration in nrpe.cgf, and now I'm getti...