Hi,

I am using net-snmp 5.4. My setup is such that each subagent runs on
seperate processor and Master agent runs on another processor.
Each subagent/Master agent are managing same MIBs.
Currently scalars are not being supported and the tables are supported by
each subagent registering its row-slices with Master Agent.

The traps on Master agent are being generated successfully. However for any
of the traps originating on subagent they are not working, i cannot even see
the AgentX Notify-PDU being sent to Master Subagent.

Is theres some specific configuration/directive required for enabling the
traps on subagent?

Below are the debug traces(i haven't included agentX dumps because there are
lots of registrations pdu which would have led to too many logs) for the
cold-start trap on subagent.

Thanks,
Manu

*snmpd Lo -X -Dtrap -Dtrapsess -DsnmpNotifyTable -Dsend_notifications
-Dtarget_sessions*

registered debug token trap, 1

registered debug token trapsess, 1

registered debug token snmpNotifyTable, 1

registered debug token send_notifications, 1

registered debug token target_sessions, 1

could not open /proc/net/if_inet6

bash-3.00# snmpNotifyTable: initializing...  snmpNotifyTable: done.

snmp_agent_init : ENTER

snmp_agent_init : Started initializing the agent

snmp_agent_init : ENTER

init_active_agent : ENTER

init_active_agent : Started initializing agent as ACTIVE

init_active_agent : MTS initizalization done



init_active_agent : Agent is starting STATEFULL

init_active_agent : Initialization with System Manager succeeded



/etc/snmp/snmpd.conf: line 316: Warning: Unknown token: createUser.

/etc/snmp/snmpd.conf: line 317: Warning: Unknown token: rouser.

/etc/snmp/snmpd.conf: line 318: Warning: Unknown token: iquerySecName.

/etc/snmp/snmpd.conf: line 319: Warning: Unknown token: agentSecName.

/etc/snmp/snmpd.conf: line 321: Warning: Unknown token: agentXTimeout.

/etc/snmp/snmpd.conf: line 323: Warning: Unknown token: trapsink.

/etc/snmp/snmpd.conf: line 324: Error: You must specify a default user name
using the agentSecName token



/etc/snmp/snmpd.conf: line 324: Error: You must specify a default user name
using the agentSecName token



net-snmp: 2 error(s) in config file(s)

trap: adding callback trap sink

trapsess: adding to trap table

snmpNotifyTable: adding data...  snmpNotifyTable: registered an entry

snmpNotifyTable: done.

NET-SNMP version 5.4 AgentX subagent connected

snmp_sysmgr_initialize : ENTER

snmp_sysmgr_initialize : Started with System Manager initialization

snmp_sysmgr_initialize : Done with System Manager initialization

snmp_sysmgr_initialize : EXIT

init_active_agent : Done with initializing agent as ACTIVE

init_active_agent : EXIT

store_sysuptime : sysuptime:1250164974

snmpd:[initialize_mibs]:Master: Initializing IP mibs

could not open /proc/net/if_inet6

main : Initialized the agent's infrastucture successfully.

snmpNotifyTable: storing data...  snmpNotifyTable: done.

trap: send_trap 0 0 CISCO-SMI::temporary.2.10   <--  Trying to send trap

send_notifications: starting: pdu=103162a0, vars=0

target_sessions: looking for: internal0

target_sessions:  for: 0=internal0

target_sessions: found one: internal0

send_notifications: sent 0 notifications

send_notifications: starting: pdu=10316340, vars=10316690

target_sessions: looking for: internal0

target_sessions:  for: 0=internal0

target_sessions: found one: internal0

send_notifications: sent 0 notifications

NET-SNMP version 5.4

receive : ENTER
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to