Hi all:

I'm running the Net-SNMP 5.4.2.1 daemon on Windows XP as a console application, 
and I'm debugging my own AgentX subagent under Visual Studio 2005.

When the subagent connects to the daemon, the first daemon log message reads 
"agentx/master: unexpected callback op 4". I looked at the source code, and 
number 4 seems to be NETSNMP_CALLBACK_OP_CONNECT.

Should I worry about this "unexpected" log message? Could I possibly be doing 
something wrong on my subagent?

This is a portion of the daemon log, from the very beginning:

No log handling enabled - turning on stderr logging
registered debug token agentx, 1
agentx_register_app_config_handler: agentx_register_app_config_handler: 
registering .conf token for "agentxsocket"
registering .conf token for "agentxsocket"
agentx_register_app_config_handler: agentx_register_app_config_handler: 
registering .conf token for "agentxperms"
registering .conf token for "agentxperms"
agentx_register_app_config_handler: agentx_register_app_config_handler: 
registering .conf token for "agentxRetries"
registering .conf token for "agentxRetries"
agentx_register_app_config_handler: agentx_register_app_config_handler: 
registering .conf token for "agentxTimeout"
registering .conf token for "agentxTimeout"
Turning on AgentX master support.
Turning on AgentX master support.
agentx/config: agentx/config: port spec: mycomputer:705
port spec: mycomputer:705
agentx/master: agentx/master: initializing...
initializing...
agentx/master: agentx/master: initializing...   DONE
initializing...   DONE
NET-SNMP version 5.4.2.1
NET-SNMP version 5.4.2.1
agentx/master: agentx/master: unexpected callback op 4
unexpected callback op 4
agentx/master: agentx/master: handle pdu (req=0x6e3e,trans=0x0,sess=0x0)
handle pdu (req=0x6e3e,trans=0x0,sess=0x0)
agentx/master: agentx/master: open 009F2868
open 009F2868
agentx/master: agentx/master: opened 009F3338 = 6 with flags = a0
opened 009F3338 = 6 with flags = a0
agentx/master: agentx/master: send response, stat 0 
(req=0x6e3e,trans=0x0,sess=0x0)
send response, stat 0 (req=0x6e3e,trans=0x0,sess=0x0)
agentx_build: agentx_build: packet built okay
packet built okay
agentx/master: agentx/master: handle pdu (req=0x6e3f,trans=0x0,sess=0x6)
handle pdu (req=0x6e3f,trans=0x0,sess=0x6)
agentx/master: agentx/master: in register_agentx_list
in register_agentx_list
agentx/master: agentx/master: registered ok
registered ok
agentx/master: agentx/master: send response, stat 0 
(req=0x6e3f,trans=0x0,sess=0x6)
send response, stat 0 (req=0x6e3f,trans=0x0,sess=0x6)
agentx_build: agentx_build: packet built okay
packet built okay
...

Many thanks,
  Ruben


      

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to