[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] writing hawkeye modules



On Monday 06 February 2006 6:38 pm, Nick LeRoy wrote:
> On Monday 06 February 2006 5:33 pm, obi wrote:
> > hello there,
> >
> > I'm interested in writing my own hawkeye module, to add informations to
> > the classAD for a machine. So I added the following to the configuration
> > file:
> >
> > STARTD_CRON_NAME = HAWKEYE
> > HAWKEYE_JOBS = NWS::"/bin/cat":"10s"
> > HAWKEYE_NWS_ARGS = "/home/graziano/test"
> >
> > there the file test has
> > test = mayhem1

I just re-read this part, and I now see what's going on...  It's a ClassAd 
syntax error in the output of your executable -- this will affect both the 
old and new configuration syntaxes.

In the ClassAd syntax, you need to quote all strings, so it should be:
test = "mayhem1"

Numbers, however, shouldn't be:
test2 = 123.456

Hope this helps

-Nick

-- 
           <<< Why, oh, why, didn't I take the blue pill? >>>
 /`-_    Nicholas R. LeRoy               The Condor Project
{     }/ http://www.cs.wisc.edu/~nleroy  http://www.cs.wisc.edu/condor
 \    /  nleroy@xxxxxxxxxxx              The University of Wisconsin
 |_*_|   608-265-5761                    Department of Computer Sciences