[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3924.0. "How to detect Traps (SNMP events)?" by HGSWS1::SUSANCHAN () Tue Oct 20 1992 08:09

SNMP AM allows monitor 7 types of SNMP event

- coldStart
- warmStart
- linkDown
- linkUp
- authenticationFailure
- egpNeighborLoss
- enterpriseSpecific

At what condition will these event be generated?  I tried to use ifconfig down,
but didn't get any event on DECmcc.  How should I dectect these event?

If using FCL> GETEVENT ,  it will hold still and seems waiting for something.

Please guide me throught how to detect these SNMP events.  THANKS.

/Susan
Digital China/Hong Kong
T.RTitleUserPersonal
Name
DateLines
3924.1a little helpCSOADM::ROTHKick out the jams!Wed Oct 21 1992 13:5825
>At what condition will these event be generated?

This depends on the network gear that is sending out the SNMP traps. The first
two deal with software/hardware reboots, the next two deal with network
links going down and then coming back up.

>I tried to use ifconfig down, but didn't get any event on DECmcc.  How should
>I dectect these event?

The 'OCCURS' expression in a rule works, like this:

        Expression   = (OCCURS (SNMP * linkDown)), -   or

        Expression   = (OCCURS (SNMP NODE_A linkUp)), -




>If using FCL> GETEVENT ,  it will hold still and seems waiting for something.
>Please guide me throught how to detect these SNMP events.  THANKS.

Has the network equipment(s) been programmed to send SNMP traps to the IP
address of the DECmcc system? If so, you should be seeing the traps.

Lee
3924.2more question on detecting trapsHGSWS1::SUSANCHANWed Oct 21 1992 22:5150
Lee,

Thank you for your kindly reply.

>>The 'OCCURS' expression in a rule works, like this:
>>        Expression   = (OCCURS (SNMP * linkDown)), -   or
>>        Expression   = (OCCURS (SNMP NODE_A linkUp)), -

So that means I also need to set up alarms for these traps?  I thought that
they are just like events that I can detect from the Notification Service.

>>Has the network equipment(s) been programmed to send SNMP traps to the IP
>>address of the DECmcc system? If so, you should be seeing the traps.

How can I do that?  I post a note in SNMP note conference on setting up the 
snmpd.conf, may be you can help.  Following is the note I posted:

Many thanks.

Susan 

I am trying to setup my DECstation to be managed by DECmcc.  The DECmcc is
installed on VMS and with UCX installed with IP address 16.157.0.27.

Questions:

-  On my DECstation, I tried to use snmpsetup to add an entry
   community	public	16.157.0.27	traps

   but sinces there is already an entry   community public 0.0.0.0 read-only,
   the snmpd.conf becomes:

   community	public	16.157.0.27	read-only
   community    public  0.0.0.0 	read-only

   Why?  Also, if I use vi to modify snmpd.conf is the following possible
   
   
   community	public	16.157.0.27	read-write
   community	public	16.157.0.27	read-only
   community	public	16.157.0.27	traps

   Will the last superseed the previous?

   Probably if someone can explain how this file work will help me out!!!

-  My second question is about the community name.  If in snmpd.conf, I use
   a different community name than public, do I need to match it in the UCX?
   How do I set the community name in UCX?

3924.3YAHEY::BOSEMon Nov 02 1992 13:3024
>>   community	public	16.157.0.27	read-write
>>   community	public	16.157.0.27	read-only
>>   community	public	16.157.0.27	traps

>>   Will the last superseed the previous?

	The last entry will augment the previous entries. You may want to
	use a community name other than "public" for read-write access.

	eg.

	community	public	0.0.0.0		read
	community 	celery	16.157.0.27	read-write
	community 	public	16.157.0.27	traps

>>-  My second question is about the community name.  If in snmpd.conf, I use
>>   a different community name than public, do I need to match it in the UCX?
>>   How do I set the community name in UCX?

	For SET and SHOW operation you should specify the correct community
	name using the "by password" qualifier in DECmcc. For traps, the 
	community name is essentially ignored.

	/rb