Build precise queries to find exactly what you need
Press ESC to close
This plugin seems to work ok, but it does fail if the device you’re pinging completely vanishes. This causes the ping command to return a destination host unreachable error the the script can’t handle it and returns bad data (error code 255). I believe I have fixed this by adding these lines after the “Special handler for TTL” section:
REM ######## special handler for complete loss ####### FOR /F “tokens=3 delims= ” %%k in (‘findstr /c:”Destination host unreachable” %randomfilename%’) do ( set LST=100 set AVG=1000 )
I’ve tested this on my system and it seems to work now instead of kicking back bad data.
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!