Package Details: nagios 4.3.4-1

Git Clone URL: (read-only)
Package Base: nagios
Description: Nagios is an open source host, service and network monitoring program.
Upstream URL:
Licenses: GPL
Submitter: Idares
Maintainer: Idares
Last Packager: Idares
Votes: 106
Popularity: 0.029665
First Submitted: 2007-08-03 11:53
Last Updated: 2017-08-31 17:08

Latest Comments

Idares commented on 2017-08-31 17:09

Updated to 4.3.4-1
Nagios changelog:

schulmar commented on 2017-07-31 14:23

I am not sure if this is an upstream issue but I can't get nagios to send notification email anymore:

[1501503768] wproc: NOTIFY job 22 from worker Core Worker 16678 is a non-check helper but exited with return code 139
[1501503768] wproc: host=localhost; service=ejabberd; contact=nagiosadmin
[1501503768] wproc: early_timeout=0; exited_ok=1; wait_status=35584; error_code=0;
[1501503768] wproc: stderr line 01: mail: $TMPDIR is not a directory or not accessible: /dev/null
[1501503768] wproc: stderr line 02: mail: Assignment of variable aborted: HOME
[1501503768] wproc: stderr line 03: /bin/sh: Zeile 1: 18266 Fertig /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: RECOVERY\n\nService: <redacted>\nHost: localhost\nAddress:\nState: OK\n\nDate/T
ime: Mon Jul 31 14:22:47 CEST 2017\n\nAdditional Info:\n\n<Redacted> OK - 0,005 second response time on <redacted> port <redacted>\n"
[1501503768] wproc: stderr line 04: 18267 Speicherzugriffsfehler (Speicherabzug geschrieben) | /usr/bin/mail -s "** RECOVERY Service Alert: localhost/<redacted> is OK **" <email redacted>

Running the mail command from my local user seems to work fine. This worked not so long ago. (I have been using this package more than a year now.)

Idares commented on 2017-05-25 17:06

Updated to 4.3.2-1
Nagios changelog:

Idares commented on 2017-03-06 16:03

Updated to 4.3.1-1
Nagios changelog:

Idares commented on 2016-12-15 15:29

Updated to 4.2.4-1
Nagios changelog:

Idares commented on 2016-11-30 15:34

Updated to 4.2.3-1
Nagios changelog:

Idares commented on 2016-10-31 15:05

Updated to 4.2.2-1
Nagios changelog:

Idares commented on 2016-09-13 14:01

Updated to 4.2.1-1
Nagios changelog:

Idares commented on 2016-08-16 14:06

Updated to 4.2.0-1
Nagios changelog:

- added some optdepends

Anonymous comment on 2016-08-13 17:00

4.2.0 has been released, is there a possibility of getting the package upgraded?

Nice job by the way!

Could some optional deps be added, on a Vanilla install I don't think this will provide a funtional install, so adding these might be helpful?:


Idares commented on 2015-09-21 15:19

unzip added to makedepends (thanks to mushymedic).

mushymedic commented on 2015-09-17 22:48

I am running a bare bones install, and when I went to makepkg the latest nagios package, it failed due to a missing dependency, unzip. I installed the unzip package, and the following makepkg was successful. I wonder if this is now a dependency.

botika commented on 2015-02-20 10:39

I catch the PKGBUILD to create a testing version of this package, if I have any questions I can ask? So could ease the maintenance of this and have a version for testing. Thank you very much for your excellent work.

botika commented on 2015-02-20 10:30

Srry, I create nagios rc or nagios beta for testing.

botika commented on 2015-02-20 09:07

Please update,

Just Arrive 21 hours later, :D

jsteel commented on 2014-10-27 22:44

Don't, just use makepkg -A:

jsteel commented on 2014-10-27 22:44

Don't, jut use makepkg -A:

Edholm commented on 2014-10-27 22:03

Could you add armv6h to the arch variable? For those with a Raspberry Pi for example.

Idares commented on 2014-08-22 04:22

updated to 4.0.8-1
Nagios changelog:

eworm commented on 2014-08-08 11:44

I think you should add 'monitoring-plugins' (and possibly others) to optdepends.

Idares commented on 2014-06-19 04:00

