Re: how to write a snmp daemon
Robert Story <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2 Nov 2006 10:31:02 +0200 Vlad wrote: VS> I don't understand what you mean by " try print values for major and VS> Minor" . May you explain me please what should I do exactly. Hopefully your agent was compiled with debug information. The example commands below assume you have the build directory still around 1) load the core file in gdb / ddd $ cd ~/net-snmp $ ./libtool gdb agent/snmpd /tmp/core.NNNNN 2) get a backtrace > bt 3) try to get values for major/minor > print major If that doesn't work, try to go up the stack: > up > print major Without a backtrace, it's hard to say how far up that stack you may need to go to find somewhere that you can print major and minor. If you haven't got them after about 8 levels up, you probably won't find them any higher either. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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