This is not a custom command datasource. It's a BUILTIN datasource, 
using a python script Chet Luther provided (and I modified slightly) run 
via cron... It directly writes the rrd file. I'm guessing Zenoss isn't 
actually checking the RRD for thresholds... But is getting them as data 
comes in somewhere... that misses this unusual sort of datasource.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



jaym wrote, On 1/28/2009 1:11 AM:
> jmp242 wrote:
>> I'm basically making my first custom threshold. I've created the 
>> threshold, I have it set to min of 0 and max of 10 for my license graph. 
>> You can see the threshold on the graph, and I've pushed the license out 
>> to 11, so it should trigger an event...
>>
>> I'm wondering if this threshold isn't working because this is a built in 
>> data source, using the outside RRD generation from the python script run 
>> in cron, rather than actually polling data from SNMP or whatever.
>>
> 
> 
> Is the licence data point available in the Data Points list?
> If it's there and selected then an event should get triggered.
> 
> Is this a custom COMMAND data source?
> You can test if it is comparing values against the threshold by running
> 
> Code:
> zencommand run -d DEVICENAME -v 10
> 
> 
> on the command line.
> 
> The output should show something like:
> 
> Code:
> DEBUG:zen.MinMaxCheck:Checking license 11 against min 0 and max 10
> 
> 
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=30574#30574
> 
> -------------------- m2f --------------------
> 
> 
> 
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to