Re: Configuration need in order to recieve snmp traps

"santhosh" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <00f601c668f4$8b512e20$1d01a8c0@rtsindia>
Hello Mr.Vinod,

After executing the given seniaro
this is the output and I am not recieving any traps in the manager

Warning : no access control information configured
This reciever will *NOT* accept any incomming notifications.
NET-SNMP version 5.3.0.1

can you give me the configuration file of snmptrapd.conf
in that conf file in order to mention traphandler we need to provide oid or default
if I mention that line I am getting error at that line
if I remove that line I am getting the above output

I am not in a requirment of sending traps I only need is to recieve traps right now
 
 
Thanks & Regards,
 
Santhosh Kumar Suddavanda

----- Original Message ----- 
  From: [email protected] 
  To: [email protected] 
  Sent: Tuesday, April 25, 2006 9:36 AM
  Subject: RE: Configuration need in order to recieve snmp traps


  HI santhosh

    While starting the snmptrapd please use the following command

    # snmptrapd -c /usr/local/etc/snmp -f -Le

   

    And the error coudn't open udp:162 -- errno 98 (" Address already in use ")

     Is due to snmptrapd already running in the system.

    Do  #ps -e | grep snmptrapd

   And kill the process, then use the above command to start the snmptrapd.

   

  Vinod

    


------------------------------------------------------------------------------

  From: santhosh [mailto:[email protected]] 
  Sent: Monday, April 24, 2006 2:22 PM
  To: VinodKhanna Sekhar (WT01 - Broadband Networks)
  Cc: net-snmp-users; net-snmp-coders
  Subject: Re: Configuration need in order to recieve snmp traps

   

  Hello Mr.Vinod,

   

  No, It is not working after this also

   

  Please clarify one thing in order to recieve traps from an snmp device is it necessary to have mib file of that device

   

  I only need to recieve traps that is enough

   

  After i complete the steps given by you I am getting the below mentioned output

   

  Warning : -P option is depricated; use -f -Le instead

  Cannot find module (TRAP-TEST-MIB) : At line 0 in (none)

  /usr/local/share/snmp/snmptrapd.conf:line 38 : Error : Bad trap OID in traphandler directive: TRAP-TEST-MIB::demo-trap

  net-snmp: 1 error(s) in config file(s)

  Warning : no access control information configured.

  This reciever will *NOT* accept any incomming notifications.

  NET-SNMPversion 5.3.0.1

  coudn't open udp:162 -- errno 98 (" Address already in use ")

   

   

  Thanks & Regards,
   
  Santhosh Kumar Suddavanda

  Mail :  [email protected]

   

    ----- Original Message ----- 

    From: [email protected] 

    To: [email protected] 

    Sent: Monday, April 24, 2006 1:12 PM

    Subject: RE: Configuration need in order to recieve snmp traps

     

    Hi

    Please create the following directory

      /usr/local/etc/snmp

      And create a file called snmptrapd.conf

      Place the following content into it

       

    authCommunity   log,execute,net         public

     

    Then try the snmptrapd -P command, it works now.

      Check that and let me know whether it is sending traps.

    Regards

    Vinod

     

     


----------------------------------------------------------------------------

    From: [email protected] [mailto:[email protected]] On Behalf Of santhosh
    Sent: Monday, April 24, 2006 12:28 PM
    To: net-snmp-users
    Subject: Configuration need in order to recieve snmp traps

     

     

      

    Hello all,

     

    I am able to communicate with the snmp device which i am having but not able to recieve the traps generated by the device

     

    In the FAQ I have seen that in order to recieve snmp traps I need to configure snmptrapd 

     

    But it is not working 

     

    I am getting the error given below

     

    No log handling enabled - turning on stderr logging

    Cannot find module (TRAP-TEST-MIB) : At line 0 in (none)

    /usr/local/share/snmp/snmptrapd.conf:line 38 : Error : Bad trap OID in traphandler directive: TRAP-TEST-MIB::demo-trap

    net-snmp: 1 error(s) in config file(s)

    Warning : no access control information configured.

    This reciever will *NOT* accept any incomming notifications.

     

    I am looking out for solution

    It seems to be that the snmptrad.conf is not correct

    in order to recieve a trap message from 192.168.1.50 device 

    what is the configuration to be needed

     

    thanks in advance

     

    looking for result ASA

     


     
    Thanks & Regards,
     
    Santhosh Kumar Suddavanda

    Mail :  [email protected]


          The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

          WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

          www.wipro.com
         


----------------------------------------------------------------------------

    No virus found in this incoming message.
    Checked by AVG Free Edition.
    Version: 7.1.385 / Virus Database: 268.4.5/322 - Release Date: 4/22/06


        The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

        WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

        www.wipro.com
       



------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.385 / Virus Database: 268.4.5/322 - Release Date: 4/22/06
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.