check_radius missing

Bug #1275495 reported by Jan Wagner
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
monitoring-plugins (Ubuntu)
Fix Released
Medium
Unassigned
nagios-plugins (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Since the source package nagios-plugins 1.5 check_radius is missing from the binary package (nagios-plugins-standards).

Revision history for this message
Jan Wagner (waja) wrote :

The problematic change is in 1.5-1ubuntu2. You should build-depend again on libradius1-dev!

Changed in nagios-plugins (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Samuel Leslie (sdl) wrote :

This should be an easy fix, but as an alternative while a developer gets around to it, you can also use the Monitoring Plugins PPA: https://launchpad.net/~pkg-nagios-devel/+archive/ubuntu/plugins. See also: https://www.monitoring-plugins.org/

Note that this will result in installing a far newer version of the plugins so you should only do this if you're willing to invest the time to also fix any potential incompatibilities due to the major version bump. That said, my own installation on a production Icinga instance went very smoothly.

Revision history for this message
Micke Nordin (mikael.nordin) wrote :

libradius1-dev is not available in xenial and above and libfreeradius-client-dev needs to be used instead if check_radius is to be built.

Revision history for this message
Micke Nordin (mikael.nordin) wrote :

Here is a debdiff that fixes the issue

Revision history for this message
Micke Nordin (mikael.nordin) wrote :

check_radius is available in the corresponding debian package.

Changed in nagios-plugins (Debian):
status: New → Invalid
description: updated
Changed in monitoring-plugins (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "monitoring-plugins_2.1.2-2ubuntu3.1.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Micke Nordin (mikael.nordin) wrote :

I realized check_radius also needs libfreeradius-client2 as runtime dependency, so this patch should be used instead

Joshua Powers (powersj)
tags: added: bitesize server-next
Mathew Hodson (mhodson)
tags: added: packaging
tags: added: trusty
affects: nagios-plugins (Debian) → ubuntu
no longer affects: ubuntu
Changed in monitoring-plugins (Ubuntu):
importance: Undecided → Medium
tags: added: xenial
Revision history for this message
Michael Terry (mterry) wrote :

This was actually dropped intentionally in Ubuntu, because libfreeradius-client2 is in universe, but monitoring-plugins is in main.

So if you wanted to re-enable check_radius, you'd have to first file a MIR bug for freeradius-client to promote it to main.

https://wiki.ubuntu.com/UbuntuMainInclusionRequirements

Revision history for this message
Robie Basak (racb) wrote :

Alternatively, we could have some kind of additional monitoring-plugins-universe binary package in Ubuntu that is in universe and supplies the additional plugins that couldn't be in main. Patches welcome, but unfortunately Micke's patch isn't sufficient for this.

Revision history for this message
Micke Nordin (mikael.nordin) wrote :

If Ubuntu isn't committed to maintaining this package (i.e. make sure that the quality of the package does not degrade over time, loosing functionality in the process), shouldn't this entire package be moved to universe?

Revision history for this message
Jan Wagner (waja) wrote :

https://github.com/waja/pkg-monitoring-plugins/blob/0bf41532049970764ece160f1c7b8c7dbc4e6664/debian/patches/20_check_radius_radcli contains a patch that adds support for radcli (available since Ubuntu 16.04). Might that help?

Anyway ... monitoring-plugins 2.2 supports radcli too, which should hit debian unstable soon.

Revision history for this message
Robie Basak (racb) wrote :

radcli is also in universe in Ubuntu.

> If Ubuntu isn't committed to maintaining this package (i.e. make sure that the quality of the package does not degrade over time...

I don't think Ubuntu has ever shipped a version of this package with support for check_radius, has it? In any case, this is a deliberate decision to do with the main/universe split, not some accidental degradation of package quality.

It is possible to organise building check_radius but placing it in a separate "universe" binary package (say monitoring-plugins-extras) that remains in universe. Then users would be able to opt in to that.

Changed in monitoring-plugins (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Robie Basak (racb) wrote :

Removing patch tag as the current patch is unsuitable for Ubuntu (would create a component mismatch). And unsubscribed ~ubuntu-sponsors.

tags: removed: patch
Revision history for this message
Robie Basak (racb) wrote :

And nagios-plugins is now Invalid, since we don't ship that any more (in favour of monitoring-plugins).

Changed in nagios-plugins (Ubuntu):
status: Confirmed → Invalid
Nish Aravamudan (nacc)
tags: removed: bitesize
tags: removed: server-next
Revision history for this message
Bryce Harrington (bryce) wrote :

If I understand correctly, the problem of check_radius being unavailable has been rectified via the introduction of monitoring-plugins-standard, similar to Robie's suggestion in comment #12.

plusone-impish+21.10:/usr/lib/nagios$ apt-file search check_radius
monitoring-plugins-standard: /usr/lib/nagios/plugins/check_radius

plusone-impish+21.10:/usr/lib/nagios$ apt-cache policy monitoring-plugins-standard
monitoring-plugins-standard:
  Installed: (none)
  Candidate: 2.3.1-1ubuntu2
  Version table:
     2.3.1-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu impish/universe amd64 Packages

On bionic, apt-file search check_radius returns nothing, so presumably is still a problem there, but it is available in focal and newer. If people require this fixed for bionic feel free to comment here, although I suspect an SRU may not be very feasible in this case. Otherwise, I think we can consider this issue resolved.

Changed in monitoring-plugins (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.