299 Commits

Author SHA1 Message Date
sthen
f9f291622e - remove @samples that end up under /var/run, req'd by ajacoutot
- on the off-chance, try an update while there
2015-08-25 13:53:28 +00:00
sthen
77e1587c7b remove useless patch, the make target it's modifying isn't called 2015-07-17 22:44:28 +00:00
sthen
0b825b856b update to icinga 1.13.3 2015-07-15 20:10:58 +00:00
sthen
ce974b46cc use su -m instead of -s /bin/sh, suggested by millert
add some missing -c
2015-07-07 14:44:58 +00:00
sthen
d5ffe85b7d Remove use of sudo from pkg READMEs in a few ports as packages and their
instructions are meant to work on a fresh install.

- easy cases: replace some '$ sudo somecommand' with '# somecommand'
(while there I've swapped some "${RCDIR}/foo start" with "rcctl foo start").

- replace some 'sudo -u user somecommand foo bar' with
'su -s /bin/sh user "/path/to/somecommand foo bar"' and similar.
Not pretty with the -s, but many of the uids that need to run
these commands have /sbin/nologin as their usual shell.
2015-07-06 11:25:36 +00:00
sthen
368b70a24b Slightly better BROKEN marker for icinga2. Any clues very welcome...
ConfigItem::ActivateItems() calls DynamicObject::RestoreObjects().
DynamicObject::RestoreObjects() runs to the last line of the function,
however control is not returned to the following line in
ConfigItem::ActivateItems() (i.e. the calling function).
2015-07-02 20:16:54 +00:00
sthen
fe4485895b update to icinga2-2.3.5, still no closer to solving the problems though so
it remains marked BROKEN.
2015-06-30 09:19:48 +00:00
robert
9c1017ae2d bump revision due to the change of the default php version to 5.6
ok aja@
2015-06-05 06:00:20 +00:00
sthen
1a91fae5ba update to icinga2 2.3.4. mark BROKEN until I can get some handle on what's
going on with daemonization (not backgrounding when expected) and hangs seen
in some cases.
2015-05-12 09:37:03 +00:00
rpe
fd9f1d80cd Update net/icinga/web to version 1.12.0
OK sthen@
2015-04-05 12:15:08 +00:00
pascal
35957f111a Bumps for static PIE changes.
"just commit" naddy@
2015-04-03 15:12:28 +00:00
sthen
4b298c3efb update to icinga-1.13.0 2015-03-30 22:43:42 +00:00
rpe
249b5547a3 - Use rcctl(8) in commandline examples.
- Add a section how to setup icinga-cgi with httpd(8) and slowcgi(8).

OK sthen@
2015-02-07 22:39:04 +00:00
sthen
e9400759bc Update to icinga2-2.2.4. Change rc script to use "icinga2 daemon" and rc_bg to
force running in the background; it was previously using "icinga2 daemon -d",
but since 2.2.2 this has been hanging on OpenBSD.

Disable vfork as was done upstream on MacOS (to stop a hang there) in the
hope it may also stop a runtime hang seen occasionally here.

There are still some odd things going on and I don't think this is production-
ready on OpenBSD yet, so the warning in DESCR-main remains, but I think this
is not worse than 2.2.1.
2015-02-06 22:53:27 +00:00
sthen
58dfc8201e fix the remaining 63 time_t problems in Icinga idomod.c, and a typo in patch-cgi_cgiutils_c 2015-02-04 21:19:23 +00:00
landry
abf237485f Broken on hppa for missing atomic ops 2015-01-20 18:42:38 +00:00
sthen
e7040b37c6 more printf format string fixes for icinga (time_t issues on 32-bit arches)
the remaining 61 are all in idomod.c

presumably most/all of these also apply to nagios
2015-01-19 16:59:42 +00:00
sthen
2afac01634 Patch some of the format problems in icinga 1 due to 64-bit time_t,
as reported by otto@. Build with -wformat to make the other two hundred
and ten of them more obvious.

(icinga2 doesn't have these problems, but we are stuck with an older
version of icinga2 as current versions fail at runtime on OpenBSD,
and a number of these problems affect the icinga1 cgis which are still
useful with 2).
2015-01-16 18:07:53 +00:00
sthen
3d346c3a42 tweak DESCR, make it clear that this isn't considered entirely stable on OpenBSD 2015-01-04 21:47:14 +00:00
sthen
e8fbb5fe11 revert to icinga2 2.2.1, at least daemonizing fails on openbsd, possibly more. 2015-01-04 21:32:24 +00:00
sthen
da8b773213 update to icinga2-2.2.2, various bugfixes 2014-12-19 01:20:16 +00:00
sthen
4ce6614320 Remove some bogus information about web chroot setup that was modified from
the icinga1 readme, it can go back later when icinga web 2 is ready. Problems
spotted by florian@.

Mention that icinga2-migration is now a package.
2014-12-17 22:10:30 +00:00
sthen
41035205ca update to icinga 2.2.1 2014-12-01 23:45:58 +00:00
sthen
c0294e3dab +icinga2-migration 2014-11-29 12:21:06 +00:00
sthen
149258b623 import ports/net/icinga/icinga2-migration, ok benoit@ landry@
This standalone script allows you to migrate the basic Icinga 1.x object
configuration into native Icinga 2 configuration objects. This project
will be merged into the upstream CLI once there is a stable release.
Meanwhile it acts as standalone helper tool for migrating to Icinga 2.

You are highly advised to read the Icinga 2 Migration documentation
and understand the new dynamic configuration syntax. Check the manual
migration hints in the documentation (http://docs.icinga.org/icinga2/latest/).
2014-11-29 12:20:50 +00:00
sthen
d4b9694e05 remove WRKDIST=${WRKDIR}/${DISTNAME} lines, they are the default anyway 2014-11-23 20:28:01 +00:00
sthen
93c42c8b2d link icinga/core2 to the build 2014-11-22 00:14:21 +00:00
sthen
67271221d0 disable the icinga2 code which forces rlimit setting, it is responsible for
random crashes at startup (typically with no usable backtrace) on OpenBSD
2014-11-22 00:14:05 +00:00
sthen
7c563b96bb update to icinga2 2.2.0 2014-11-22 00:13:03 +00:00
sthen
cfed1c8a90 update to icinga 1.12.0 2014-11-21 14:06:26 +00:00
sthen
174f98ce56 bump REVISION for php version switch 2014-11-06 17:13:39 +00:00
sthen
425b416b73 update to icinga-web 1.11.2 2014-10-02 21:05:02 +00:00
brad
b94a402501 Switch from using MySQL to using MariaDB attempt #2. MariaDB is a drop-in replacement.
ok sthen@
2014-09-13 18:09:20 +00:00
sthen
752b328c24 update to icinga 1.11.7 2014-09-03 11:55:55 +00:00
sthen
4c297064e5 normalize patches, now that trees are unlocked 2014-08-14 09:00:06 +00:00
sthen
4c8fa9518b use the correct format string for time_t on i386, unbreaking logging there.
patch bodged into patch-configure for now, to be split out after full unlock.
2014-08-11 18:34:59 +00:00
jasper
4c746b924a don't hardcode path to mod_rewrite.so so that the default config
works with openbsd-httd-openbsd again.

ok sthen@ rpe@
2014-08-10 11:12:26 +00:00
ajacoutot
9d087a11f1 Tweak documentation according to recent rc changes.
ok jasper@
2014-07-22 10:55:40 +00:00
ajacoutot
9ecb6ea3d9 /etc/rc.d -> ${RCDIR}
(as pedantic and useless as /usr/local vs LOCALBASE|PREFIX but well...)

ok sthen@
2014-07-19 22:36:13 +00:00
sthen
19ca9bed1a don't use "echo 'pkg_scripts="${pkg_scripts} icinga' >> /etc/rc.conf.local"
examples

chase monitoring-plugins change (missed commit yesterday)
2014-07-12 11:22:10 +00:00
sthen
e22662c1d7 update to icinga 2.0.1, I still see all tests failing (seems to be dlopen
related), but now it seems to start reliably without segfaults.

(still not linked to the build at this point).
2014-07-10 15:01:17 +00:00
ajacoutot
5ecbbd0b5d rc.conf.local is always under /etc. 2014-07-10 12:58:31 +00:00
rpe
36ac6aba66 Add commit id to ensure to fetch the exact same distfile even upstream
commits to the tag after the initial release.

OK sthen@
2014-07-10 11:14:20 +00:00
rpe
db0f78f1bc Switch to new way of handling github.
OK sthen@
2014-07-09 15:06:06 +00:00
sthen
6677ed4fd3 add todo comment re intermittent segfaults at startup (so far resistant to
getting a core dump)
2014-07-01 22:55:27 +00:00
sthen
e99fc4d5b2 s/icinga/icinga2 in "mv-into-chroot" instructions 2014-06-27 00:28:19 +00:00
sthen
4cc264bba2 remove obsolete comments 2014-06-27 00:28:02 +00:00
sthen
9e8ddf0f3a typo in @sample line 2014-06-27 00:16:08 +00:00
sthen
84fcd57b0e LIB_DEPENDS on libexecinfo 2014-06-27 00:14:27 +00:00
sthen
e46dad478d Add a dedicated _icingacmd group for use with icinga2 command pipes and livestatus 2014-06-27 00:09:29 +00:00