Package Details: nagios 4.5.8-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: Rhinoceros
Votes: 114
Popularity: 0.000168
First Submitted: 2007-08-03 11:53 (UTC)
Last Updated: 2024-11-19 23:20 (UTC)

Latest Comments

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

Rhinoceros commented on 2024-10-16 10:38 (UTC)

No worries @Idares. Thanks for the add.

Idares commented on 2024-10-14 14:11 (UTC)

@Rhinoceros: I added you to co-maintainers, sorry for the late response.

Rhinoceros commented on 2024-09-19 10:52 (UTC)

... I'll just flag it out of date again then 😐️

Rhinoceros commented on 2024-08-16 01:05 (UTC)

@Idares I think I've flagged this as out-of-date the last 10 times or so. I'm happy to continue doing so, but if you prefer to add me as a co-maintainer, I can just bump it myself. No big deal either way.

v12venator commented on 2023-10-15 17:20 (UTC)

@Idares - I was able to compile this package on both a Raspberry Pi 3 and 4 with the 64-bit version of Arch Linux Arm. Is it possible to add 'aarch64' to the PKGBUILD for anyone else wanting to run a Nagios server on a Pi 3/4?

TIA

Rhinoceros commented on 2023-02-03 02:31 (UTC)

@mosh5382 I've had the php7 binary moved away for over a week and haven't noticed anything weird yet. Please let me know if you upgrade and/or run into problems.

I don't actually use check_by_ssh, so yeah, you might need the home directory in your case then.

mosh5382 commented on 2023-01-29 13:25 (UTC)

@Rhinoceros - I was unable to tell conclusively if PHP 7.4 was a requirement. The official Nagios documentation is unclear however I was unable to find any mention of Nagios and PHP 8. A lot of non-Arch distributions ship outdated versions of PHP so this may be more of an issue for Arch users only. My Nagios machine is a VM so I will certainly snapshot it before trying an upgrade to PHP 8.

I was able to get the email notifications working with s-nail. I suspected there was a way to get this working without the /home/nagios directory for the email configuration. However, what about "check_by_ssh"? Won't the ssh keys have to be in the /home/nagios/.ssh directory for it to work?

Rhinoceros commented on 2023-01-23 10:16 (UTC)

@mosh5382 AFAIK php 7 isn't required by nagios. It's certainly not in the PKGBUILD dependencies. Also, php 7 is not in the AUR.

Because of this, I haven't been game enough to uninstall php 7 yet, but I've moved the binary away, and nagios appears to still work fine.

Also, the email notifications work fine for me without creating a home directory, but my mail config is perhaps setup different to yours. I use s-nail with opensmtpd. Also check /etc/nagios/objects/contacts.cfg. There's also this old issue, but it should be fixed now. Just check

$ ls -l /usr/bin/smtpctl
-r-xr-sr-x 1 root smtpq 168280 Nov  1 19:19 /usr/bin/smtpctl

mosh5382 commented on 2023-01-22 13:17 (UTC)

I just installed this and I have some words of warning for anyone trying to install it new. Nagios generally seems to be in a rough state (not the PKGBUILD which works well). As best I can tell PHP 7 is required which is unsupported by the PHP developers. PHP 7 can be installed via the AUR.

One suggestion on the PKGBUILD. I was unable to get the email notifications to work without creating a home directory for the nagios users. I used the "s-nail" package to do email relay, I couldn't find another method. In this setup Nagios sends notification mail from the Nagios users and I needed to put the configuration files for email relay in /home/nagios. This was difficult to do because the PKGBUILD creates the nagios user as a system user. Google can help you get a proper home directory setup for the nagios user even if they aren't allowed to login. This was the only way I found to get the email notifications working and I did work on the notifications for a while!

Idares commented on 2022-11-29 15:59 (UTC)

Chown warning fixed. Thanks @Rhinoceros.