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

mohamad hosein jafari <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAB0bvNMjZPPBWSxJ+u21TJH9S_P7tChFG37uhOWKz3a_5PjcfQ@mail.gmail.com>
Yes

I went to  '/usr/share/snmp/mibs

and I saw some MIB txt file

should I copy these name for you or not?

On Mon, Jul 30, 2012 at 12:28 PM, mohamad hosein jafari <
[email protected]> wrote:

> Thanks
>
> excuse me for sending private message
> I made a mistake to send reply .
>
> my '/usr/share/snmp/ consist some conf file . I didn't see any txt file .
> I saw these files:
>
> mib2c.access_functions.conf    mib2c.genhtml.conf
> mib2c.array-user.conf          mib2c.int_watch.conf
> mib2c.check_values.conf        mib2c.iterate_access.conf
> mib2c.check_values_local.conf  mib2c.iterate.conf
> mib2c.column_defines.conf      mib2c.mfd.conf
> mib2c.column_enums.conf        mib2c.notify.conf
> mib2c.column_storage.conf      mib2c.old-api.conf
> mib2c.conf                     mib2c.scalar.conf
> mib2c.container.conf           mib2c.table_data.conf
> mib2c.create-dataset.conf      mibs/
> mib2c-data/
>
> Do you know what is problem?
>
>
> On Mon, Jul 30, 2012 at 12:19 PM, Dave Shield <[email protected]>wrote:
>
>>     [ 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.