Permissions on /usr/bin should be 755, I will fix them in next release. Permissions on /usr/share/nagios/*, /var/nagios/*, are set by nagios installer, so I prefer to leave them unchanged.

eworm commented on 2014-06-17 05:29

I do get a lot of 'directory permissions differ' warnings:

warning: directory permissions differ on /usr/bin/
filesystem: 755 package: 775
warning: directory permissions differ on /usr/share/nagios/libexec/
filesystem: 755 package: 775
warning: directory permissions differ on /usr/share/nagios/share/
filesystem: 755 package: 775
warning: directory permissions differ on /var/nagios/spool/checkresults/
filesystem: 775 package: 2775

Can we work around this by creating the directories before running 'make install'?

install -d -m0755 ${pkgdir}/usr/bin/
install -d -m0755 ${pkgdir}/usr/share/nagios/libexec/
install -d -m0755 ${pkgdir}/usr/share/nagios/share/

Not sure about checkresults dir... Do we want set-group-ID bit set there?

Idares commented on 2014-06-12 11:54

updated to 4.0.7-1
Nagios changelog:

Idares commented on 2014-05-14 04:11

updated to 4.0.6-1
Nagios changelog:

Idares commented on 2014-03-28 05:15

updated to 4.0.4-1
Nagios changelog:

Anonymous comment on 2014-03-25 16:24


4.0.4 is out.

Idares commented on 2014-03-11 05:14

updated to 4.0.3-1
Nagios changelog:

Idares commented on 2014-02-27 09:13

updated to 4.0.2-2
- 'armv7h' added to arch (thanks to Fedaykin).

Fedaykin commented on 2014-02-18 01:12

Works without problems on BeagleBoneBlack so you can add 'armv7h' to arch in PKGBUILD.

Idares commented on 2013-11-27 09:09

updated to 4.0.2-1
Nagios changelog:

justin8 commented on 2013-11-25 22:45

4.0.2 is out. Fixes some annoying bugs

Idares commented on 2013-10-21 10:53

updated to 4.0.1-1
Nagios changelog:

BeepDog commented on 2013-10-19 21:29

osnap Nagios 4 is out :D

Idares commented on 2013-09-24 11:56


aurelien commented on 2013-09-24 06:54

| /usr/bin/install -c -b -m 664 -o 30 -g 30 sample-config/template-object/localhost.cfg /build/nagios/pkg/nagios/etc/nagios/objects/localhost.cfg
| /usr/bin/install -c -b -m 664 -o 30 -g 30 sample-config/template-object/windows.cfg /build/nagios/pkg/nagios/etc/nagios/objects/windows.cfg
| /usr/bin/install -c -b -m 664 -o 30 -g 30 sample-config/template-object/printer.cfg /build/nagios/pkg/nagios/etc/nagios/objects/printer.cfg
| /usr/bin/install -c -b -m 664 -o 30 -g 30 sample-config/template-object/switch.cfg /build/nagios/pkg/nagios/etc/nagios/objects/switch.cfg
| *** Config files installed ***
| Remember, these are *SAMPLE* config files. You'll need to read
| the documentation for more information on how to actually define
| services, hosts, etc. to fit your particular needs.
| install: cannot stat '/build/nagios/src/rc.nagios': No such file or directory
| ==> ERROR: A failure occurred in package().
| Aborting...
| Container failed with error code 1.
==> Copying log and package files out of the chroot...

Idares commented on 2013-09-24 05:37

updated to 3.5.1-1
Nagios changelog:

- removed /etc/rc.d/nagios script

Vrob commented on 2013-09-18 19:46

Version 3.5.1 is out :)

hugleo commented on 2013-06-06 15:59

I've added the nagios user to the group uucp (to use gnokii sms) and when I create a command like: id > /tmp/debug the result that I get is:
uid=30(nagios) gid=30(nagios) groups=30(nagios)

For a temporary fix I need to edit the systemd service (/etc/systemd/system/ and add these lines:


Resulting in:

ExecStart=/usr/bin/nagios /etc/nagios/nagios.cfg
ExecReload=/bin/kill -HUP $MAINPID

Now It's getting the correct result:
uid=30(nagios) gid=30(nagios) groups=30(nagios),14(uucp)

Idares commented on 2013-03-20 10:38

updated to 3.5.0-1
Nagios changelog:

Idares commented on 2013-02-11 07:03

updated to 3.4.4-1
Nagios changelog:

- ExecReload added to nagios.service (thanks to ferran).

Anonymous comment on 2013-02-04 20:05

Nagios service needs to be modified to allow reload without restarting nagios:

Description=Nagios Monitoring System

ExecStart=/usr/bin/nagios /etc/nagios/nagios.cfg
ExecReload=/bin/kill -HUP $MAINPID


Idares commented on 2012-12-10 09:29

updated to 3.4.3-2
Nagios changelog:

- /usr/bin/nagios permissions changed to 755

Idares commented on 2012-12-10 09:28

updated to 3.4.1-1
Nagios changelog:

- /usr/bin/nagios permissions changed to 755

Idares commented on 2012-12-10 09:27

I don't think perl-dbi and perl-dbd-mysql are needed, package compiles an runs fine without them.

bryanp commented on 2012-12-07 20:20

Hey, looks like it needs two more dependencies added: perl-dbi and perl-dbd-mysql

s.pantaleev commented on 2012-10-13 15:13

It's probably a good idea to have /usr/bin/nagios with 775 permissions. It now ends up with 774.

Running `nagios --verify-config {path}` as a normal user (not the nagios user or root) is sometimes useful.

Idares commented on 2012-07-19 08:18

updated to 3.4.1-4
- Apache configuration example moved to /etc/webapps/nagios/apache.example.conf

Backup your /etc/httpd/conf/extra/nagios.conf before upgrading (nagios installer should do the trick, but anyway...)

Sacro commented on 2012-07-16 14:13

See too.

Sacro commented on 2012-07-16 14:12

Please can you stop putting things in /etc/httpd, not all of us use Apache, they should go in /etc/webapps/nagios,

Also the rest should probably go in /usr/share/webapps/nagios.

Idares commented on 2012-07-13 05:26

updated to 3.4.1-3
- Added systemd unit file (thanks to eworm).

eworm commented on 2012-07-12 09:00

Can you please provide a systemd unit file? Just install this file linked below to /usr/lib/systemd/system/nagios.service. Thanks!

Idares commented on 2012-06-19 07:01

updated to 3.4.1-1
Nagios changelog:
3.4.1 - 05/11/2012
- Double quotes in check_command definition break functionality (#332, reverts #86)

3.4.0 - 05/04/2012
- Use execv() to execute active check commands (#86 - Ton Voon, dnsmichi)
- Added service_check_timeout_state configuration variable (Bill McGonigle)
- Permanently remove sleep on run_event == FALSE in main loop (Max - perldork at
- Reduce notification load by moving notification viability check into notification list creation (Opsview Team)
- Added code to apply allow_empty_hostgroup_assignment flag to host and service dependencies (Daniel Wittenberg)
- Users can now see hostgroups and servicegroups that contain at least one host or service they are authorized for, instead of having to be authorized for them all (Ethan Galstad)
- RSS feed boxes fallback if an error occurs (Ethan Galstad)
- RSS feeds no longer block main page load (Mike Guthrie)

- Fix $NOTIFICATIONRECIPIENTS$ macro to contain all contacts assigned to host|service, not only notified contacts (Bug #98 Matt Harrington)
- Scheduled Downtime Notifications Resent On Nagios Restart/reload (Bug #124 - ricardo)
- NOTIFICATIONTYPE MACRO never became CUSTOM (Bug #168 - Alexey Dvoryanchikov)
- Plugged minor memory leaks in notification logic

smerik commented on 2012-06-18 15:36

3.4.1 is out since 14 May 2012

Idares commented on 2012-01-18 09:12

updated to 3.3.1-3
- Removed brackets from install variable (thanks to eworm).

eworm commented on 2011-10-22 20:58

This does not work with makepkg from pacman 4.0. Please remove the brackets from install file:


Idares commented on 2011-10-21 14:19

updated to 3.3.1-2
- Added html/Makefile fix (thanks to jaapcrezee and jsivak).

Idares commented on 2011-10-21 12:49

That's strange, I can build the package on all my machines (one with fresh-installed base system). But as it seems to be common problem, I'll include the fix until next nagios release.

jsivak commented on 2011-10-19 23:31

I am also having the same problem as jaapcrezee. Not sure how you got it to compile, but the Makefile is fixed in nagioscore trunk ( so the next release should correct this issue.

Idares commented on 2011-10-10 06:10

I cannot reproduce this. Package builds fine on clean Arch installation.

jaapcrezee commented on 2011-10-08 11:31

Currently build fails. Something with installing rss files.
These two lines just before the make install command work:

sed -i 's:for file in includes/rss/\*;:for file in includes/rss/\*.\*;:g' ./html/Makefile
sed -i 's:for file in includes/rss/extlib/\*;:for file in includes/rss/extlib/\*.\*;:g' ./html/Makefile

Idares commented on 2011-08-01 15:35

updated to 3.3.1-1
Nagios changelog:
3.3.1 - 07/25/2011
- Added support for same host service dependencies with servicegroups (Mathieu Gagné)
- Empty hostgroups referenced from services now optionally generate a warning instead of an error.
- Documentation links now point to online resources
- Matt Wall's Exfoliation theme is now installed by default. You can reinstall the classic theme with "make install-classicui"
- Downtime delete commands made "distributable" by deleting by host group name, host name or start time/comment (Opsview team)
- Allow status.cgi to order by "host urgency" (Jochen Bern)
- Added news items and quick links to main splash page
- Added ability to authenticate to CGIs using contactgroup name (Stephen Gran)

- Fixes status.cgi when called with no parameters, where host should be set to all if none specified (Michael Friedrich)
- Fixes possible validation error with empty hostgroups/servicegroups (Sven-Göran Bergh)
- Performance-data handling and checking is now thread-safe so long as embedded perl is not used.
- Children should no longer hang on mutex locks held in parent for localtime() (and similar) calls.
- Debug logging is now properly serialized, using soft-locking with a timeout of 150 milliseconds to avoid multiple threads competing for the privilege to write debug info.
- Fixed extraneous alerts for services when host is down
- Fixed incorrect parsing of multi-line host check results (Jochen Bern)
- Fixed bug with passive host checks being incorrectly sent to event brokers as active checks
- Fixed bug where passive host check status updates were not being propagated to event brokers
- Reverted 'Fix for retaining host display name and alias, as well as service display name' as configuration information stored incorrectly over a reload
- Fixed compile warnings for size_t (Michael Friedrich)
- Fixed problem where acknowledgements were getting reset when a hard state change occurred
- Removed duplicated unlinks for check result files with multiple results
- Fixed race condition on flexible downtime commands when duration not set or zero (Michael Friedrich)
- Fixed flexible downtime on service hard state change doesn't get triggered/activated (Michael Friedrich)
- Fixed XSS vulnerability in config.cgi and statusmap.cgi (Stefan Schurtz)
- Fixed segfault when sending host notifications (Michael Friedrich)
- Fixed bug where unauthorized contacts could issue hostgroup and servicegroup commands (Sven Nierlein)

chmurli commented on 2011-07-29 13:54

3.3.1 is out. pls update

zlowly commented on 2011-07-27 08:52

Can contrib/eventhandlers/ be included inside?
submit_check_result will be useful.

Idares commented on 2011-06-28 15:41

updated to 3.2.3-2
- getent lines moved outside of build section.

zlowly commented on 2011-06-28 06:57

The following should be put in package() too:
getent group $_nagios_group || _nagios_group=30
getent passwd $_nagios_user || _nagios_user=30

fukawi2 commented on 2011-06-28 06:55

@zlowly: try moving the 2 "getent" lines from below build() to above build()

zlowly commented on 2011-06-28 06:51

nagios.install is excuted after PKGBUILD,so makepkg still rasies error:
chown: invalid user: `nagios:nagios'

Idares commented on 2011-04-16 17:35

user and group are created by nagios.install

Anonymous comment on 2011-04-16 08:40

Idares pls add user / group to pkg build

Anonymous comment on 2010-12-16 09:07

thx, now it works fine

Idares commented on 2010-12-15 15:38

Try to add "nagios" user and group manually:

groupadd -g 30 nagios
useradd -u 30 -g nagios -d /dev/null -s /bin/false nagios

Anonymous comment on 2010-12-15 14:34

Remember, these are *SAMPLE* config files. You'll need to read
the documentation for more information on how to actually define
services, hosts, etc. to fit your particular needs.

chown: invalid user: `nagios:nagios'

Idares commented on 2010-10-19 11:13

updated to 3.2.3-1
Nagios changelog:
3.2.3 - 10/03/2010
- Fixes problem where disabling all active hosts/services was not taking effect
- Fixes for compiler warnings (code cleanup by Stephen Gran)
- Fixes for format errors in event handler logging (Guillaume Rousse)
- Fixed incorrect info in sample nagios.cfg file for state_retention_file (Michael Friedrich)
- Fixed broker_event_handler() to return ERR if data is NULL (Michael Friedrich)

Idares commented on 2010-09-07 09:45

updated to 3.2.2-1
3.2.2 - 09/01/2010
Nagios changelog:
- Patch to new_mini_epn to allow any command line length without breaking on extra trailing or leading whitespace (Ray Bengen)
- Patch to mini_epn to allow any command line length (Thomas Guyot-Sionnest)
- Patch to speed up loading of state retention data (Matthieu Kermagoret)
- Custom notifications are now suppressed during scheduled downtime (Sven Nierlein)
- Added code to warn user about exit code of 126 meaning plugin is not executable (bug #153)
- Scheduled downtime can now start on SOFT error states (bug #47)
- Main window frame URL can now be specify with a "corewindow=" parameter
- Improved config CGI shows commands, command args in an easier to use manner (Jochen Bern)
- Added ability for NEB modules to override execution of event handlers (Sven Nierlein)
- Custom macros are no longer cleaned/stripped as they are user-defined and should be trusted (Peter Morch)
- Fix for choosing next valid time on day of DST change when clocks go one hour backwards
- Fix for nagios now erroring when "Error: Could not find any contactgroup matching..." displayed
- Fix tap tests for Solaris 10 and newer versions of Test::Harness
- Fix for notifications not being sent out when scheduled downtime is cancelled (Daniel Pouzzner)
- Fix for first notification delay being calculated incorrectly, and notifications potentially going out early (Pawel Malachowski)
- Fix for text of scheduling downtime of all services on a host (Holger Weiss)
- Fix for services inheriting notification period from hosts if not defined (Gordon Messmer)
- Fix for incorrect service states on host failures (bug #130 Petya Kohts)
- Fix for incorrect service state attributes being set on host failures (bug #128 Petya Kohts)
- Fix for non-scheduled hosts and services not being updated in NDOUtils
- Fix for typos in TAC, CMD CGIs (bugs #150, #144, #148)
- Fix for types in documentation (bugs #145, #105, #106)
- Fix for incorrect host state counts in status CGI when viewing servicegroups (bug #72)
- Fix for new Splunk integration query parameters (bug #136)
- Fix for extra field header in availability CSV export (bug #113)
- Fix for macro processing code modifying input string (Jochen Bern)
- Fix for update check API
- Fix for CGI speedup when persistent=0 for comments
- Fix for event execution loop re-scheduling host checks instead of executing them if service checks are disabled (bug #152)
- Fix for segfaults on Solaris (Torsten Huebler)
- Fix for incorrect comment expiration times being passed to event broker (Mattieu Kermagot)
- Doc updates related to cleaning of custom macros (Peter Valdemar Morch)
- Fix to sample notify-service-by-email command (bug #62)
- Fix for retaining host display name and alias, as well as service display name (Folkert van Heusden)

PKGBUILD changelog:
- script moved to /usr/share/nagios/bin/

pezz commented on 2010-09-03 11:28

Fair enough - by the way 3.2.2 is out! :)

Idares commented on 2010-09-03 09:17

I agree, but permissions are set by nagios installer. I'm not sure if it has any special reason, or it's a bug, so for now I prefer to leave them as they are.

pezz commented on 2010-09-02 03:13

I also think normal files should be 644 and not 664. :)

pezz commented on 2010-09-02 03:12

The dirs and executables in /usr/share/nagios should really be 755 and not 775. These permissions also conflict with the plugins package and generates warnings:

(1/1) installing nagios-plugins
warning: directory permissions differ on usr/share/nagios/libexec/
filesystem: 775 package: 755
warning: directory permissions differ on usr/share/nagios/share/

Anonymous comment on 2010-06-30 07:35


Idares commented on 2010-06-30 04:41

updated to 3.2.1-2
- added perl support

Anonymous comment on 2010-06-29 10:15

please add the perl support

in the configure line option



Idares commented on 2010-03-29 04:27

Maybe there's something wrong with your configuration.

nagios --verify-config /etc/nagios/nagios.cfg

dahankzter commented on 2010-03-26 14:00

The service will not start out of the box for me.

Do I have to follow the normal Nagios install?

Idares commented on 2010-03-25 06:09

updated to 3.2.1-1
Nagios changelog:
3.2.1 - 03/09/2010
- Link to allow scheduling downtime for all services on a host (Hendrik Baecker)
- Speedup to CGIs when lots of comments or downtimes in status.dat file (Jonathan Kamens)
- Patch for new_mini_epn to allow for any command line length without breaking extra trailing or leading whitespace (Ray Bengen)
- Fix for incorrect scheduling when time has gone back an hour (partial fix for 24x7)
- Fix for compile on Fedora Core 3 (bug #0000082)
- Fix for compile on Solaris
- Fix for logging test, which was not timezone aware (bug #0000077 - Allan Clark)
- Trivial cleanups for autoconf (Allan Clark)
- Fix for CSS validation of padding: X
- Fix for documentation re: case-insensitive nature of custom variables (Marc Powell)
- Fix for template configurations which use negated wildcards (Tim Wilde)
- N/A