diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-10-05 22:21:46 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-10-05 22:21:46 (GMT) |
commit | 50ea25a17ac72da857c9ca47118b4853216a630b (patch) | |
tree | 91728baba48cca844796c4f774250636d98e164a /abs/core/xymon/hobbit_notify.sh | |
parent | 9e3af8b0450a452bc91c67a22f215d325b85def1 (diff) | |
download | linhes_pkgbuild-50ea25a17ac72da857c9ca47118b4853216a630b.zip linhes_pkgbuild-50ea25a17ac72da857c9ca47118b4853216a630b.tar.gz linhes_pkgbuild-50ea25a17ac72da857c9ca47118b4853216a630b.tar.bz2 |
xymon: hobbit_notify.sh: don't show memory criticals on OSD
Diffstat (limited to 'abs/core/xymon/hobbit_notify.sh')
-rw-r--r-- | abs/core/xymon/hobbit_notify.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/abs/core/xymon/hobbit_notify.sh b/abs/core/xymon/hobbit_notify.sh index 9028fb0..39e4d43 100644 --- a/abs/core/xymon/hobbit_notify.sh +++ b/abs/core/xymon/hobbit_notify.sh @@ -66,19 +66,23 @@ case x$BBSVCNAME in yellow ) msg_func_out "A disk on $BBHOSTNAME is almost full" ;; - esac - ;; + esac + ;; + + xmemory) + #do nothing for memory + ;; - xfunc) + xfunc) if [ "x$hostname" = "x$BBHOSTNAME" ] then - msg_local_out "System can not communicate with itself (func) |alert" + msg_local_out "System can not communicate with itself (func)|alert" else msg_func_out "$hostname can not communicate with $BBHOSTNAME (func)|alert" fi ;; - *) + *) #catch all for everything else msg_func_out "Condition $BBCOLORLEVEL $BBSVCNAME on $BBHOSTNAME\nSee the system health webpage.|alert" ;; |