-
Notifications
You must be signed in to change notification settings - Fork 0
home
This repository is a fork of:
https://github.com/NagiosEnterprises/nrpe
Mirrors of this repository:
The goal of this repository is to address some issues with upstream versions and Linux distributions' packaging for the Nagios plugin multiquery library (libnagios-plugin-mq) project which is available at:
- gitlab.com: project/readme, issues, wiki/documentation
- github.com: project/readme, wiki/documentation
NRPE has limitations on a size of plugin output in both the plugin (check_nrpe) and the server (nrpe).
This repository contains branches of different NRPE versions with fixes applied to address those limitations:
Version | Tag with fixed source |
---|---|
2.15 | release/2.15+largeperfdata+20230320+7818ada |
3.2.1 | release/3.2.1+largeperfdata+20230323+a1677e8 |
4.0.3 | release/4.0.3+largeperfdata+20230320+89c6778 |
4.1.0 | release/4.1.0+largeperfdata+20230320+a2875f2 |
Since some point in time some Linux distributions stopped enabling command args
at configure time while packaging NRPE (Nagios Remote Plugin Executor) for security reasons.
Having command args
enabled make it easier to install new checks for existing plugins since no additional NRPE command should be installed.
Security reasons may be reviewed and covered. To re-enable command args
it is sufficient to add configure parameter --enable-command-args
to debian/rules
file of nagios-nrpe
source package and rebuild it:
...
override_dh_auto_configure:
dh_auto_configure -- \
... \
--enable-command-args
...
This repository contains branches for Debian source packages of different NRPE versions with plugin output size limitation fixed and command arguments enabled:
Upstream version | Debian source tag |
---|---|
2.15 | debian/2.15+largeperfdata+20230320+7818ada-1 |
3.2.1 | debian/3.2.1+largeperfdata+20230323+a1677e8-1 |
4.0.3 | debian/4.0.3+largeperfdata+20230320+89c6778-1 |
4.1.0 | debian/4.1.0+largeperfdata+20230320+a2875f2-1 |
NRPE sources contain README.md with build instructions.
Packages pre-built from this repository (with plugin output size limitation fix and command args enabled) are available for following distributions:
Distribution | NRPE packages version |
---|---|
Ubuntu 12.04 (Precise) | 2.15+largeperfdata+20230320+7818ada-1 |
Debian 7 (Wheezy) | 2.15+largeperfdata+20230320+7818ada-1 |
Ubuntu 14.04 (Trusty) | 2.15+largeperfdata+20230320+7818ada-1 |
Debian 8 (Jessie) | 2.15+largeperfdata+20230320+7818ada-1 |
Ubuntu 16.04 (Xenial) | 2.15+largeperfdata+20230320+7818ada-1 |
Debian 9 (Stretch) | 3.2.1+largeperfdata+20230323+a1677e8-1 |
Ubuntu 18.04 (Bionic) | 3.2.1+largeperfdata+20230323+a1677e8-1 |
Debian 10 (Buster) | 4.0.3+largeperfdata+20230320+89c6778-1 |
Ubuntu 20.04 (Focal) | 4.0.3+largeperfdata+20230320+89c6778-1 |
Debian 11 (Bullseye) | 4.0.3+largeperfdata+20230320+89c6778-1 4.1.0+largeperfdata+20230320+a2875f2-1 |
Ubuntu 22.04 (Jammy) | 4.1.0+largeperfdata+20230320+a2875f2-1 |
Setup package repository:
apt-get install -y apt-transport-https curl lsb-release gpg
curl -1sLf 'https://dl.cloudsmith.io/public/pokotilenko/main/gpg.C79C5AB1686C69D2.key' | gpg --dearmor > /etc/apt/trusted.gpg.d/cloudsmith-pokotilenko-main.gpg
echo "deb https://dl.cloudsmith.io/public/pokotilenko/main/deb/$(lsb_release -si | tr '[:upper:]' '[:lower:]') $(lsb_release -sc) main" > /etc/apt/sources.list.d/cloudsmith-pokotilenko-main.list
apt-get update
Install Plugin (on monitoring host):
apt-get install nagios-nrpe-plugin
Install Server (on monitored host):
apt-get install nagios-nrpe-server