Re: getting trap from Cisco-router AND Cisco-switch --

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZXua8GZrntcTbHByB_kp8S1gQ4AK=qnhzTwjjRff6utA@mail.gmail.com>
    [ 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 30 July 2012 08:31, mohamad hosein jafari <[email protected]> wrote:
>> >>The basic requirement would be to configure those boxes
>> >>to send notifications to your trap receiver.
>
> yes . I means after configure tehese devices
>
>>
>>
>> >>> Should I have any change on my linux server
>> >>Assuming you are using SNMPv1 or SNMPv2c,
>> >>and the Cisco boxes are using the same community
>> >>string as before - then no.   The trap receiver should
>> >>be able to receive and process those incoming traps.
>
> does my linux server get device's trap correctly??

I don't know  -   it's your box.
There's no good reason why it shouldn't.

But don't waste time asking here - try it for yourself, and see!

>                                               but I read before that
> maybe my server can not  receive Cisco(Router Or Switch) trap correctly

There's only one way to find out.
Set things up, have the Cisco boxes generate a trap, and see what happends.

> Or on the format that I can read them

There should be no problems with MIB format.




>> >>> Specially On my MIB ?
>> >>It's not clear what you mean by "your MIB" here.
>> >>But probably - no.    It shouldn't be necessary
>> >>(or desirable) to make any changes to MIB files.
>
>
> I means should I add these device's MIB to my server's MIB? and if YES HOW??
>
>
>> >                               And should I add these
>> > device's MIB to our linux server ?
>>
>> If you add the relevant Cisco MIBs to your linux server,
>> then this will probably improve the way that the incoming
>> traps are logged.   (i.e. you'll see names rather than numbers).
>> So yes - ideally you should add the relevant MIBs.
>>
>> But if you can't, then this doesn't really matter - you will still
>> receive the incoming traps, and will be able to process or log
>> them anyway.
>
>
> So If I want to add these device's MIB to my server : Where can I find?? AND
> How I can Add it??

Just as I said on Thursday:

            Basically, just copy the new MIB files into the directory
            where the rest of them live.
           Typically this will be something like  /usr/share/snmp/mibs
           for a vendor-supplied setup

Is there a folder '/usr/share/snmp/mibs' on your linux box?
Does it contain various  ...-MIB.txt files?

If so, then get the relevant Cisco MIB files (either from Cisco direct,
or by searching on the Web),  copy them into this directory,
and re-start the snmptrapd service.
   Then you should be ready to go

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.