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

[Condor-users] writing hawkeye modules



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

In the StartLog I got 
15:22:42 Cron: Initializing job 'NWS' (/bin/cat)
but nothing showed up in the classAD (as per condor_status -l).

I even tried what I thought it was a new syntax with

STARTD_CRON_NAME = HAWKEYE
HAWKEYE_JOBLIST = NWS
NWS_EXECUTABLE = "/bin/cat"
NWS_ARGS = "/home/graziano/test"
NWS_MODE = "period"
NWS_PERIOD = "10s"

with even less luck. StartLog reported

2/6 15:21:19 CronMgr: No path found for job 'NWS'; skipping
2/6 15:21:19 CronMgr: No job period found for job 'NWS': skipping
2/6 15:21:19 Cron: Can't create job for 'NWS'

What am I doing wrong? 

Condor is version 6.7.14.

thanks
graziano



-- 
+-----------------------+--------------------------+
| Graziano Obertelli    | CS Dept. Rm 102          |
| graziano@xxxxxxxxxxx  | University of California |
| (805) 893-5212        | Santa Barbara, CA 93106  |
+-----------------------+--------------------------+