On 5/22/07, Daniel Coelho <[EMAIL PROTECTED]> wrote:
When I do
snmptrap -v 1 -c public localhost '' 0 0 '' coldStart.0
or
snmptrap -v 1 -c public 127.0.0.1 '' 0 0 '' coldStart.0
or
snmptrap -v 1 -c public 172.18.50.103 '' 0 0 '' coldStart.0
I get nothing with tcpdump. (172.18.50.103 being my IP)
Thanks in advance.
Daniel Coelho
On 5/22/07, rakesh zingade <[EMAIL PROTECTED]> wrote:
>
>
>
> On 5/22/07, Daniel Coelho < [EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > when I do
> > snmptrap -v 1 -c public not_localhost_IP '' 0 0 '' coldStart.0
> > the trap is received by the other host (I checked with tcpdump),
> >
> > but when I do
> > snmptrap -v 1 -c public local_IP_or_localhost '' 0 0 ''
> > coldStart.0
> > I get nothing with the tcpdump port 162 and udp.
> >
> > Why can't I receive traps sent from localhost to localhost?
> >
> > Daniel Coelho
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Net-snmp-users mailing list
> > Net-snmp-users@lists.sourceforge.net
> > Please see the following page to unsubscribe or change other options:
> > https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> >
> >
>
> are not_localhost_IP and local_IP_or_localhost defined in /etc/hosts or
> config files?
>
> Try with only localhost or 127.0.01
>
> --
> Rakesh P. Zingade
> +919860129598
First do not send me an email directly .. send it through net-snmp users
community so others can help you and learn from the messages.
Try this:
snmptrap -v 1 -m ALL -c public localhost .1.3.6.1.6.3 localhost 6 1
20071105
Actually the syntax is
snmptrap -v 1 -c <community> manager_address OID agent_address <reasion for
sending trap> <trap-type> <Time stamp>
snmptrap -v 2c -c <community> manager_address <Time stamp> Trap OID
First run your snmptrapd in a shell then from other shell try to send
snmptrap...
If you still had a problem then send us what messages you are getting after
executing snmptrapd and snmptrap
--
Rakesh P. Zingade
+919860129598
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users