Setting up (basic) SNMP Masteragent and Subagent support
Aaron Randall <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Would be really grateful for any kind of help or direction on this one...I was expecting this to be a simple task! I am trying to set up a masteragent and a subagent (currently while testing on the same laptop) to communicate via port 705 on 127.0.0.1. Here is the conf file for the master agent: *master agentx agentaddress 127.0.0.1 705 rocommunity public trap2sink 9.9.9.9 trapcommunity public authtrapenable 1 syslocation mycluster syscontact [email protected]* and the conf file for the subagent: *rocommunity public trap2sink 127.0.0.1 705 trapcommunity public authtrapenable 1 syslocation vosscluster syscontact [email protected] proc apache 500 proc mymgr 1 disk / 2% disk /mydata/pgsql 2% load 12 10 8* When I start the master agent and tail the logs, I receive a message "Turning on AgentX master support. NET-SNMP version 5.2.1.2" which looks good, but when I start the subagent, I receive the message "/etc/snmp/snmpd.conf: line 31: Warning: Unknown token: trap2sink." I can't work out why this message is appearing, it seems that snmpd does not like the trap2sink command but as far as I can tell this should be valid. Any help would be great! Many thanks, Aaron ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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