My purpose get/set to snmptrapd  via snmpd on WINDOWS.
So I define snmpd as master agent and snmptrapd as sub-agent
 From SNMPD.CONF 
 ## -- view <name> <type> <OID_subtree> <binary_mask>

view  all included .1 00

createUser  Daniel 

group inform_grp_noauthnopriv usm Daniel 

access inform_grp_noauthnopriv "snmptrapd" usm noauth exact all all all

master agentx

agentxSocket tcp:localhost:705



D:\net-snmp\bin>snmpd -Dagentx
No log handling enabled - turning on stderr logging
registered debug token agentx, 1
agentx_register_app_config_handler: registering .conf token for
"agentxsocket"
agentx_register_app_config_handler: registering .conf token for
"agentxperms"
agentx_register_app_config_handler: registering .conf token for
"agentxRetries"
agentx_register_app_config_handler: registering .conf token for
"agentxTimeout"
Turning on AgentX master support.
agentx/config: port spec: tcp:localhost:705
agentx/master: initializing...
agentx/master: initializing...   DONE
NET-SNMP version 5.4 

 

>From SNMPTRAPD.CONF 
 ## -- view <name> <type> <OID_subtree> <binary_mask>

view  all included .1 00

createUser  Daniel 

group inform_grp_noauthnopriv usm Daniel 

access inform_grp_noauthnopriv "snmptrapd" usm noauth exact all all all

agentxSocket tcp:localhost:705


 
D:\profiles\bda037>snmptrapd -Dagentx
No log handling enabled - turning on stderr logging
registered debug token agentx, 1
agentx_register_app_config_handler: registering .conf token for
"agentxsocket"
agentx/subagent: initializing....
agentx/subagent: subagent_init sess 00000000
agentx/subagent: initializing....
Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
NET-SNMP version 5.4
 
I havenot any indication about registry between snmpd and snmptrapd like
master agent and sub-agent
The I try 
 
D:\net-snmp\bin>snmpgetnext -v 3 -n "snmptrapd" -u Daniel -l
NoAuthNoPriv localhost .1
Timeout: No Response from localhost.

Please , tell me what is wrong here ?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

Reply via email to