Build precise queries to find exactly what you need
Press ESC to close
Plugin generally works, but exit codes are not correct, so it will show Warning in all cases.
To correct this, replace the code with:
if [ “$FTPUSER” -lt “$WARNLIMIT” ] then echo OK $FTPUSER logged in! “| $FTPUSER” exit 0 elif [ “$FTPUSER” -ge “$WARNLIMIT” ] && [ “$FTPUSER” -lt “$CRITLIMIT” ] then echo WARNING $FTPUSER logged in! “| $FTPUSER” exit 1 elif [ “$FTPUSER” -ge “$CRITLIMIT” ] then echo CRIRICAL $FTPUSER logged in! “| $FTPUSER” exit 2
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!