Hello everybody, we are two Italian students interested in net management, Iacopo and Marco.
I'm wondering about how can I use net-snmp agent to create the agent layer
dealing with a Snapgear Linux emebedded system.
In particular I would like to know how to manage this parts of linux system:
- LAN interfaces
- WLAN interfaces
- Static and Dynamic Routing
- Firewalling
- ....
For example, let's take the Firewall example, that is covered in linux by
iptables and netfilter. I would create a snmp agent that could get the list
of iptables entries for all chains and all tables. And by the way the agent
could receive a snmpset command to add some new rules.
How do I create this?
[1]Should I write a MIB modules for each service (firewall etc..) and then
with MIB for Dummies tutorial, generate the code for the subagent and coding
it inside.
Or
[2] Should I use the option of snmp to run particle scripts on the agent
platform and get/set the value I need?
In other way, Should I deal with "/proc/net/dev" or with "ifconfig" for the
example of teh LAN interfaces?
Do you have some good guide about [1] and [2], premised that I have already
read the wiki tutorial?
Many thanks.
--
Iacopo Masi
Marco Meoni
www.iacopomasi.net
www.marcomeoni.net
pgpxIq2ZVbR51.pgp
Description: PGP signature
------------------------------------------------------------------------- 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
