From 1b44c5155a096f665e3aeacada82c244407132e4 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 25 Apr 2017 18:05:17 +0000 Subject: xymon: add inode and disk exceptions to frontend systems --- abs/core/xymon/PKGBUILD | 4 ++-- abs/core/xymon/analysis.cfg.patch | 33 ++++++++++++++++++++------------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/abs/core/xymon/PKGBUILD b/abs/core/xymon/PKGBUILD index 4ecc620..12649cb 100755 --- a/abs/core/xymon/PKGBUILD +++ b/abs/core/xymon/PKGBUILD @@ -1,7 +1,7 @@ pkgbase=xymon pkgname=('xymonserver' 'xymonclient') pkgver=4.3.28 -pkgrel=3 +pkgrel=4 pkgdesc="Xymon is a system for monitoring of hosts and networks" license=('GPL') arch=('i686' 'x86_64') @@ -177,7 +177,7 @@ package_xymonclient(){ md5sums=('14501ab2cfce9a332c1590543dfcbd0f' '9af2ad60ac4c3cb653754618f603e311' - '77fd7ab6ebbe72d14092ee53c5958f97' + 'ecf9c4c878b676ca8be5a547888359ed' 'd210c43fb9ee9ad6cd7648e0c2e0efea' '0c808fa12672289f86b0651545381308' '0469d775db9fdd18ea95dd41937ada82' diff --git a/abs/core/xymon/analysis.cfg.patch b/abs/core/xymon/analysis.cfg.patch index 3539ae3..d93b70d 100644 --- a/abs/core/xymon/analysis.cfg.patch +++ b/abs/core/xymon/analysis.cfg.patch @@ -1,12 +1,12 @@ ---- analysis.cfg.orig 2017-01-18 19:50:46.758666909 +0000 -+++ analysis.cfg 2017-01-18 20:01:50.480263760 +0000 -@@ -353,12 +353,108 @@ +--- analysis.cfg.orig 2017-04-25 17:21:23.686051680 +0000 ++++ analysis.cfg 2017-04-25 17:23:11.332110989 +0000 +@@ -353,12 +353,115 @@ # to all hosts, add a new section with "HOSTS=*" +HOST=_MASTERBACKEND_ -+ PROC sshd 1 -+ PROC lighttpd ++ PROC sshd 1 ++ PROC lighttpd + PROC xymond + PROC crond + PROC mysql @@ -25,8 +25,8 @@ + +HOST=_MASTERFRONTEND_ + PROC mythfrontend 1 5 yellow -+ PROC sshd 1 -+ PROC lighttpd ++ PROC sshd 1 ++ PROC lighttpd + PROC xymond + PROC crond + PROC mysql @@ -44,14 +44,21 @@ + PORT "LOCAL=%([.:]22)$" state=LISTEN TEXT=ssh + +HOST=_FRONTEND_ -+ PROC sshd 1 ++ PROC sshd 1 + PROC crond + PROC mythfrontend 1 5 yellow + PROC msg_daemon.py ++ DISK %^/cdrom.* IGNORE ++ DISK %^/mnt.* IGNORE ++ DISK %^/media.* IGNORE ++ DISK * 95 99 ++ INODE %^/cdrom.* IGNORE ++ INODE %^/mnt.* IGNORE ++ INODE %^/media.* IGNORE + PORT "LOCAL=%([.:]22)$" state=LISTEN TEXT=ssh + +HOST=_SLAVEBACKEND_ -+ PROC sshd 1 ++ PROC sshd 1 + PROC crond + PROC mythbackend + DISK %^/cdrom.* IGNORE @@ -64,8 +71,8 @@ + PORT "LOCAL=%([.:]22)$" state=LISTEN TEXT=ssh + +HOST=_SLAVEFRONTEND_ -+ PROC sshd 1 -+ PROC lighttpd ++ PROC sshd 1 ++ PROC lighttpd + PROC hobbitd + PROC crond + PROC mythbackend @@ -82,8 +89,8 @@ + +HOST=_STANDALONE_ + PROC mythfrontend 1 5 yellow -+ PROC sshd 1 -+ PROC lighttpd ++ PROC sshd 1 ++ PROC lighttpd + PROC xymond + PROC crond + PROC mysql -- cgit v0.12