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

Re: [HTCondor-users] condor_ganglia metric to count jobs matching a constraint



You could always roll your own. Create a cron script that uses condor commands to generate the
number/info you're after, and publish it using gmetric.

We do this for our setup as we wanted info that didn't seem easy to get/display from condor-ganglia.
We then generate custom ganglia Views using Aggregate Graphs to display info how we want.

Cheers

Greg

-----Original Message-----
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of John (TJ) Knoeller
Sent: Tuesday, 3 March 2015 12:58 AM
To: htcondor-users@xxxxxxxxxxx
Subject: Re: [HTCondor-users] condor_ganglia metric to count jobs matching a constraint

I don't think there is a way using native schedd stats.

with a very few exceptions, SCHEDD_COLLECT_STATS_FOR_<NAME> only 
increments counters when shadows exit, so it's can't really count idle jobs.

-tj

On 2/28/2015 3:54 PM, Brian Bockelman wrote:
> Hi TJ,
>
> Any idea here?  I'm stumped.
>
> Brian
>
>> On Feb 26, 2015, at 9:47 AM, Vladimir Brik <vladimir.brik@xxxxxxxxxxxxxxxx> wrote:
>>
>> I am stuck again.
>>
>> I'd like to have a ganglia metric that shows the number of idle jobs in a particular accounting group that have been in the queue for a certain amount of time (e.g. more than 24 hours). Is this possible?
>>
>>
>>
>> Vlad
>>
>>
>>
>> On 02/24/15 17:14, Vladimir Brik wrote:
>>> Hello,
>>>
>>> I'd like to use condor_ganglia to create a ganglia metric for every
>>> schedd in our pool that counts the number of jobs that match certain
>>> constraints (for example,  "JobStatus == 2 &&  NumJobStarts > 1" and
>>> others), which I would like to specify somewhere in
>>> /etc/condor/ganglia.d.  Is this possible?
>>>
>>>
>>> Thanks,
>>>
>>> Vlad
>>> _______________________________________________
>>> HTCondor-users mailing list
>>> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
>>> subject: Unsubscribe
>>> You can also unsubscribe by visiting
>>> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>>>
>>> The archives can be found at:
>>> https://lists.cs.wisc.edu/archive/htcondor-users/
>> _______________________________________________
>> HTCondor-users mailing list
>> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>>
>> The archives can be found at:
>> https://lists.cs.wisc.edu/archive/htcondor-users/
>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/