HI all,
I am trying to compile and use NET_SNMP as Master/Sub agent in
OpenWrt environment.
I can compile snmpd package and its version is 5.4.2.1.
For some reason snmpd doesn't have agentx support. ( It doesn't have -x -X
switch when I try snmpd --help on target machine).
I tried ./configure --with-mib-modules="agentx" and rebuild it but
it didn't help.
I can see by running above command some lines get created in
include/net-snmp/agent/agent_module_config.c like #define
USING_AGENTX_SUBAGENT_MODULE 1 but snmpd still doesn't support -x switch and
it prints Unknown token: master in /etc/snmp/snmpd.conf.
I added -DUSING_AGENTX_SUBAGENT_MODULE in agent/Makefile and rebuild
snmpd .Now I can see -x and -X on snmpd --help but still snmpd prints
error Unknown token : master. Also there is no TCP port open on port 705.
so I am wonder how I can get it to work in Master/sub agent mode.
I truly appreciate if anyone can help me with this problem.
Thanks,
Reza
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
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