Re: writing a subagent -- newbie help

2010-09-29 Thread Matt Flanzer
Following up... I got the example subagent working. (yay!) The issue is with macports, not net-snmp. The current macports distribution is net-snmp 5.5 but the master agent (snmpd) is 4.5. The generated subagents do not like to play well. Within the macports distribution the net-snmp config file

writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Hello all -- I've installed NET-SNMP on my Mac (via macports) and I'm trying to write a subagent. I've followed the wiki instructions, but I can't get it to work. Basically, no matter what I've tried I get the response: No Such Object available on this agent at this OID I've also tried the demo

writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Hello all -- I've installed NET-SNMP on my Mac (via macports) and I'm trying to write a subagent. I've followed the wiki instructions, but I can't get it to work. Basically, no matter what I've tried I get the response: No Such Object available on this agent at this OID I've also tried the demo

Re: writing a subagent -- newbie help

2010-09-27 Thread Wes Hardaker
On Fri, 24 Sep 2010 16:53:15 -0700, Matt Flanzer mattflan...@gmail.com said: MF Basically, no matter what I've tried I get the response: MF No Such Object available on this agent at this OID One thing worth doing is running both the subagent and the master agent with debugging output. You

Re: writing a subagent -- newbie help

2010-09-27 Thread Wes Hardaker
On Mon, 27 Sep 2010 22:50:41 +0200, sebastian2...@gmx.de sebastian2...@gmx.de said: Sd REALLY nice would be to have a simple compiling example, how to create a Sd program which can act as trapsender, client and server at once. FYI, the example code in agent/mibgroup/examples/notification.c

Re: writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Thanks everyone for your initial responses. I think if I can get the example subagent code working, I could get mine to as well. Using the -Dagentx flag doesn't produce any additional output on the example subagent. On the master agent (snmpd) it does print some extra lines, but nothing new is