This is pretty simple actually. You create a subclass for devices you'll 
want to poll in this way, then create your own Template. Create an SNMP 
datasource, input the OID. Then create the datapoint in the datasource, 
and make it gauge I believe. Then go back to the template level, create 
a graph, and use the datasource_datapoint you just made. Only thing is 
you'll need to know RRD a little to get the graphs just so - by default 
it does some averaging so you'd get odd values like 0.88 or such . . . 
between a 0 vs a 1.

Searching the forums will show some threads I've had for printers and 
pages/5 minutes that get into some graph definitions for set values, but 
I really don't understand that part yet.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



shadus wrote:
> I think the issue I'm running into with finding the solution for this problem 
> myself is terminology.  This is the first time I've ever used zenoss and none 
> of the terminology makes much sense to me.  Although I am familiar with 
> cacti/mrtg/etc. The problem I'm having is pretty simple... 
> 
> I want to collect information from an OID (snmpd runs a simple script to tell 
> me what is happening.  If all is well it exits with a status of 0, if all is 
> not so well it exits with a status of 1.
> 
> I can snmpwalk the OID from the zenoss machine... and it returns these 
> results: 
> snmpwalk -v1 -c mycommunity myserver 1.3.6.1.4.1.2021.54
> UCD-SNMP-MIB::ucdavis.54.1.1 = INTEGER: 1
> UCD-SNMP-MIB::ucdavis.54.2.1 = STRING: "v_serv"
> UCD-SNMP-MIB::ucdavis.54.3.1 = STRING: "/usr/local/bin/v_serv.sh"
> UCD-SNMP-MIB::ucdavis.54.100.1 = INTEGER: 1
> UCD-SNMP-MIB::ucdavis.54.102.1 = INTEGER: 0
> UCD-SNMP-MIB::ucdavis.54.103.1 = ""
> 
> 100.1 is correctly reporting if the script exits saying all is happy or all 
> is less than such.
> 
> How do I get zenoss to watch that OID value and Track (Graph) it over time?
> 
> I've done quite a bit of searching for this and nothing I get seems to make a 
> whole lot of sense.
> 
> I would greatly appreciate anything pointing me to the right term to search 
> for or in the correct direction.
> 
> Thanks!
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=27882#27882
> 
> -------------------- 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