[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 25/0
On 24/04/07, rama p <[EMAIL PROTECTED]> wrote:
> The error is coming only when both trapsink and trap2sink lines are present
> in snmpd.conf file.
OK - I've found the problem.
It's a bug in 5.3.1, that has since been fixed
(which is why I wasn't seeing it).
Patch is as follows:
--- branches/V5-3-
also SNMP agent is sending both V1 and V2 traps to the
configured
> SNMP trap destinations . Here only the problem is with the below error
> messages that are reported in the snmpd.log file for each trap.
>
> "snmpd: send_trap: Cannot send V1 PDU on V2 session"
Hmmm
pd: send_trap: Cannot send V1 PDU on V2 session"
Hmmm
What happens if you comment out the "trap2sink" line from snmpd.conf.
and restart the agent. Do you get the same error?
What about commenting out "trapsink" and restarting?
Or commenting them both out, and restart
Hi Dave,
For me also SNMP agent is sending both V1 and V2 traps to the configured
SNMP trap destinations . Here only the problem is with the below error
messages that are reported in the snmpd.log file for each trap.
"snmpd: send_trap: Cannot send V1 PDU on V2 session"
Rgrds,
Ramas
Hi Dave,
Actually while sending the mail I typed the configuration details wrong.
trapsink 10..0.0.4 public 162
trap2sink 10.0.0.5 public 162
Sorry for that.
Thanks for your response.
Rgrds,
Ramas
On 4/20/07, Dave Shield <[EMAIL PROTECTED]> wrote:
On 20/04/07, rama p <[EMAIL PROTECTED]>
On 20/04/07, rama p <[EMAIL PROTECTED]> wrote:
> Actually while sending the mail I typed the configuration details wrong.
>
> trapsink 10..0.0.4 public 162
> trap2sink 10.0.0.5 public 162
OK - I've tried running the current 5.3.x code with those settings,
and it works fine.
Try running the age
On 20/04/07, rama p <[EMAIL PROTECTED]> wrote:
> trapsink 10.0.0.4 public localhost
> trap2sink 10.0.0.5 public localhost
The syntax of the "trapsink" directive is
trapsink HOST COMMUNITY PORT
(and the same for trap2sink).
It does not make sense to specify a port number of "localhost".
T
Hello All,
I am using Net-SNMP 5.3.1.
We are getting some error messages in snmpd log file if we configure the
SNMP Agent to report both V1 and V2 traps as below.
trapsink 10.0.0.4 public localhost
trap2sink 10.0.0.5 public localhost
The err messages : "snmpd: send_trap: Cannot send V
send traps as is.(I use default
settings)
I use send_v2trap function and i get following error : Cannot send V1
PDU on V2 session.
In ethereal i see that trap sent well for version 1 and for version 2c
of SNMP , so actually i don't have functional problem.
Can i ignore this error o
10 matches
Mail list logo