Build precise queries to find exactly what you need
Press ESC to close
–line= number of last lines to check. Default: entire file
For this function to work and have the script check the last lines of the file instead of the first lines of the file.
Replace: for i in reversed(range(0, opts.line)):#search for pattern
With: for i in reversed(range((len(out)-int(opts.line)), len(out))):#search for pattern
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!