I believe Zenoss only does integers with SNMP. So you'd have to use a 
command datasource, though you could then use snmpwalk and whatever to 
parse an SNMP String.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



honglus wrote, On 4/16/2009 1:24 AM:
> Zenoss has 1 built-in  Min/Max Threshold.
> admin guide says ZenPacks can provide other types of Thresholds, How to get 
> it ? I am looking for string type threshold e.g alarm is triggerred when 
> result contains string "FAILED".
> 
> I needs this because I want to monitor customzied apps through SNMP(I have 
> done it successfully  with zencommand)
> 
> # I mapped OID to my app, 100.1 is the  valued returned; 101.1 is the string 
> printed out. It works by set threshold for OID.100.1, But the alarm msg can't 
> give string "SNMP check test -FAILED"" unlike zencommand method.
> 
> So I am thinking to set threshold for string to filter "FAILED" keyword. if 
> string type threshold is not possible other solution to addess my issue is 
> also welcomed.
> 
> 
> $ snmpget  -v2c -c public localhost .1.3.6.1.4.1.2021.200.100.1
> UCD-SNMP-MIB::ucdavis.200.100.1 = INTEGER: 1
> $ snmpget  -v2c -c public localhost .1.3.6.1.4.1.2021.200.101.1
> UCD-SNMP-MIB::ucdavis.200.101.1 = STRING: "SNMP check test -FAILED"
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=33446#33446
> 
> -------------------- 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