Build precise queries to find exactly what you need
Press ESC to close
This saved me hours (if not days) of work. It works perfectly on my SRX100H.
Few comments to consider as improvements: 1. One minor bug exist in SNMPGET(oid) where Version needs to check if it’s a string and fix it: result = netsnmp.snmpget(oid, Version = 2 if options.version == “2c” else int(options.version), DestHost=options.host, Community=options.community, Timeout=800000, Retries=0)[0] 2. Help text should state SPU instead of CPU as a valid input for the -W switch 3. It should be noted that it is assumed that the Nagios service user has access to /bin/ping and /tmp/juniper_lastdata.txt (mine wasn’t and it took me 2 hours to find out why nothing works). Chown those two files if you share the same situation as I do. 4. NETWORKS switch won’t work if /tmp/juniper_lastdata.txt doesn’t exist. Quick fix: touch /tmp/juniper_lastdata.txt 5. I started writing an extension to check the disk utilization, but it’s taking me longer than expected. I’ll post my addition if I get around to finishing it.
Again, AWESOME work! Thanks for this plugin.
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!