RE: can NetSNMP.pm tell me the 'called IP'?
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC0B24A9A7@mailserver.metatv-ds.metatv.com> |
Please don't crosspost. > From: Fulko Hew [mailto:[email protected]] > Sent: Monday, March 23, 2009 12:13 PM > I am making a 'network simulator', where a simple application > (in Perl) will cause Net-SNMP to 'forget' > all of the variables it would normally answer to, and replace > them with internally generated/supported > variables. This way I can generate 'artificial' responses to > any SNMP requests, and simulate 'any' > kind of device. The second half of the project will be to > use IP aliases on the interface so that this > one box will respond to a (large, configurable) number of > addresses, where each address will be > a different device... each with possibly a different set of > supported OIDs, and possibly a different > set of 'fake' data. That's what I suspected... Sorry, but I think you're barking up the wrong tree here. You can't squeeze that kind of behavior out of the net-snmp master agent without making major, probably nonportable changes. I suggest you consider looking at the behavior you need to simulate and writing an emulator that does only that. HTH, Mike ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ 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