Hello,
i'm trying to setup a netxms agent as a snmp proxy. the scenario is:
- gui on host A
- server on host B
- netxms agent on host C
- snmpd on host C
i'd like to use the netxms agent on host C as a snmp proxy to localhost (to itself - host C). this is because of the firewall.
the snmp agent status in the console remains "inactive", but i can snmpwalk to localhost on host C. i can't figure out why.
i've set up:
- snmpd on host c with config, that grants RO access to everyone (if i try the snmp agent without the proxy it works)
- snmp proxy host as that host C in properties of host C
- EnableSNMPProxy = yes in snmpd.conf in host c agent's config
- the community is ok as it works without proxy
i realised that there exist an older topic (https://www.netxms.org/forum/index.php/topic,26.0.html) on a simlar subject but that does not help me much.
any help would be appreciated.
tnx.
I've figured out another thing:
if i add another node (node d) to the scenario and setup snmp proxy so that node c is the proxy for node d and node d is proxy for node c, it works perfectly! but (still) when i try to proxy snmp of a host (whether c or d) to itself it does not work.
any suggestions?
tnx
Hi!
I'll test this configuration later today or tomorrow.
Best regards,
Victor
Quote from: Player1 on November 10, 2008, 02:27:22 PM
i'd like to use the netxms agent on host C as a snmp proxy to localhost (to itself - host C). this is because of the firewall.
the snmp agent status in the console remains "inactive", but i can snmpwalk to localhost on host C. i can't figure out why.
One more question: did you try snmpwalk from host C to host C IP address (not localhost)? Because NetXMS agent will send SNMP requests from hosts's IP address to it's own IP address, it will not use loopback.
Best regards,
Victor
Just test it - there is a bug in SNMP proxy code - situation when host is an SNMP proxy for itself is handled incorrectly. I'll fix it.
Best regards,
Victor
yes, i used the host's ip address not localhost. actually i cannot use localhost as the only option is to choose a host that is already in netxms as a node, so i chose that same host. (in Object properties window of host C under SNMP section the proxy option is set to host C)
tnx
oh, ok than.
thank you very much