Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2018 21:03:17 +0000 (UTC)
From:      Luca Pizzamiglio <pizzamig@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467197 - head/net-mgmt/victorops-nagios
Message-ID:  <201804122103.w3CL3H87051794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pizzamig
Date: Thu Apr 12 21:03:17 2018
New Revision: 467197
URL: https://svnweb.freebsd.org/changeset/ports/467197

Log:
  net-mgmt/victorops-nagios: Add icinga2 configuration files
  
  PR:		226723
  Approved by:	rand@iteris.com (maintainer)
  Sponsored by:	trivago N.V.

Modified:
  head/net-mgmt/victorops-nagios/Makefile
  head/net-mgmt/victorops-nagios/pkg-plist

Modified: head/net-mgmt/victorops-nagios/Makefile
==============================================================================
--- head/net-mgmt/victorops-nagios/Makefile	Thu Apr 12 20:17:12 2018	(r467196)
+++ head/net-mgmt/victorops-nagios/Makefile	Thu Apr 12 21:03:17 2018	(r467197)
@@ -3,6 +3,7 @@
 
 PORTNAME=	victorops-nagios
 PORTVERSION=	1.4.20
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://software.victorops.com/
 
@@ -32,12 +33,16 @@ do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
 	${INSTALL_DATA} ${WRKSRC}/etc/cron.daily/victorops ${STAGEDIR}${PREFIX}/etc/periodic/daily/400.victorops
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/nagios
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/icinga2
 	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/victorops
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/victorops
 	${MKDIR} ${STAGEDIR}/var/log/victorops
 	${INSTALL_DATA} ${WRKSRC}/opt/victorops/nagios_plugin/nagios_conf/victorops.cfg ${STAGEDIR}${PREFIX}/etc/nagios/victorops.cfg-sample
 	${INSTALL_DATA} ${WRKSRC}/opt/victorops/nagios_plugin/conf/env.sh.sample ${STAGEDIR}${PREFIX}/etc/victorops
 	${INSTALL_DATA} ${WRKSRC}/opt/victorops/nagios_plugin/conf/proxy.sh.sample ${STAGEDIR}${PREFIX}/etc/victorops
+	${INSTALL_DATA} ${WRKSRC}/opt/victorops/nagios_plugin/icinga2_conf/services.png ${STAGEDIR}${PREFIX}/etc/icinga2
+	${INSTALL_DATA} ${WRKSRC}/opt/victorops/nagios_plugin/icinga2_conf/vo_test_svc.conf ${STAGEDIR}${PREFIX}/etc/icinga2/vo_test_svc.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/opt/victorops/nagios_plugin/icinga2_conf/victorops.conf ${STAGEDIR}${PREFIX}/etc/icinga2/victorops.conf.sample
 .for i in check_test_svc check_victorops_cmds check_victorops_forwarder \
 	do_victorops_heartbeat enqueue_alert forward_alert_file forward_alerts \
 	send_email_alert send_status stop_forwarder \

Modified: head/net-mgmt/victorops-nagios/pkg-plist
==============================================================================
--- head/net-mgmt/victorops-nagios/pkg-plist	Thu Apr 12 20:17:12 2018	(r467196)
+++ head/net-mgmt/victorops-nagios/pkg-plist	Thu Apr 12 21:03:17 2018	(r467197)
@@ -1,6 +1,9 @@
 @sample etc/victorops/env.sh.sample
 @sample etc/victorops/proxy.sh.sample
 @sample etc/nagios/victorops.cfg-sample
+@sample etc/icinga2/victorops.conf.sample
+@sample etc/icinga2/vo_test_svc.conf.sample
+etc/icinga2/services.png
 etc/periodic/daily/400.victorops
 libexec/victorops/check_test_svc
 libexec/victorops/check_victorops_cmds
@@ -15,5 +18,6 @@ libexec/victorops/stop_forwarder
 libexec/victorops/url_encode.sed
 libexec/victorops/utils
 @dir etc/nagios
+@dir etc/icinga2
 @dir etc/victorops
 @dir /var/log/victorops



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804122103.w3CL3H87051794>