Package Details: nagios 4.5.14-1

Git Clone URL: https://aur.archlinux.org/nagios.git (read-only, click to copy)
Package Base: nagios
Description: Nagios is an open source host, service and network monitoring program.
Upstream URL: http://www.nagios.org
Licenses: GPL
Submitter: Idares
Maintainer: Idares (Rhinoceros)
Last Packager: Idares
Votes: 113
Popularity: 0.000000
First Submitted: 2007-08-03 11:53 (UTC)
Last Updated: 2026-08-23 16:02 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

Rhinoceros commented on 2026-08-24 03:11 (UTC)

Thanks @Idares. Appreciate it.

Idares commented on 2026-08-23 16:05 (UTC)

I apologize for being so long idle. Added @Rhinoceros as co-maintainer again.

Rhinoceros commented on 2026-08-22 01:40 (UTC)

@webdawg I think the new maintainer just needs to be vetted by a TU? I did adopt a package recently. Not sure about co-maintainers though. In lieu of a reply from @Idares, I'll put in an orphan request anyway.

webdawg commented on 2026-08-21 16:30 (UTC)

I think that package adoption and unadoptions are still frozen?

Rhinoceros commented on 2026-08-21 01:46 (UTC)

Hi @Idares, I'm just reiterating my offer to co-maintain. We are 4 releases and 7 months out of date now.

Rhinoceros commented on 2026-03-07 06:39 (UTC)

@Idares I'm using this package again. I'm definitely happy for you to keep maintaining it, but also happy to take over or co-maintain if you prefer. (I can see it's been out of date for a few weeks, but not flagged. Or I'm just happy to keep flagging it, since I have a url watcher on my server.)

Rhinoceros commented on 2025-11-01 08:41 (UTC)

Disowning as I'm not using this any more. Best of luck @Idares

Idares commented on 2025-07-10 13:47 (UTC)

@Laurazepam: I'll take a look at this, but basically It should work exactly as @Rhinoceros said. The PKGBUILD is more than 10 years old, with practically no changes, so it might be time to make some corrections :).

Rhinoceros commented on 2025-07-06 04:12 (UTC)

Thanks for the detailed report @Laurazepam. I'm not entirely sure what's going on here. If the nagios user doesn't already exist, the PKGBUILD will install using UID and GID = 30. nagios.install will run later, creating the user/group when you actually install. This makes sense, because not everyone building will install, and you don't want to create the user/group unnecessarily.

Hence the PKGBUILD can potentially use chown with the UID/GID instead of user/group string, which should work fine. (I'm not 100% sure about the references in ./configure though.)

I think the "range" issue you got was because only system users are meant to be <1000, so probably not relevant.

So basically, I don't know! Happy to take comments from my co-maintainer @Idares.

Laurazepam commented on 2025-07-05 15:08 (UTC) (edited on 2025-07-05 15:10 (UTC) by Laurazepam)

On a fresh install the install script failed to create the nagios user and group. Didn't get any errors before the very end "/usr/bin/install: invalid user: '30'". After creating the user and group manually it worked fine.
On my first attempt it showed:

*** Configuration summary for nagios 4.5.9 2024-12-19 ***:

 General Options:
 -------------------------
        Nagios executable:  nagios
        Nagios user/group:  30,30
       Command user/group:  30,30

After creating the user and group manually instead I got (everything else was the same):

*** Configuration summary for nagios 4.5.9 2024-12-19 ***:

 General Options:
 -------------------------
        Nagios executable:  nagios
        Nagios user/group:  nagios,nagios
       Command user/group:  nagios,nagios

From the PKGBUILD:

_nagios_user="nagios"
_nagios_group="nagios"

getent group $_nagios_group > /dev/null || _nagios_group=30
getent passwd $_nagios_user > /dev/null || _nagios_user=30

Seems like the variables are overwritten with the literal number 30 if the user/group "nagios" doesn't already exist. I'm guessing that wasn't the goal here. No prior user or group with UID/GID 30 or with the name "nagios" existed before I tried to install this. When creating the user manually I got the error "useradd warning: nagios's uid 30 outside of the UID_MIN 1000 and UID_MAX 60000 range." and exit code '2', maybe that caused the issue?