1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net-mgmt/victorops-nagios/files/patch-support_collect.sh
Kurt Jaeger 1715b498a2 New port: net-mgmt/victorops-nagios
VictorOps is an on-call management and incident notification service.
This is the Nagios/Icinga integration package for VictorOps.

WWW: http://www.victorops.com

PR:		191383
Submitted by:	rand@iteris.com
2014-08-09 09:49:49 +00:00

14 lines
588 B
Bash

--- opt/victorops/nagios_plugin/bin/support_collect.sh.orig 2014-06-11 11:24:28.858964094 -0500
+++ opt/victorops/nagios_plugin/bin/support_collect.sh 2014-06-11 11:25:03.784958472 -0500
@@ -11,8 +11,8 @@
TARBALL=$($DATE +%Y%m%d-%H%M)-victorops.tgz
SUPPORT=support@victorops.com
-echo $TAR -cz -f $TARBALL /var/log/victorops /var/nagios
-$TAR -cz -f $TARBALL /var/log/victorops /var/nagios
+echo $TAR -cz -f $TARBALL /var/log/victorops /var/spool/nagios/victorops/alerts
+$TAR -cz -f $TARBALL /var/log/victorops /var/spool/nagios/victorops/alerts
if [ -e "$MUTT" ]; then
echo