Commit graph

5 commits

Author SHA1 Message Date
gdt
830e5ba5a6 In rc.d script, mkdir and chown /var/run/nagios so that nagios can
write the pid file.  PKGREVISION++.

OK tonnerre@.
2008-06-09 12:36:15 +00:00
seb
40ba22b280 Bump PKGREVISION to 4.
As proposed on pkgsrc-users@...

- Introduce NAGIOSDIR, defaults to VARBASE/spool/nagios, for log
and status files.

- Drop unused(?) 'nagadmin' user and group.

- Sync user and group handling with Nagios install
documentation/recommendations. Introduce the Nagios "external
command" group, NAGIOSCMD_GROUP, defaults to APACHE_GROUP. The
Nagios user should be manually added after package installation to
the NAGIOSCMD_GROUP group. Add this recommandation to the MESSAGE
file. Make the "external command directory", NAGIOSDIR/rw, owned
by NAGIOS_USER:NAGIOSCMD_GROUP.

- Use /var/run/nagios.lock as pidfile.

- Only install existing example configuration files.

- Put default values of NAGIOSDIR, NAGIOS_USER, NAGIOS_GROUP and
NAGIOSCMD_GROUP in mk/defaults/mk.conf and allow MAKECONF to
override them.

- Miscellaneous clean up and sync with the changes mentionned above.

- When deleting the package allow removal of directories shared
with other Nagios packages to fail.
2007-11-26 22:14:13 +00:00
ghen
373432db41 Introduce an rc.d/nagios reload action (SIGGUP, to re-read config files
without restarting).  Bump PKGREVISION.
2007-10-11 19:24:35 +00:00
grant
6374e778c6 /bin/sh is not the right shell to use in pkgsrc rc scripts. use
@RCD_SCRIPTS_SHELL@. don't bother testing for /etc/rc.subr because it
won't work without it, anyway.

bump PKGREVISION.
2006-05-11 07:32:02 +00:00
bouyer
e789167179 Initial import of nagios-base 2.0, based on the 1.3.x package in pkgsrc-wip.
Nagios is a program that will monitor hosts and services on your
network.  It has the ability to email or page you when a problem arises
and when it gets resolved.  Nagios is written in C and is designed to
run under Linux, although it should work under most other *NIX variants.
It can run either as a normal process or as a daemon, intermittently
running checks on various services that you specify.  The actual service
checks are performed by external "plugins" which return service
information to Nagios.  Several CGI programs are included with Nagios
in order to allow you to view the current service status, history, etc.
via a web browser.

This package provides the core nagios infrastructure and web pages.
2006-02-18 17:12:20 +00:00