>>>>> On Fri, 10 Mar 2006 20:58:30 -0800 (PST), "Chandra Sekhar .V" <[EMAIL 
>>>>> PROTECTED]> said:

Chandra> Total # of 'physical" Ports (based on chassis and cards) 
Chandra> Total # of "available" Ports (something connected) 
Chandra> Total # of "unavailable" Ports (nothing connected) 
Chandra> Then I need to be able to break this information down by device type. 
Chandra> For example, 4000 router 2-Enet cards (interfaces); 20-Ports (total 
Chandra> capacity); 6-Available (nothing connected); 14-Unavailable (something 
Chandra> connected). 
Chandra> I would greatly appreciate any help or feedback.  Thank you! 

I'd suggest either:

1) starting with a more generic monitoring package that can collect a
   bunch of information and store it in a real database so you can
   issue queries against that.

2) using the gettable() function of the perl SNMP module (available
   with our package) and then pulling apart the data that is returned
   by that function (and filtering it as needed).

As far as determining which ports are in use, etc, you'll have to see
which MIBs your devices support...

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to