200 Commits

Author SHA1 Message Date
sthen
69226b8e47 Fix nsca-ng on 32-bit arch with 64-bit time_t. Problem researched and original
diff from florian@; I am using a slightly different diff from upstream here
(also tested by florian@).
2013-09-12 17:03:45 +00:00
sthen
1a477e9204 remove unnecessary RUN_DEPENDS-main on php. bump REVISION-main to fix the build. 2013-08-14 11:29:26 +00:00
robert
d5b92ddea0 bump REVISION due to the php update 2013-08-12 04:11:20 +00:00
jasper
2e80eecc12 use ${VARBASE} instead of hardcoding /var 2013-07-05 07:44:59 +00:00
ajacoutot
25b3041f91 Unbreak after hx509 and ntlm removal from Kerberos. 2013-06-20 06:54:36 +00:00
ajacoutot
8613536758 Some trivial WANTLIB and tweaks to unbreak after the Heimdal update.
Stop hardcoding the Kerberos libs and use krb5-config(1).
2013-06-17 19:28:36 +00:00
brad
17833ea850 Revert back to using MySQL 5.1 for the time being. MariaDB 5.5 introduces
a new libmysqlclient non-blocking API which utilizes co-routines. The X86
specific GCC ASM co-routine support hid the fact that there was an issue.
The only fallback code so far is POSIX user contexts which OpenBSD does not
support.

Input from and Ok sthen@ jasper@
2013-06-12 20:36:33 +00:00
ajacoutot
468e86366b Remove pthread patches. 2013-06-01 14:18:40 +00:00
brad
0b77cf86a5 Switch from using MySQL to using MariaDB. MariaDB is a drop-in replacement.
ok sthen aja
2013-05-25 00:33:09 +00:00
sthen
d7f68188e4 minor tweaks (no package change): use ${SUBST_CMD} instead of perl -pi -e,
and strip DOS line-endings to make for more-easily-emailable patches
2013-05-07 20:17:43 +00:00
rpe
b9a4bbce09 update nsca to 2.9.1
switch back to the original version, because icinga's fork of NSCA
has been discontiued

Please note: it is recommended that NCSA-ng is used for new
             installations.

ok sthen@
2013-05-07 20:14:45 +00:00
rpe
cbcf0f7a68 update nagios to 3.5.0
- remove REVISION-main
- use ${PREFIX-web} instead of /var/www in CONFIGURE_ARGS
- use --with-htmurl, --with-httpd-conf, --with-log-dir to have
  (almost) identical CONFIGURE_ARGS for nagios and icinga
- make post-install block more compact
- move the apache config file snippet from nagios-main to nagios-web
- add a pkg-readme

with feedback and ok sthen@
2013-05-05 22:13:48 +00:00
merdely
af2c390b44 Update check_esxi_hardware to 20130424:
It adds "System Board 1 LCD Cable Pres 0: Connected" to the list of
things that fall under:
"As long as Dell doesnt correct these CIM elements return code we have
to ignore it"

"sure" sthen@
2013-04-24 13:37:22 +00:00
sthen
cf80c9cf32 switch back to the nagios version of NRPE and update to 2.14, including
fix for metacharacter filtering (CVE-2013-1362) which was letting $(...)
through, reported by a couple of people.

