Build precise queries to find exactly what you need
Press ESC to close
It seems that by default the socket will not timeout if the PBX is unreachable or the Manager permissions are incorrect. Add something like this, before the line starting mysocket=. The number is in seconds: socket.setdefaulttimeout(30) … mysocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
Returning performance data would be nice as well but given the plugin is clearly written that is not too hard to add in yourself. Good stuff – thank you.
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!