summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-12-11 20:01:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-12-11 20:01:55 (GMT)
commit5f58ea928f87bc20e8bb8102f8ce6272d3d6fc47 (patch)
treeb1f9cc2ef6efb262a87acc927bcc63e9ea3862b4 /abs
parent78e5c0eb57d6bd88bbf81ddbe9f474a0a896b298 (diff)
downloadlinhes_pkgbuild-5f58ea928f87bc20e8bb8102f8ce6272d3d6fc47.zip
linhes_pkgbuild-5f58ea928f87bc20e8bb8102f8ce6272d3d6fc47.tar.gz
linhes_pkgbuild-5f58ea928f87bc20e8bb8102f8ce6272d3d6fc47.tar.bz2
xymon: alerts.cfg and login_notify.sh: changes to push color to loging file. refs #945
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/xymon/PKGBUILD6
-rwxr-xr-xabs/core/xymon/alerts.cfg2
-rw-r--r--abs/core/xymon/login_notify.sh4
3 files changed, 6 insertions, 6 deletions
diff --git a/abs/core/xymon/PKGBUILD b/abs/core/xymon/PKGBUILD
index 5c55a66..e880b98 100755
--- a/abs/core/xymon/PKGBUILD
+++ b/abs/core/xymon/PKGBUILD
@@ -1,7 +1,7 @@
pkgbase=xymon
pkgname=(xymonserver xymonclient)
pkgver=4.3.5
-pkgrel=53
+pkgrel=54
pkgdesc="Hobbit is a system for monitoring servers and networks. "
license="GPL"
arch=('i686' 'x86_64')
@@ -143,8 +143,8 @@ md5sums=('31923ec126fe1c264fceb459d2175161'
'0469d775db9fdd18ea95dd41937ada82'
'0757294eec13771f8e63da23cf066796'
'6baa410da1dfb86435191f4805186ea7'
- 'a834dd134b6d640d753b1e26609d37df'
- '9b5f3079c461f1e0a1b5fb805d073665'
+ '4bc37b700146e4f4206a729c835903b0'
+ '9af2ad60ac4c3cb653754618f603e311'
'b8eb10070f2ad6a245d3da15091694ba'
'b4e8641e97e6b689dbc634af785e6799'
'e2844513e2c92e8b5084818f3b2a478d'
diff --git a/abs/core/xymon/alerts.cfg b/abs/core/xymon/alerts.cfg
index 3ba26bd..a5e5bc2 100755
--- a/abs/core/xymon/alerts.cfg
+++ b/abs/core/xymon/alerts.cfg
@@ -123,6 +123,6 @@ HOST=* SERVICE=func
HOST=* SERVICE=* EXSERVICE=conn
SCRIPT /home/xymon/server/bin/hobbit_notify.sh dummy_notice FORMAT=plain DURATION>4h REPEAT=12h COLOR=red
- SCRIPT /home/xymon/server/bin/login_notify.sh dummy_notice FORMAT=plain DURATION>5m REPEAT=5m COLOR=red RECOVERED
+ SCRIPT /home/xymon/server/bin/login_notify.sh dummy_notice FORMAT=plain DURATION>5m REPEAT=5m COLOR=!purple RECOVERED
diff --git a/abs/core/xymon/login_notify.sh b/abs/core/xymon/login_notify.sh
index 6696165..8c17342 100644
--- a/abs/core/xymon/login_notify.sh
+++ b/abs/core/xymon/login_notify.sh
@@ -56,8 +56,8 @@ else
echo "SERVICE: $BBSVCNAME" >> $NOTICE_DIR/$BBHOSTSVC
echo "HOST: $BBHOSTNAME" >> $NOTICE_DIR/$BBHOSTSVC
echo "ACKCODE: $ACKCODE" >> $NOTICE_DIR/$BBHOSTSVC
- echo "MSG $BBALPHAMSG" >> $NOTICE_DIR/$BBHOSTSVC
-
+ echo "COLOR: $BBCOLORLEVEL" >> $NOTICE_DIR/$BBHOSTSVC
+ echo "MSG $BBALPHAMSG" >> $NOTICE_DIR/$BBHOSTSVC
fi