aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/victorops-nagios
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-05-05 15:38:11 +0000
committerRene Ladan <rene@FreeBSD.org>2020-05-05 15:38:11 +0000
commit0786acb3155523a38d1442f3c16ca56750f1db04 (patch)
tree42843d6e23bc6be789c7f1284cdc61d43d3c0942 /net-mgmt/victorops-nagios
parente0510744daebb2bb9f73bf707c276e02e4c191fe (diff)
downloadports-0786acb3155523a38d1442f3c16ca56750f1db04.tar.gz
ports-0786acb3155523a38d1442f3c16ca56750f1db04.zip
Notes
Diffstat (limited to 'net-mgmt/victorops-nagios')
-rw-r--r--net-mgmt/victorops-nagios/Makefile56
-rw-r--r--net-mgmt/victorops-nagios/distinfo2
-rw-r--r--net-mgmt/victorops-nagios/files/qpage-patch27
-rw-r--r--net-mgmt/victorops-nagios/pkg-descr4
-rw-r--r--net-mgmt/victorops-nagios/pkg-message13
-rw-r--r--net-mgmt/victorops-nagios/pkg-plist23
6 files changed, 0 insertions, 125 deletions
diff --git a/net-mgmt/victorops-nagios/Makefile b/net-mgmt/victorops-nagios/Makefile
deleted file mode 100644
index ea3a243ac332..000000000000
--- a/net-mgmt/victorops-nagios/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# Created by: Douglas K. Rand <rand@iteris.com>
-# $FreeBSD$
-
-PORTNAME= victorops-nagios
-PORTVERSION= 1.4.20
-PORTREVISION= 1
-CATEGORIES= net-mgmt
-MASTER_SITES= http://software.victorops.com/
-
-MAINTAINER= rand@iteris.com
-COMMENT= Nagios integration for VictorOps incident notification service
-
-USES= shebangfix
-SHEBANG_FILES= ${WRKSRC}/opt/victorops/nagios_plugin/bin/*
-
-NO_WRKSUBDIR= YES
-NO_BUILD= YES
-NO_ARCH= YES
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-RESTRICTED= Redistribution of software prohibited by VictorOps
-
-OPTIONS_DEFINE= QPAGE
-OPTIONS_DEFAULT=
-QPAGE_DESC= Integrate qpage for victorops server problems
-
-RUN_DEPENDS+= bash:shells/bash \
- curl:ftp/curl
-
-QPAGE_RUN_DEPENDS+= qpage:comms/qpage
-QPAGE_EXTRA_PATCHES+= ${FILESDIR}/qpage-patch
-
-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 \
- url_encode.sed utils
- ${INSTALL_SCRIPT} ${WRKSRC}/opt/victorops/nagios_plugin/bin/${i} ${STAGEDIR}${PREFIX}/libexec/victorops/${i}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/net-mgmt/victorops-nagios/distinfo b/net-mgmt/victorops-nagios/distinfo
deleted file mode 100644
index 45f9ed0b514f..000000000000
--- a/net-mgmt/victorops-nagios/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (victorops-nagios-1.4.20.tar.gz) = 87d8c87182e8945357cb9b602d19452754a4decb4809a8594a2495a04f3d9664
-SIZE (victorops-nagios-1.4.20.tar.gz) = 1678731
diff --git a/net-mgmt/victorops-nagios/files/qpage-patch b/net-mgmt/victorops-nagios/files/qpage-patch
deleted file mode 100644
index d85a38eaae15..000000000000
--- a/net-mgmt/victorops-nagios/files/qpage-patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- opt/victorops/nagios_plugin/bin/send_email_alert.orig 2016-01-16 21:20:46 UTC
-+++ opt/victorops/nagios_plugin/bin/send_email_alert
-@@ -34,6 +34,7 @@ fi
- # Build the contact email list
- ORG_SLUG="$(getVal _CONTACTVO_ORGANIZATION_ID unkonwn_org)"
- CONTACTEMAIL="$(getVal _CONTACTVO_CONTACTEMAIL)"
-+CONTACTPAGER="$(getVal CONTACTPAGER)"
- VO_CONTACT="failsafe+$ORG_SLUG@victorops.net"
- WGET_LOG=$LOG_DIR/victorops_forward_wget.out
- STDERR_LOG=$LOG_DIR/victorops_forward_wget.err
-@@ -45,10 +46,16 @@ if (( $IS_SERVICE )); then
- if [ "$CONTACTEMAIL" != "" ]; then
- printf "%b" "***** Alert *****\n\nNotification Type: $(getVal NOTIFICATIONTYPE)\n\nService: $(getVal SERVICEDESC)\nHost: $(getVal HOSTALIAS)\nAddress: $(getVal HOSTADDRESS)\nState: $(getVal SERVICESTATE)\n\nDate/Time: $(getVal LONGDATETIME)\n\nAdditional Info:\n\n$(getVal SERVICEOUTPUT)\n\n" | mail -s "** $(getVal NOTIFICATIONTYPE) Service Alert: $(getVal HOSTALIAS)/$(getVal SERVICEDESC) is $(getVal SERVICESTATE) **" $CONTACTEMAIL
- fi
-+ if [ "$CONTACTPAGER" != "" ]; then
-+ printf "%b" "$(getVal SERVICEDESC) $(getVal NOTIFICATIONTYPE) for $(getVal HOSTNAME) is $(getVal SERVICESTATE) at $(getVal TIME) $(getVal SERVICEOUTPUT)" | qpage -f icinga $CONTACTPAGER
-+ fi
- else
- if [ "$CONTACTEMAIL" != "" ]; then
- printf "%b" "***** Alert *****\n\nNotification Type: $(getVal NOTIFICATIONTYPE)\nHost: $(getVal HOSTNAME)\nState: $(getVal HOSTSTATE)\nAddress: $(getVal HOSTADDRESS)\nInfo: $(getVal HOSTOUTPUT)\n\nDate/Time: $(getVal LONGDATETIME)\n" | mail -s "** $(getVal NOTIFICATIONTYPE) Host Alert: $(getVal HOSTNAME) is $(getVal HOSTSTATE) **" $CONTACTEMAIL
- fi
-+ if [ "$CONTACTPAGER" != "" ]; then
-+ printf "%b" "$(getVal HOSTNAME) is $(getVal HOSTSTATE) at $(getVal TIME) -- $(getVal HOSTOUTPUT)" | qpage -f icinga $CONTACTPAGER
-+ fi
- fi
- # ***
- # *** Make sure the mail command is the last thing in this file so the including file can check the exit code
diff --git a/net-mgmt/victorops-nagios/pkg-descr b/net-mgmt/victorops-nagios/pkg-descr
deleted file mode 100644
index 0e51f8f5b0c8..000000000000
--- a/net-mgmt/victorops-nagios/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-VictorOps is an on-call management and incident notification service.
-This is the Nagios/Icinga integration package for VictorOps.
-
-WWW: http://www.victorops.com
diff --git a/net-mgmt/victorops-nagios/pkg-message b/net-mgmt/victorops-nagios/pkg-message
deleted file mode 100644
index 8a70cca923bd..000000000000
--- a/net-mgmt/victorops-nagios/pkg-message
+++ /dev/null
@@ -1,13 +0,0 @@
-[
-{ type: install
- message: <<EOM
-victorops-nagios requires that ca_root_nss be built with the option
-
- ETCSYMLINK Add symlink to /etc/ssl/cert.pem
-
-enabled. With out that option, wget will complain that VictorOps'
-GoDaddy SSL certificate is a self-signed certificate, which will
-prevent VictorOps from working.
-EOM
-}
-]
diff --git a/net-mgmt/victorops-nagios/pkg-plist b/net-mgmt/victorops-nagios/pkg-plist
deleted file mode 100644
index befcba4ec053..000000000000
--- a/net-mgmt/victorops-nagios/pkg-plist
+++ /dev/null
@@ -1,23 +0,0 @@
-@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
-libexec/victorops/check_victorops_forwarder
-libexec/victorops/do_victorops_heartbeat
-libexec/victorops/enqueue_alert
-libexec/victorops/forward_alert_file
-libexec/victorops/forward_alerts
-libexec/victorops/send_email_alert
-libexec/victorops/send_status
-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