WYAE - MoSSHe List Archive


Bugs in new Mosshe Version
From:Nicholas Fechner
Date: Wed, 24 Nov 2004 12:44:42 +0100

Hi,
first off: I really like the idea behind this. Its way more simple than
e.g. nagios. But still I have some bugs:

1. The reference from teh localcheck script to localchekc.functions doesn't
work. It gives: /home/mosshe/Checks/localcheck: line 3: 
./localcheck.functions: File or Directory not found. I use an absolute 
path as a workaround for now.

2. The http Script is not configurable as to the expected answer. E.g. 
one of my webservers hat a standard redirect to https, as such it give a 
302 and a redirect. This should not be mark as WARN. Also i could think 
of a case, where one would like to check, that there is no webserver on 
a machine. Workaround:
+REQUESTED="302"
+if [ $RETNCODE -eq $REQUESTED_CODE ] then STATUS="OK"
+elif [ $RTNCODE -ge 500 ]; then STATUS="ALERT"
-if [ $RTNCODE -ge 500 ]; then STATUS="ALERT"

3. During a run with localcheck, I get this:
/home/mosshe/Checks/localcheck.functions: line 157: syntax error near 
unexpected token `}'
/home/mosshe/Checks/localcheck.functions: line 157: ` }'

4. Something's wrong with the disk capacity calculation. Haven't had 
time to check into it yet, though...

Well, I hope you don't find this list depressing. :-)

Grrets,
Nicholas Fechner


-- 
________________________________________________________________________

 Ponton Consulting GmbH                       voice:  + 49.40.69213-340
 http://www.ponton-consulting.de/             fax:    + 49.40.69213-355
 Dorotheenstraße 60
 22301 Hamburg                      mailto:fechner@ponton-consulting.de
 Germany                      Ponton Consulting is a Member of C1 Group
________________________________________________________________________


--- StripMime Report -- 
Plain text mail. Excellent! Won't be converted or stripped.
---