From: Geoff H. <geo...@gm...> - 2009-10-21 18:09:03
|
Hi Peter, Typically, you would need to use a "branch" type in the oids file if that will work .. instead of "leaf" type. Most MIB's are organized so the you have a base oid and then each port is .1, .2, .3 on the end of the base oid. The "branch" type will grab all of them. If you review the "docs/TEMPLATES" file in the devmon install directory, it explains it better and how to display them in a table in the messages file. Geoff On Wed, Oct 21, 2009 at 1:46 PM, Peter Welter <pet...@gm...>wrote: > Hi all, > > In the past I've discovered a few times that CRC errors on our fibre > channel > switch caused us many harm. I installed devmon next to Xymon and I made a > status-check with the documentation. All is working well, for the status > check (online, location etc). So far so good. > > Now I want some real stuff to be monitored. The 20 fibre channel ports on > the switch (CRC errors, underrun etc). I have access to this switch. I have > access to the MIB description ( > > http://www.cisco.com/en/US/docs/storage/san_switches/mds9000/sw/rel_2_x/fabricware/mibs/reference/guide/alliance.html > ) > but I am wondering... > If I would like to monitor all 20 ports, do I have to create 20 subdirs > with > contents (oids, thresholds ) for each port? There mus be an easier > approach, > but then again: I'm fairly new to devmon. > > When I issue a snmpwalk-command, for example: > > $ snmpwalk -v2c -c public ip.address.masked.here 1.3.6.1.3.94.4.5.1.40 > > It responds with 20 ports. > > How can I sample it all up to one oids-file (for example in the > fc_error-directory) but have an table-like-output for each switchport. > > Any help is very much appreciated. > > Regards, Peter > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > |