| Author | Forum: PowerSNMP for .NET Topic: Are there many agents installed on one device? |
| snmpuser From: beijing Posts: 21 Member Since: 06/11/09 |
posted October 11, 2009 10:05 PM I met a problem when I used the PowerSNMP to create a SNMP manager. I suppose that it's possible to install many agents on one device. I use the SNMP manager I create to catch the traps from the agents the user defines.But if more than one agents have the same IP address and the SNMP manager catches a trap which comes from one of these agents, the SNMP manager can not know which agent the trap comes from by the TrapMessage class provided by PowerSNMP. Could you please confirm: (1) Are there many agents installed on one device? (2) If it's possible to install more than one agents on one device, how does the SNMP manager know which agent the trap it catches comes from? Thanks! |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted October 13, 2009 10:19 AM Hi, Multiple agents could be installed on a single device, but the trap message's Origin property will be different for each. In other words, either the remote IP Address or the port will be different. Hope it helps, -ken |
| snmpuser From: beijing Posts: 21 Member Since: 06/11/09 |
posted October 13, 2009 10:20 PM Hi Ken, thanks for your response. I know that the IP address and port that the trap comes from can be got by the trap message's Origin property. But the port number from which an agent generates traps is variable, right? So if more than one agents are installed on one device and have the same IP address, when a trap is generate, it's impossible to judge from which agent it comes by the IP address and port of the trap message's Origin property. Our customers want to configure some additional information for some traps and variables on the agents they are concerned with. So if a trap is caught, we hope to get the additional information configured by the customers. Please let me know if it's possible to know from which agent a trap comes if more than one agents are installed on one device and have the same IP address. Many thanks! |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted October 14, 2009 9:06 AM Hi, If the agents are using multiple ports to send the traps from, there is no obvious means for distinguishing them. But you may be able to categorize them based on things like the timestamp/agent's uptime, Enterprise or just the trap type itself. Is this a real scenario? It seems unlikely that a system would care a) if multiple apps were generating traps on a system, and b) which specific one was generating each trap. -ken |
| Reply | PowerSNMP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|