[hobbit] Unable to create Availablity Report spreadsheet.

wiskbroom at hotmail.com wiskbroom at hotmail.com
Fri Feb 5 17:18:22 CET 2010


Have you resolved this yet?  Looks like your perms for rep are not set properly:

drwxrwx--x 8 xymon www 4096 Jan 28 18:10
/cvsrx/home/xymon/server/www/rep/


Try running chmod 777 /cvsrx/home/xymon/server/www/rep/ and retry gen'ing a report.

If this works, then you need to make sure that the group perms are setup to allow the apache owner permission to rw, then you can re-chmod back to 775, better than 771, what you have.

.vadim

>
> Hi all…
>
>
>
>
>
>
>
> I’m having a problem generating a ‘spreadsheet’
> availability report (Reports | Availability Report ) with the Xymon 4.3.0-0.beta2
> server and could use some help/suggestions as to where to look next.
> These reports were working as late as two weeks ago; I can’t think of
> anything that I’ve changed in the environment that should affect the
> report generation.
>
>
>
>
>
>
>
> bbgen for Hobbit version 4.3.0-0.beta2
>
> Statistics:
>
> Hosts : 3015
>
>
>
>
>
>
>
>
>
>
>
> All other reports appear to be working fine.
> If I select the ‘Generate Report’ button, my report gets created and
> displays and the files are created in the www/rep/ directory
>
>
>
>
>
>
>
> When selecting ‘Generate Spreadsheet’,
> the result is:
>
>
> Generating report for the period: Jan 27 2010 - Jan 27 2010
> (nongr)
>
>
>
> --bbrep-7740-126471984 Content-type: text/html
> Could not generate report.
>
> Check that the /home/xymon/server/www/rep/ directory has permissions
> '-rwxrwxr-x' (775)
>
> and that is is set to group 8
>
>
>
>
>
>
>
> I have checked the ownership and permissions of the
> directory tree and all seems ok...
>
>
>
> # ls –l /home
>
>
>
> lrwxrwxrwx 1 root root 11 Jul 22 2008 /home
> -> /cvsrx/home/
>
>
>
> # l -d /cvsrx
>
>
>
> lrwxrwxrwx 1 root root 15 Jan 19 10:23 /cvsrx ->
> /data/cvsrx_dev/
>
>
>
> # l -d /cvsrx/home/
>
>
>
> drwxr-xr-x 32 root root 4096 Dec 7 11:25
> /cvsrx/home//
>
>
>
> # l -d /cvsrx/home
>
>
>
> drwxr-xr-x 32 root root 4096 Dec 7 11:25
> /cvsrx/home/
>
>
>
> # l -d /cvsrx/home/xymon/
>
>
>
> drwxr-xr-x 11 xymon hobbit 4096 Jan 8 14:36
> /cvsrx/home/xymon//
>
>
>
> # l -d /cvsrx/home/xymon/server/
>
>
>
> drwxr-xr-x 9 xymon hobbit 4096 Dec 7 11:40
> /cvsrx/home/xymon/server//
>
>
>
> # l -d /cvsrx/home/xymon/server/www/
>
>
>
> drwxr-x--- 16 xymon www 4096 Jan 28 18:12
> /cvsrx/home/xymon/server/www//
>
>
>
> # l -d /cvsrx/home/xymon/server/www/rep/
>
>
>
> drwxrwx--x 8 xymon www 4096 Jan 28 18:10
> /cvsrx/home/xymon/server/www/rep//
>
>
>
>
>
>
>
>
>
>
>
> # l /cvsrx/home/xymon/server/www/rep/
>
>
>
> total 28
>
>
>
> drwxr-xr-x 7 wwwrun www 4096 Jan 28 18:01
> 6916-1264719548/
>
>
>
> drwxr-xr-x 7 wwwrun www 4096 Jan 28 18:03
> 7703-1264719824/
>
>
>
> -rw-r--r-- 1 wwwrun www 2109 Jan 28 18:04
> avail-s09trbrxs-memory-1264719841-7737.txt
>
>
>
>
>
>
>
>
>
>
>
> I added ‘--debug’ to bb-rep.cgi:
>
>
>
> exec /home/xymon/server/bin/bb-rep.cgi $CGI_REP_OPTS
> $BBGENREPOPTS --debug>/tmp/bbrep.debug 2>&1
>
>
>
>
>
>
>
> and got a large output file. At the very end
> of the file, it appears that the program simply stopped as the the output in the
> debug log just stops:
>
>
>
>
>
>
>
>
>
>
>
>
> Host: s09996rxs, ip: 172.19.227.11, name: s09996rxs, color: 4, old: 0, anywaps:
> 0, wapcolor: -1, pretitle: '(NULL)', noprop-y: (NULL), noprop-r: (NULL),
> noprop-p: (NULL), noprop-ack: (NULL), waps
>
>
>
>
> Test: OfflineDB, alert 0, propagate 1, state 4, age: , oldage: 0
>
>
>
>
> Test: nfs, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
> Test: mysql, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
> Test: cpu, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
> Test: disk, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
> Test: procs, alert 0, propagate 1, state 4, age: , oldage: 0
>
>
>
>
> Test: ports, alert 0, propagate 1, state 4, age: , oldage: 0
>
>
>
>
> Test: msgs, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
> Test: files, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
> Test: memory, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
> Test: conn, alert 0, propagate 1, state 0, age: , oldage: 0
>
>
>
>
>
>
>
>
>
>
>
>
> Host s09996rxs is the last host listed in my
> bb-hosts file.
>
>
>
>
>
>
>
> Any suggestions?
>
>
>
>
>
>
>
>

 		 	   		  


More information about the Xymon mailing list