v1 trap + agent address

mahesh anasuri <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
While generating V1 traps. If  Agent runs on a box which has multiple interfaces (ie. IP addresses). How to select active interface IP address value in Trap (Agent Address) ?

I considered socket API like gethostname(), hostent structure pointer h_addr_list[index]. But how do we decide upon index value. I would really appreciate for reply if you have had this check in your agent.

Thanks,
Mahesh


      Share files, take polls, and make new friends - all under one roof. Go to http://in.promos.yahoo.com/groups/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.