Jnrpe Package

JNRPE is a Nagios addon that makes simple the implementation of Nagios plugins using the Java Language. It is fully compatible with check_nrpe and can be used to execute both old native Nagios plugins and the new Java Nagios Plugins.

Лицензия

Лицензия

Категории

Категории

Сеть JNR Инструменты разработки Native
Группа

Группа

net.sf.jnrpe
Идентификатор

Идентификатор

jnrpe-parent
Последняя версия

Последняя версия

2.0.5
Дата

Дата

Тип

Тип

pom
Описание

Описание

Jnrpe Package
JNRPE is a Nagios addon that makes simple the implementation of Nagios plugins using the Java Language. It is fully compatible with check_nrpe and can be used to execute both old native Nagios plugins and the new Java Nagios Plugins.
Ссылка на сайт

Ссылка на сайт

http://jnrpe.sourceforge.net
Система контроля версий

Система контроля версий

http://github.com/ziccardi/jnrpe

Скачать jnrpe-parent

Имя Файла Размер
jnrpe-parent-2.0.5.pom 11 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/net.sf.jnrpe/jnrpe-parent/ -->
<dependency>
    <groupId>net.sf.jnrpe</groupId>
    <artifactId>jnrpe-parent</artifactId>
    <version>2.0.5</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/net.sf.jnrpe/jnrpe-parent/
implementation 'net.sf.jnrpe:jnrpe-parent:2.0.5'
// https://jarcasting.com/artifacts/net.sf.jnrpe/jnrpe-parent/
implementation ("net.sf.jnrpe:jnrpe-parent:2.0.5")
'net.sf.jnrpe:jnrpe-parent:pom:2.0.5'
<dependency org="net.sf.jnrpe" name="jnrpe-parent" rev="2.0.5">
  <artifact name="jnrpe-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='net.sf.jnrpe', module='jnrpe-parent', version='2.0.5')
)
libraryDependencies += "net.sf.jnrpe" % "jnrpe-parent" % "2.0.5"
[net.sf.jnrpe/jnrpe-parent "2.0.5"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • jnrpe-server
  • jnrpe-install
  • jnrpe-debian
  • jnrpe-lib
  • jcheck_nrpe
  • jnrpe-plugins

JNRPE - Java Nagios Remote Plugin Executor

JNRPE allows the execution of both native and Java Nagios plugins without the overhead of a new JVM instance for each java plugin execution.

Overview

JNRPE Overview

  1. Nagios will invoke a check defined as a check_nrpe command.
  2. check_nrpe will invoke the command on the JNRPE server
  3. The Socket Listener (that implements the NRPE protocol) will parse and validate the received packet. If the packet is valid, it will ask the executor to execute the received command.
  4. The executor will ask the Command Registry to retrieve the command definition for the requested command
  5. After receiving the command, the executor will ask the command definition to create a COMMAND INSTANCE passing to the command definition all the received parameters. A COMMAND INSTANCE will contain teh requested plugin and all the parameters (replacing the $ARGx$ macros if needed).
  6. When a COMMAND INSTANCE is received, the executor will execute the command instance and return the result to the Socket Listener.
  7. The Socket Listener will then create a NRPE packet with the received result and will return that to check_nrpe.
  8. check_nrpe returns the check result to Nagios

Build the software

# ./gradlew build

Run the software

# ./gradlew run

Distributing

After gradlew build the distribution files can be found into the it.jnrpe.server/build/distributions folder.

Версии библиотеки

Версия
2.0.5