RE: sending traps from embedded AgentX subagent
"David Arthur" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <002501c71fa5$6d18b870$500010ac@gx520> |
Dave, My apologies for the private email a bit ago, was unintentional reply button haste...won't happen again! >OK - try running the master agent with the '-d' flag. >Does it see the trap request coming from the subagent? This is what I get if I start with "snmpd -d -Dagentx -mall": 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" /usr/local/share/snmp/agentSNMPAlert.conf: line 7: Warning: Unknown token: trapsink. /usr/local/share/snmp/agentSNMPAlert.conf: line 18: Warning: Unknown token: trap2community. /usr/local/share/snmp/snmpd.conf: line 11: Warning: Unknown token: agentx. /usr/local/share/snmp/snmpd.conf: line 40: Warning: Unknown token: trap2community. /usr/local/share/snmp/snmpd.conf: line 43: Warning: Unknown token: smuxpeer. Sending 44 bytes to UDP: [www.xxx.yyy.zzz]:162 0000: 30 2A 02 01 00 04 06 70 75 62 6C 69 63 A4 1D 06 0*.....public... 0016: 0A 2B 06 01 04 01 BF 08 03 02 0A 40 04 AC 10 00 .+.........@.... 0032: 2D 02 01 00 02 01 00 43 01 24 30 00 -......C.$0. NET-SNMP version 5.3.1 Sending the EGP loss trap now. -->That last line is my printf output in the processing loop. I think that hex dump is the master cold start trap, no? Thanks again, DA ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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