this loses the v6 support but the fork which added this is currently dead.
2013-04-17 15:15:16 +00:00
sthen
d3f035f164 update to NSCA-ng 1.1 2013-04-12 21:44:53 +00:00
rpe
f0ff02ff45 update check_postgres to 2.20.0
ok sthen@ (maintainer)
2013-04-01 21:48:34 +00:00
sthen
f448d562d2 Update to check_mssql_health 1.5.19, inadvertently prompted by rpe@ ;-)
Switch to gtar, the distfile uses extended pax headers.
2013-04-01 21:43:36 +00:00
rpe
69bc0b961a update p5-Nagios-Plugin to 0.36
ok aja@
2013-04-01 18:27:43 +00:00
rpe
657e167ec5 update cnagios to 0.30
ok aja@
2013-04-01 18:26:00 +00:00
sthen
f08b18e03d SSL_verify_mode handling changed in Perl; stop check_imap_receive /
imap_ssl_cert from whining.
2013-03-28 12:38:55 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
sthen
0b44a35c47 Recommend NSCA-ng as an alternative in NSCA's DESCR files. (if you have
spent more than about half a second looking at the code you'll know why).
2013-03-14 10:28:52 +00:00
sthen
bcbeda3af0 add chroot support; committed upstream (thanks Holger!) 2013-03-14 10:19:38 +00:00
sthen
a599661583 this works with SEPARATE_BUILD=Yes, so set it. 2013-03-13 09:55:56 +00:00
sthen
b4128594aa mark conflict with nsca-ng, remove old hashes from distinfo while there 2013-03-12 23:44:09 +00:00
sthen
bf54838811 +nsca-ng 2013-03-11 19:27:49 +00:00
sthen
8150e5250b Import ports/net/nagios/nsca-ng, a nicer BSD-licensed alternative to the
horrible Nagios NSCA passive check acceptor. Command lines are compatible
but the protocol is not - however the two servers can coexist to assist
during a migration.  Fix/ok rpe@
2013-03-11 19:27:31 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
f5a323c546 Don't use ${FLAVOR:L}, we only support lower-case flavours now.
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
sthen
beada9ea05 disable the phone-home "check for updates" option in default config. 2013-01-14 12:14:21 +00:00
sthen
408ec294c5 update nagios to 3.4.4; SECURITY stack-based buffer overflow in history.cgi
(CVE-2012-6096, http://pastebin.com/FJUNyTaj)
2013-01-14 11:57:44 +00:00
sthen
46078defc3 update to Nagios 3.4.3, tested by/ok merdely@ rpe@ (thanks!) 2012-12-14 23:50:08 +00:00
merdely
4ebf3e2517 Update to 20121027.
Adds workaround for Dell PE x620 machines:
"[T]he CIM element "System Board 1 Riser Config Err 0: Connected" returned
a code of 12, which, according to the CIM documentation, means "Not
connected". But all affected users had an actual Riser Card connected
and working. So this return code does not make sense."

ok sthen@
2012-11-04 21:44:43 +00:00
sthen
a0c624ff98 update check_mssql_health to 1.5.10; various bugfixes 2012-09-15 10:37:22 +00:00
sthen
b700bc9042 cvs add. I could've sworn this was already there... 2012-09-05 19:57:42 +00:00
sthen
ebfd5e5feb use a subdir for the pid file to avoid log spam; pointed out by Julien Dhaille 2012-09-05 19:55:57 +00:00
sthen
2e4d750576 ESXi 5.0u1 responds *really* slowly to hardware status requests, this is
a vmware bug, until they get round to fixing it let's at least document which
icinga/nagios variable you need to bump as a workaround.  ok merdely@
2012-07-05 14:39:10 +00:00
sthen
6fae620fee switch to Net::SMTP::TLS::ButMaintained 2012-07-03 12:47:11 +00:00
sthen
14a538eac0 update nagios-plugins to 1.4.16, various fixes/new features
- the new code in check_user wants utmpx so those parts are reverted
to the old popen("/usr/bin/who",...) code for now.
2012-06-28 23:10:48 +00:00
sthen
bfa3972402 drop Simon Kuhnle as maintainer, per his request. 2012-06-25 22:03:04 +00:00
sthen
94bc04cdb9 +check_postgres 2012-05-21 11:06:04 +00:00
sthen
85c831b5fe import ports/net/nagios/check_postgres, ok pea@
check_postgres is a script for monitoring various attributes of
your database (transaction id status, blocked queries, long running
queries, connection status and more). It is designed to work with
Nagios, MRTG, or in standalone scripts.
2012-05-21 11:05:38 +00:00
sthen
b662b2910c Install send_nsca in usr/local/sbin so it's in a typical path, it's a
standalone utility anyway so libexec isn't really the right place for it.
Keep a symlink around to avoid breaking existing installations.
2012-05-02 13:40:09 +00:00
sthen
d0d89306c9 tweak check_email_delivery:
- drop pointless patch, we only install the _epn version
- add mail to categories
- allow --imap-username / --imap-password by itself (avoiding the need
to specify a username which applies to smtp if auth is enabled).
2012-05-02 13:15:53 +00:00
merdely
f744273784 "Bugfix in manufacturer discovery when cim entry not found or empty"
ok sthen@
2012-05-01 15:32:20 +00:00
ajacoutot
3f0ee525f1 Use LOCALSTATEDIR. 2012-04-28 10:51:44 +00:00
merdely
f9faaee998 Update to 20120405.
#@---------------------------------------------------
#@ Date   : 20120405
#@ Author : Phil Randal (phil.randal@gmail.com)
#@ Reason : Fix lookup of warranty info for Dell
#@---------------------------------------------------

ok sthen@
2012-04-06 15:35:08 +00:00
merdely
422fb91b89 Update bioctl to 1.16.
Account for change in bioctl output:
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/bioctl/bioctl.c.diff?r1=1.98;r2=1.99;f=h

ok sthen@
2012-04-04 21:49:44 +00:00
merdely
0a20e294ad Add check_esxi_hardware 2012-04-02 16:51:31 +00:00
merdely
ca4694c2c3 Import check_esxi_hardware
This script is a Nagios plugin to monitor the hardware of ESX and ESXi
servers. It can also be used as standalone script to check the hardware -
Nagios isn't necessary to run it.
    
ok sthen@
2012-04-02 16:50:47 +00:00