[dsc] Running collector and presenter on same machine

Brian Koontz brian at pongonova.net
Sat Nov 14 20:38:37 UTC 2009

On Fri, Nov 13, 2009 at 11:08:40PM -0700, Duane Wessels wrote:
> Yes, this is not a well-documented arrangement.  What I typically do is
> make the "upload" directory a symbolic link into the "data" directory.

OK, that makes sense.  But I think I'm still missing something, as
DSC::grapher is still complaining about no data being found.

Here's my setup:

[root at xenotime upload]# cd /usr/local/dsc
[root at xenotime dsc]# ls -l run/ns7/upload/local
lrwxrwxrwx 1 root root 30 Nov 14 21:30 run/ns7/upload/local ->

I see, under local/, a directory named 2009-11-14, with a couple of
xml files in it (*.dscdata.xml).  Accessing the cgi-bin script results
in the menu being displayed, with a prompt to "Please select a
server".  Clicking ns7 brings up local, and clicking that results in
"No data to display at this time."  

Here's my crontab:

* * * * * /usr/bin/nice -10 /usr/local/dsc/libexec/refile-and-grok.sh
22 4 * * *  find /usr/local/dsc/data/ | /usr/local/dsc/libexec/remove-xmls.pl 7
* * * * * /usr/local/dsc/libexec/upload-prep.sh
#* * * * * /usr/local/dsc/libexec/upload-rsync.sh ns7 local /usr/local/dsc/data/ns7

Appreciate the help.


More information about the dsc mailing list