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_rmi

Rating
0 votes
Favoured:
0
Hits
97649
Files:
FileDescription
check_rmicheck command
RmiLookupTest.classplugin
RmiLookupTest.javasource of plugin
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!
The plugin will check a java-rmi-service for availability.
**Preconditions**:
Java>= 1.4

The plugin can be used in two different ways:
If only host and port are given the plugin will only attempt to connect to the rmi-server.
This will give wrong nagios-answers if rmi-registry and rmi-service are started separately.

define command{

command_name check_rmiserver
command_line /usr/lib/nagios/plugins/check_rmi $HOSTADDRESS$ $ARG1$
}


If rmi-registry and rmi-servers are started separately a third parameter //"lookup-name"// must be given and the stub-classes must be provided in the plugin's directory.
If used with stub-classes the plugin will attempt to execute a method remotely.

define command{

command_name check_rmiserver
command_line /usr/lib/nagios/plugins/check_rmi $HOSTADDRESS$ $ARG1$ $ARG2$
}


**Usage**:
check_rmi and RmiLookupTest.class have to be in the same directory and check_rmi must be called by its full path.

**Example**:
/usr/lib/nagios/plugins/check_rmi localhost 6345 foolookupname