ALTERNATIVES TO (?): RE: How do I get the DISMAN-TRACEROUTE-MIB "into" my SNMP Agent?
"PEOPLES, MICHAEL P (ATTSI)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <C038F8186F9F1E4D8F7C0FDAB3317B1205F36CAF@misout7msgusr7c.ugd.att.com> |
Wes, Thank you for your reply. Perhaps you saw my earlier, much larger post, in which I explained that I can produce a "tables" of values for hosts that I traceroute to using arbitrary agent extensions and scripts. I can produce the following: - A list of hosts to which the server is performing traceroutes - An enumeration of the list of hosts I am tracing to (e.g., 1, 2, 3, N) - A count of the number of hosts I am tracing to (e.g. 9) - A list of all of the hops along the traceroute for a particular host (generally a list of the consecutive IP addresses the traceroute "hops" through to the remote host) - An enumeration of all of the hops to a particular host (e.g., 1, 2, 3, 4, 5, N) - A count of the hops to a particular host (e.g., 6) - The hop interval in milliseconds for each hop What I was asking, and no one has answered, is this: Is there a way to structure the entries in the snmpd.conf file so that the overall function behaves something like the IF-MIB? By that I mean, if you walk the IF-MIB on a various hosts, it automatically knows how many interfaces there are, what they are called, and various pieces of information about each (speed, errors, etc.). At present, I have to create a distinct entry and OID for every hop of every host I traceroute to. I would rather be able to walk the arbitrary extension OID "tree", if I can create such a thing. I simply do not have the necessary experience to make this work. I have built some OID structures, attempting to mimic the structure of the IF-MIB (e.g., providing an ifIndex, etc.), but the results are no good. I don't know whether it matters or not, but I am using Cacti to poll and manage this data. The server running Cacti is a Centos 5 box. It is polling, primarily Solaris 10 servers, which have the 5.0.9 agent that ships by default with Solaris (and does not support the extend directive). The entries in the snmpd.conf file are on each server performing traceroutes. If having access to the extend directive would solve my problem, I could see about upgrading, but these servers run hyper-critical functions, so that may not be possible. If you, or someone, could even tell me that what I am trying to do isn't possible, I'll just slog along with individual entries. This method, however, offers no flexibility to me if a route changes, even though the scripts collecting the traceroute data will shift and produce new route lists if the route changes. In that case, I would not know that I was missing those hops until I checked. Then, I would have to build additional OID's for them. I have attached the e-mail with previous details. Thanks in advance for whatever advice you can offer. Michael Peoples Senior Systems Manager AT&T - ATTSI Office: 614-789-8559 Cell: 614-886-0923 FAX: 614-789-8975 [email protected] -----Original Message----- From: Wes Hardaker [mailto:[email protected]] Sent: Friday, April 02, 2010 4:34 PM To: PEOPLES, MICHAEL P (ATTSI) Cc: [email protected] Subject: Re: How do I get the DISMAN-TRACEROUTE-MIB "into" my SNMP Agent? >>>>> On Tue, 23 Mar 2010 15:41:25 -0400, "PEOPLES, MICHAEL P (ATTSI)" <[email protected]> said: MPP> I've taken Dave Shields' suggestion and investigated the MPP> DISMAN-TRACROUTE-MIB. Unfortunately, it was not loaded when the agent MPP> was compiled. It's not compiled in by default and you'd need to use --with-mib-modules="disman/traceroute-mib" in order to get it compiled in. That being said, the code is incomplete and I don't think even compiles correctly at this time. -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
(unnamed)
(message/rfc822, 10.8 KB) - not displayed