Bug 246914 - [NEW PORT] net-mgmt/nrpe4: Nagios Remote Plugin Executor version 4
Summary: [NEW PORT] net-mgmt/nrpe4: Nagios Remote Plugin Executor version 4
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Niclas Zeising
URL: https://github.com/NagiosEnterprises/...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-01 18:24 UTC by Michael Muenz
Modified: 2020-06-14 09:17 UTC (History)
1 user (show)

See Also:


Attachments
NRPEv4 (7.10 KB, text/plain)
2020-06-01 18:24 UTC, Michael Muenz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Muenz 2020-06-01 18:24:18 UTC
Created attachment 215138 [details]
NRPEv4

New port for NRPE4. I found this port as nrpe3 is marked as outdated but there is no new version since 2017, as only v4 receives update. V4 also introduces TLS1.3 support.

I took the Makefile from nrpe3 and adjusted to newest version.

- portlint -A is happy
- poudriere builds fine on 12.1 64bit
- poudriere testport runs fine on 12.1 64bit
- pkg installs fine and nagios checks a handled correctly

I decided to add a new port since the existing port is labeld as nrpe3, and with nrpe4 you need to add an additional parameter to make it backward compatible (which would break existing setups).
Comment 1 Michael Muenz 2020-06-01 18:26:16 UTC
zeising@, sorry for adding you CC, but since you maintain nrpe3 maybe you want to have look.
Comment 2 Niclas Zeising freebsd_committer 2020-06-01 19:26:28 UTC
(In reply to Michael Muenz from comment #1)

Don't apologize, it's ok to ask for help and reviews. :)

Is there anything in nrpe4 that breaks nrpe3 setups (I haven't looked myself).  Otherwise, it might make sense to simply update nrpe3 to this version (and rename it) rather than have both versions.  What do you think?
Comment 3 Michael Muenz 2020-06-02 04:53:06 UTC
I'm open for both options but it seems when nrpe v4 wants to contact an instance of nrpe v3 (like when when you update the package on the server and not the agents), you have to adjust the syntax to use v3 full backwards compatibility.

It should work [1] as the changelog for 4.0.0 states, but I can't test all scenarios.


[1]https://github.com/NagiosEnterprises/nrpe/blob/master/CHANGELOG.md
Comment 4 Niclas Zeising freebsd_committer 2020-06-14 09:17:22 UTC
Sorry for sitting on this, I had forgot about it.
I believe the best way is to simply update nrpe to 4.0. If anyone still needs nrpe3, a separate port for that can be created.