On Mon, 2005-11-14 at 11:31 +0530, aakansha rajvi wrote:
Thomas> If it doesn't work for you (it does for me), then ...
Thomas> and post the output (of both agents)
> Output of
> snmpd -f -Le -Dread_config,tdomain,netsnmp_udp,snmp_agent 10.0.0.11
[snip]
And what is the output of
snmpd -f -Le -Dread_config,tdomain,netsnmp_udp,snmp_agent 10.0.0.12
?
(which is the one that's failing, after all!)
>
> .../snmpd.conf:46 examining: trapsink 10.0.0.11 public 162
> .../snmpd.conf:53 examining: trap2sink 10.0.0.11 public 162
> .../snmpd.conf:60 examining: informsink 10.0.0.11 public 162
Argghhh!!!!
Why do you want to send *THREE* copies of every trap?!?!
> .../snmpd.conf:122 examining:
> proxy -Cn 10.0.0.11 -v1 -c public 10.0.0.11 .1.3.6.1.4.1.2021
Hmmm... I thought this agent was running on 10.0.0.11?
Why would you want to forward proxy requests to the same agent?
> ..../snmpd.conf:152 examining: agentaddress 10.0.0.11:161
If you're trying to get the various agents to listen on
different virtual addresses, I don't think you want to hardwire
specific addresses into the config file.
Particularly if the 10.0.0.12 version is reading the same
config file.
I strongly suggest that you start with a minimal config file
(something like "rocommunity public"), and get things working
with that. *Then* (and only then) look at including the rest
of the directives that you actually need.
Dave
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders