Re: Querying OIDs without an index
"Wiest, Damian" <[email protected]> Fri, 19 Dec 2014 14:10:53 -0600
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <CAPGmukRK63Y1PG=2H3aO3Axm8aosUP_4m6WjgFV04MuNuF6Czw@mail.gmail.com> |
Ignacio, What about creating a new data template for each OID you want to get? You can then reference those data templates in your graphs and graph templates. You could create a new data input method for each OID, but there's already one present for SNMP so I would just use that one. I don't have much experience yet with data queries, but I believe they are used when you want to create multiple graphs of the same type based on some external data. For example, the "SNMP - Get Mounted Partitions" data query is associated with the "Host MIB - Available Disk Space" graph template. When you add that graph template to a host and then create graphs you'll see that Cacti adds an available disk graph for each of the partitions the data query found. On Thu, Dec 18, 2014 at 11:15 AM, Ignacio Verona <[email protected] > wrote: > Hello all, > > I looks like indexes are a quite common question but after googling for a > long time I've not been able to find a solution. I've a set of oids: > > $ snmpwalk -v2c -c vCPESecret 192.168.27.112 1.3.6.1.4.1.119.2.3.237.1 -On > .1.3.6.1.4.1.119.2.3.237.1.1.1.1.0 = INTEGER: operating(3) > .1.3.6.1.4.1.119.2.3.237.1.1.3.1.1.2.1 = INTEGER: 0 > .1.3.6.1.4.1.119.2.3.237.1.1.3.1.1.3.1 = INTEGER: 40000 > > from a proprietary MIB. None of them is an index and I don't know how to > query those 3 values. Should I use a Data Query? Create a new Data Input? > Multiple data queries, one for each oid? > > any help will be really appreciated as I've been trying everything I saw > for the whole day with no luck. > > Thanks, > Ignacio. > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > cacti-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cacti-user > -- *Damian Wiest**DevOps Engineer* Apervita by Pervasive Health One North LaSalle Street, Suite 1825 Chicago, IL 60602 USA +1 312 257 2967 <http://www.apervita.net/> <http://www.apervita.com/> <https://twitter.com/apervita> <http://www.linkedin.com/company/pervasive-health> -- Confidentiality Notice: This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you have received this communication in error, please notify me by return e-mail, and destroy this communication and all copies thereof, including any attachments. Apervita ® is a registered trademark of Pervasive Health Inc. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ cacti-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cacti-user