Build precise queries to find exactly what you need
Press ESC to close
BUT i have a problem, our tablespace are big and i think i’ve hit the maximum. higher, i get a java error.
this is warning, or the number maximum allowed for a check 2147483647
java -classpath /usr/lib64/nagios/plugins/ check_tablespace_mysql localhost 3306 databasename “user id” “password” 2147483647 270000000
is ok but if i change the warning and add1 byte, 2147483648 produce error message
java -classpath /usr/lib64/nagios/plugins/ check_tablespace_mysql localhost 3306 databasename “user id” “password” 2147483648 270000000
Exception in thread “main” java.lang.NumberFormatException: For input string: “2147483648” at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:499) at java.lang.Integer.parseInt(Integer.java:527) at check_tablespace_mysql.main(check_tablespace_mysql.java:74)
what can i change on the java code to make this working ?
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!