On 05/03/07, Iacopo Masi <[EMAIL PROTECTED]> wrote:
> I downloaded the ipfwchain MIB Module. It's a good point to start, but the
> problem is that quite old. And moreover It can only list table of firewall
> and flush chains. It is not able to add some specifies rules.

Yes - as I said, it hasn't been maintained or developed for some time.
But the first task is to design your MIB, and this is a reasonable
starting point.   Look at how this implementation has tackled it,
and think about where things might be improved or extended.



> For the other parts like LAN,WLAN e Routing, If they are covered
> by net-snmp agent,
> How do I query them?
> Is there some special file.conf or MIBS to configure?

No - most of the network-level information is part of the standard
agent.

How you query them depends on what information you are
interested in.   But the 'ifTable' and 'ip', 'tcp'. 'usp' groups are
probably a good start for LAN statistics.
   Routing information is available via the ipRouteTable
(and subsequent revisions).


> > > For example, let's take the Firewall example...
> > Well the first thing to do would be to analyse the requirements of
> > both monitoring and managing iptables and netfilter, and come up
> > with a design for the MIB.
> ok, So do you think is better to design a MIB file to deal with?

You have *got* to have a MIB to work with.
That's the basic starting point of SNMP design.
How else can you implement a MIB module, if you
haven't decided what information it needs to contain?

You should no more contemplate implementing a MIB module
without a MIB file,  than you would consider coding an
application, without first having some form of design for it!

Until you've got a MIB to work with, don't even *think*
about coding....

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to