Wow, i completely neglected to flip the problem around and deal with it in snmp 
(at least for the time being). The percentage thing will work... the only 
unfortunate thing is that I won't be able to see the integer/count value in the 
alert itself; but it is better than nothing!

As far as the problem you have encountered; exec/extend only produce string 
output to an oid which has some of the problems you noted when used within 
zenoss. This is why I am using 'pass' in snmpd to define a type (integer, 
counter, etc.) to get around this limitation.


NateBell wrote:
> Yeah, I'm stumped by what syntax is allowed in a lot of these fields. 
> Something like here.totalBlocks seems like a useful variable to have, but I 
> don't see it documented anywhere so it's not clear what other variables are 
> available. 
> 
> If you have any control over the data being sent through the OID would it be 
> possible to turn these values into a percentage before Zenoss picks them up? 
> A bit of a hack. 
> 
> As for setting a threshold for a custom OID, I too have run into problems 
> (http://community.zenoss.com/forums/viewtopic.php?t=3309&highlight=) . As far 
> as I can tell, this sort of stuff should be possible, but either there is a 
> bug in the code, or I'm doing it wrong. Either way the people with the 
> answers don't seem to be here, or no one knows. 
> 
> If I ever do find an answer, I'll do my best to broadcast it on this forum.
> 
> Nate


------------------------
Kyle Goedtel




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=11630#11630

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to