> Aha!
> I've just run the same command on my (Linux) 5.2.2 agent,
> and got exactly the same output up to this line.
> But the full text of this last debug line is actually:
>
> register_mib: registering "" at .0 with context "(null)"
>
> So that at least pinpoints where the agent is falling over.
> Hmmm.... I wonder.....
>
> Can you try the following patch, and see if it helps.
>
> --- agent_registry.c.cln 2006-02-15 13:25:22.603744208 +0000
> +++ agent_registry.c 2006-02-15 13:27:11.136244760 +0000
> @@ -587,7 +587,8 @@
> DEBUGMSGTL(("register_mib", "registering \"%s\" at ", moduleName));
> DEBUGMSGOIDRANGE(("register_mib", mibloc, mibloclen, range_subid,
> range_ubound));
> - DEBUGMSG(("register_mib", " with context \"%s\"\n", context));
> + DEBUGMSG(("register_mib", " with context \"%s\"\n",
> + (context ? context : "(null)")));
It would seem that code is already in there.
/usr/local/bin/patch < patchin
patching file agent_registry.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file agent_registry.c.rej
vwatch-lowell# cat agent_registry.c.rej
***************
*** 587,593 ****
DEBUGMSGTL(("register_mib", "registering \"%s\" at ", moduleName));
DEBUGMSGOIDRANGE(("register_mib", mibloc, mibloclen, range_subid,
range_ubound));
- DEBUGMSG(("register_mib", " with context \"%s\"\n", context));
/*
* verify that the passed context is equal to the context
--- 587,594 ----
DEBUGMSGTL(("register_mib", "registering \"%s\" at ", moduleName));
DEBUGMSGOIDRANGE(("register_mib", mibloc, mibloclen, range_subid,
range_ubound));
+ DEBUGMSG(("register_mib", " with context \"%s\"\n",
+ (context ? context : "(null)")));
/*
* verify that the passed context is equal to the context
--
- Kyle
---------------------------------------------
[EMAIL PROTECTED] http://www.panix.com/~kylet
---------------------------------------------
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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