RE: subagents
"Robson, Alan" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <2228BF4A620F664B97F85AF2B5E7507C01F5869904@wdc1exchmbxp04.hq.corp.viasat.com> |
That is the first I’ve heard of agentxtrap. But from the description online… 1) Any application from any user can send a trap, either by using snmptrap or by just creating a packet and sending it 2) Only applications/users that can access the agentx socket can use agentxtrap and that may mean that only processes running as root will have permission to use it 3) A trap sent with agentx goes to the location specified in the snmpd.conf file 4) A trap sent by snmptrap, or by creating the trap manually has to be told the destination on the command line or in the packet. Alan From: Pushpa Thimmaiah [mailto:[email protected]] Sent: Wednesday, January 13, 2016 2:34 AM To: Robson, Alan Cc: [email protected] Subject: Re: subagents Hi , Adding to previous mail, I found one difference between agentxtrap and snmptrap. agentxtrap can be used if trap to be sent by snmp-agent. Is there any reason to use 'agentxtrap' over 'snmptrap' Thanks, Pushpa.T On Wed, Jan 13, 2016 at 3:54 PM, Pushpa Thimmaiah <[email protected]<mailto:[email protected]>> wrote: Thank you Fulko Hew , Alan. My doubt was 1. Does AgentX feature only to handle request from querying application i.e snmpwalk <pushpa> I gone through wikipidea, It says that it can be used to send trap using 'agentxtrap' </pushpa> I need net-snmp only to send traps, 1. Is it better to use agentxtrap to send trap 2. Does 'agentxtrap' has any advantages over 'snmptrap' Thanks, Pushpa.T On Wed, Jan 13, 2016 at 9:15 AM, Robson, Alan <[email protected]<mailto:[email protected]>> wrote: Snmpd will respond to snmp requests for the MIB variables it understands. But if you add new software that has a MIB of its own, snmpd cannot respond because it has no knowledge of the new software or its internal state. Someone can write an snmp subagent that will respond to requests about the new software. Snmpd will pass on requests to the subagent. The subagent communicates with snmpd using the agentx API. Alan From: Pushpa Thimmaiah [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, January 12, 2016 6:57 PM To: [email protected]<mailto:[email protected]> Subject: subagents Hi Folks, Does agentX feature is to support snmpget/snmpset ? Thanks Pushpa ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ 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