~arif-ali/charm-nagios:nrpe_v2_only

Last commit made on 2022-10-06
Get this branch:
git clone -b nrpe_v2_only https://git.launchpad.net/~arif-ali/charm-nagios
Only Arif Ali can upload to this branch. If you are Arif Ali please log in for upload directions.

Branch merges

Branch information

Name:
nrpe_v2_only
Repository:
lp:~arif-ali/charm-nagios

Recent commits

9d54252... by Arif Ali

Add config option for nrpe packet version

When using ssl in nagios, we get error as shown below

Request packet version was invalid!

This is due to the fact it is usig v3 first, and then v2. This patch
ensures that we can change the behavior if needed. In this scenario
where this is an issue, we get the error below. The config to use
version 2 prevents this

nrpe[2383494]: Error: (use_ssl == true): Request packet version was invalid!
nrpe[2383494]: Could not read request from client 10.0.1.121, bailing out...
nrpe[2383494]: INFO: SSL Socket Shutdown.

b3cb031... by Chi Wai CHAN

Prepare for 22.10 release

Reviewed-on: https://code.launchpad.net/~raychan96/charm-nagios/+git/charm-nagios/+merge/429468
Reviewed-by: Eric Chen <email address hidden>

4f482d7... by Chi Wai CHAN

Fix up Makefile and .gitignore.

d85fb94... by Chi Wai CHAN

Fix lint: no newline at the end of file.

00a3c0f... by Chi Wai CHAN

Replace explict series defintion by empty array because series field is
no longer used.

f40047b... by Chi Wai CHAN

Charm hub instead of charm store.

0d7722c... by Facundo Ciccioli

Add config support for a sender email.

Addresses bug 1938737 [0] by adding the "-r" flag for /usr/bin/mail
when an address is provided.

[0] https://bugs.launchpad.net/charm-nagios/+bug/1938737

Reviewed-on: https://code.launchpad.net/~fandanbango/charm-nagios/+git/charm-nagios/+merge/428996
Reviewed-by: Eric Chen <email address hidden>

f829cac... by Facundo Ciccioli

Move the '-r' flag depending on sender_email's logic to the template

Less python code is always better.

6698c88... by Robert Gildein

fix lint and unit tests

Dropped python2 as base python for unit tests, since only one test
was not working on python3. The transition from itervalues() to
values() is compatible (ie works the same) in python2.7.

fixes: #1987138

Reviewed-on: https://code.launchpad.net/~rgildein/charm-nagios/+git/charm-nagios/+merge/428661
Reviewed-by: Eric Chen <email address hidden>

51390f6... by Giuseppe Petralia

Allow PD to accept pd_nagios_object=host events

Closes-Bug: 1987039

Reviewed-on: https://code.launchpad.net/~peppepetra/charm-nagios/+git/charm-nagios/+merge/428598
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>