Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Java Version
2.0
2016-03-16
- Nagios 3.x
- Nagios 4.x
- Nagios XI
MIT
24651
File | Description |
---|---|
check_java.vbs | Client Test File |
check_win_java | Server Test File |
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!
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).
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).
Reviews (0)
Be the first to review this listing!