summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-03-06 20:19:29 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-03-06 20:19:29 (GMT)
commit9b1a9f4424c6aebcf775234de19691c6bd46eeca (patch)
tree9ca1abb80a57a919c989b1d53063eb9b1b3c671b
parent83d724ff9bfe884bc4ee7d65fbc3846082a3fcca (diff)
downloadlinhes_pkgbuild-9b1a9f4424c6aebcf775234de19691c6bd46eeca.zip
linhes_pkgbuild-9b1a9f4424c6aebcf775234de19691c6bd46eeca.tar.gz
linhes_pkgbuild-9b1a9f4424c6aebcf775234de19691c6bd46eeca.tar.bz2
xymon: add myth_mtc for xymon clients. closes #990
-rwxr-xr-xabs/core/xymon/PKGBUILD5
-rwxr-xr-xabs/core/xymon/clientlaunch.cfg.patch10
2 files changed, 11 insertions, 4 deletions
diff --git a/abs/core/xymon/PKGBUILD b/abs/core/xymon/PKGBUILD
index 3b11a68..310e2a5 100755
--- a/abs/core/xymon/PKGBUILD
+++ b/abs/core/xymon/PKGBUILD
@@ -1,7 +1,7 @@
pkgbase=xymon
pkgname=('xymonserver' 'xymonclient')
pkgver=4.3.17
-pkgrel=14
+pkgrel=15
pkgdesc="Xymon is a system for monitoring of hosts and networks"
license="GPL"
arch=('i686' 'x86_64')
@@ -146,6 +146,7 @@ package_xymonclient(){
install -D -m400 ${srcdir}/xymon-client.rules ${pkgdir}/etc/sudoers.d/xymon_client
install -D -m755 ${srcdir}/log_list.sh ${pkgdir}/home/xymon/client/bin/log_list.sh
install -D -m644 ${srcdir}/logrotate-client.xymon ${pkgdir}/etc/logrotate.d/xymon-client
+ install -D -m755 ${srcdir}/hobbit_myth_data.py ${pkgdir}/home/xymon/client/ext/hobbit_myth_data.py
install -D -m755 ${srcdir}/hobbit-mem-myth.sh ${pkgdir}/home/xymon/client/ext/hobbit-mem-myth.sh
install -D -m755 ${srcdir}/xymon-gputemp.sh ${pkgdir}/home/xymon/client/ext/xymon-gputemp.sh
install -D -m755 ${srcdir}/xymon-hddtemp.sh ${pkgdir}/home/xymon/client/ext/xymon-hddtemp.sh
@@ -164,7 +165,7 @@ md5sums=('d8d119a777e7b7204d1292fb27314312'
'92bd5e8279c688fd854d514443bc733c'
'f0fca78520f434918bd1be717d165073'
'a19c8c546dcd95049476bb19f9d4e3ae'
- '079833e3af5d74b93a86b5819dbf453b'
+ 'c9a31ea9ae131fb351db913e922c25aa'
'b2f98ac0df013332deedc1efae0a270d'
'4a8244c1bb44fe35ca7372355b01cec4'
'aa7c2eec6cd894dc171e90a4eed69de1'
diff --git a/abs/core/xymon/clientlaunch.cfg.patch b/abs/core/xymon/clientlaunch.cfg.patch
index 980da4c..dba5876 100755
--- a/abs/core/xymon/clientlaunch.cfg.patch
+++ b/abs/core/xymon/clientlaunch.cfg.patch
@@ -1,6 +1,6 @@
--- clientlaunch.cfg.orig 2015-02-19 22:50:43.102571615 +0000
-+++ clientlaunch.cfg 2015-03-04 23:45:50.087484982 +0000
-@@ -26,3 +26,26 @@
++++ clientlaunch.cfg 2015-03-06 19:23:04.010103917 +0000
+@@ -26,3 +26,32 @@
LOGFILE $XYMONCLIENTLOGS/xymonclient.log
INTERVAL 5m
@@ -10,6 +10,12 @@
+ LOGFILE $XYMONCLIENTLOGS/mythmem.log
+ INTERVAL 5m
+
++[mtc]
++ ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
++ CMD /home/xymon/client/ext/hobbit_myth_data.py
++ LOGFILE $XYMONCLIENTLOGS/mtc.log
++ INTERVAL 5m
++
+[gputemp]
+ ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
+ CMD /home/xymon/client/ext/xymon-gputemp.sh