Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Java Version

Rating
0 votes
Favoured:
0
Current Version
2.0
Last Release Date
2016-03-16
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
MIT
Hits
24717
Files:
FileDescription
check_java.vbsClient Test File
check_win_javaServer Test File
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin checks the installed version of Java and compares it to the latest available version.
Tests the installed version against the newest available on java.com

Possible Outputs:
OK: OK: Java Version 1.7.0_73
CRTITICAL: Critical: Java Version 1.7.0_53 - available: 1.7.0_73
OK: No Java found.

Client Test File (check_java.vbs) into scripts-Subfolder of NSClient++

Server Test File (check_win_java) into /usr/lib/nagios/plugins/ on Nagios Server


Sample Config:
--------------

Client:
nsclient.ini:
[/settings/external scripts/scripts]
check_java=cscript.exe //T:30 //NoLogo scripts\check_java.vbs

Server:
/etc/nagios3/conf.d/checkcommands.cfg:
define command{
command_name check-win-java
command_line $USER1$/check_win_java $HOSTADDRESS$
}

Service template:
define service{
use generic-service
host
service_description Java Version
check_command check-win-java
normal_check_interval 720
notification_interval 1440
notifications_enabled 1
}


If you have any issues or feature requests please report them on GitHub (https://github.com/dtiersch/nagios-plugin-versioncheck).