To overcome the problem I registered my own parser handler for the sysObjectId
toke in my subagent.
void subagentMnitorParseConfigSysObjectID(const char *token, char *cptr)
{
char tmpbuf[1024];
extern oid sysObjectID[];
extern size_t sysObjectIDLength;
sysObjectIDLengt
2009/3/10 Samer Vazdekis :
> One problem, keep getting this warning.
>
> Warning: Unknown token: sysObjectID
> So, sysObjectID keeps it's default value.
Hmmm... that looks as if your subagent doesn't
include the 'mibII/system_mib' module.
(It worked for me, because I was running tests
using the
On Wed, 11 Mar 2009 10:41:48 + (GMT) R. wrote:
RD> I normally develop with memory leak detection turned on, so that I quickly
find out about any new leaks I might have just introduced in the code. This
strategy does not work for Net-SNMP, and it looks like it's by design,
It's not so much de
On Mon, 23 Feb 2009 10:01:42 +0530 Maruthi wrote:
MG> I am G. Maruthi Prasad. I am currently designing an application where I
need to simulate the SNMP device. I am planning to use Net-SNMP for this
application. Can anybody help me how to extend my private mib with Net-SNMP?
You can use the over
Hi,
I use following config options to compile my net-snmp agent:
./configure --disable-debugging --enable-mini-agent --
without-kmem-usage --disable-mibs --disable-mib-loading --disableapplications
--disable-manuals --disable-scripts --with-cflags=-Os --
without-openssl –with-out-transports=TCP,U
On Wed, Mar 11, 2009 at 11:41 AM, R. Diez wrote:
> I find the the suggested leak-debugging procedure cumbersome and error-prone.
> It would be
> nice if all malloc'ed memory were free'd on shutdown. I guess that would be
> inside
> snmp_shutdown(), or maybe I'm just missing some clean-up call so
Hi All,
I want to get the ENUM value by giving the OBJECT-TYPE.
for e.g :
when I pass OBJECT-TYPE to snmptanslate, I get the whole data.
Instead I want to just get the value of SYNTAX.
# /usr/local/bin/snmptranslate -Td -IR ipNetToMediaType
IP-MIB::ipNetToMediaType
ipNetToMediaType OBJECT
Hi all:
I'm debugging my own AgentX subagent on Windows XP under Visual Studio 2005,
and, I always get a number of memory leaks reported on shutdown.
I normally develop with memory leak detection turned on, so that I quickly find
out about any new leaks I might have just introduced in the code
One problem, keep getting this warning.
Warning: Unknown token: sysObjectID
So, sysObjectID keeps it's default value.
> Date: Tue, 10 Mar 2009 15:10:37 +
> Subject: Re: Subagent OID
> From: d.t.shi...@liverpool.ac.uk
> To: sbazd...@hotmail.com
> CC: net-snmp-coders@lists.sourceforge.ne