Build precise queries to find exactly what you need
Press ESC to close
The script has a good conceptual bases .. and pulls in squid info using ‘squidclient -h $HOSTADDRESS$ -p SQUIDPORT mgr:info’ ..
But it makes an assumption that users of the script would first check required ACLs for the squid deployment, and modifying the script accordingly .. although it does keep silent on this.
You get the ‘uninitialized value’ warning (mentioned above) when the squidclient command fails because the script is not checking its return value before proceeding to attempt to parse the output of squidclient ..
Still great that the author shared this .. and it can cleaned up and adapted relatively easily.
> Use of uninitialized value in sprintf at /usr/local/share/perl5/Nagios/Plugin/Performance.pm
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!