forked from lingej/pnp4nagios
-
Notifications
You must be signed in to change notification settings - Fork 0
home
Konstantin Pokotilenko edited this page Apr 21, 2023
·
4 revisions
This repository is a fork of:
https://github.com/lingej/pnp4nagios
Mirrors of this repository:
The goal of this repository is to address some issues with upstream versions and add some features 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
Fixes and features:
- Support working behind proxy (HTTP_X_FORWARDED_PROTO). Add JS variables to be better controllable from SSI JS. Add ID and Title to each graph image. Add "Loading..." text to popup.
- Write perfdata separately from the rest of template, leaving 64KB for the rest and no limit for perfdata itself
- Adds support for /etc/pnp4nagios/rra/ files to be matched by Service name instead of command name
- Adds support for /etc/pnp4nagios/service_conf/, where configuration of RRDs is possible by Service name instead of check command and its arguments. This also introduce GROUP storage type in addition to SINGLE and MULTIPLE. GROUP storage type allow metrics to be grouped by a first regexp match to a group RRD file
- Fix Graph names in PNP4Nagios to be the name of a graph instead of name of a metric with the same index. This allows Graphs with multiple metrics to be named correctly
- Add support for Graph Title in internal data structures. Title is set by parsing Graph opt array with a regexp because of absence of better solution
- Remove conversion to int on source url parameter as in popup there is no way to tell if it was set
Tags:
Description | Tag |
---|---|
Source tag with fixes and features | release/0.6.26+pokotilenko+20230319+ca9dd94 |
Debian source tag | debian/0.6.26+pokotilenko+20230319+ca9dd94-1 |
Packages pre-built from this repository (with fixes and features) are available for following distributions:
Distribution | PNP4Nagios packages version |
---|---|
Debian 9 (Stretch) | 0.6.26+pokotilenko+20230319+ca9dd94-1 |
Ubuntu 18.04 (Bionic) | 0.6.26+pokotilenko+20230319+ca9dd94-1 |
Debian 10 (Buster) | 0.6.26+pokotilenko+20230319+ca9dd94-1 |
Ubuntu 20.04 (Focal) | 0.6.26+pokotilenko+20230319+ca9dd94-1 |
Debian 11 (Bullseye) | 0.6.26+pokotilenko+20230319+ca9dd94-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 (on monitoring host):
apt-get install pnp4nagios