WYAE - MoSSHe List Archive


Re: [mosshe] Bugs in new Mosshe Version
From:"Volker Tanger"
Date: Wed, 24 Nov 2004 13:48:27 +0100

Greetings!

On Wed, 24 Nov 2004 12:44:42 +0100 Nicholas Fechner
 wrote:
> 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.

Good idea - I'll change that.


> 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"

Great idea - I had a similar problem too.


> 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: ` }'

Known bug - patch will be out by this afternoon.


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

1 MByte = 1024*1024 byte?


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

No, not at all. Bug reports show that people are really working with the
tool. And help developing it...  
;-)

Thanks

Volker

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