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

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
19656
Files:
FileDescription
check_java.vbsClient Test File
check_win_javaServer Test File
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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).