Curtis,

 

There is an Owner attribute under Device Information (attribute 0x12bfd,
which is not the same as the SNMP contact) which we use for exactly this
purpose.

Interfaces and sub-components do not have Owner attribute, but our Alarm
Notifier script uses CLI to lookup the Owner attribute of the parent
device using device model handle 0x10069.

You can pass these attribute to the SetScript and read their values from
$SANM_0X00012BFD and $SANM_0X00010069

We have the following configuration in .alarmrc to support this and
other conditional escalations:

 

#

# These attributes are being passed as environment variables

#

# 0X0023000E Device Type

# 0X000129ED PortType

# 0X00010069 Device Model Handle

# 0X00012BFD Owner

# 0X00011564 Notes

# 0X00011F82 Internal Interface Alias

# 0X0456002A SPM Test Description

#

EXTRA_ATTRS_AS_ENVVARS=0X0023000E,0X000129ED,0X00010069,0X00012BFD,0X000
11564,0X00011F82,0X0456002A

 

However, objects like SPM tests and Correlation Domains do not have an
Owner attribute, so for those we use Security String instead.

It is not as elegant, but it works with a little coding.

 

HTH,

--Mark S

 

________________________________

Mark Serencha - Inforonics LLC -  (m) +1-781-439-0519 -
[email protected] <mailto:[email protected]>   -
** Inforonics acquires Vigilant Enterprise Solutions **
<blocked::http://www.businesswire.com/portal/site/home/permalink/?ndmVie
wId=news_view&newsId=20090818005912&newsLang=en> 

 

From: Curtis Kellogg [mailto:[email protected]] 
Sent: Friday, March 19, 2010 2:07 PM
To: spectrum
Subject: [spectrum] alternative to snmp contact attribute for Interface
Models

 

Hello Spectrum List,

                We have been using the Notes attribute on models instead
of the Contact snmp value to show whom to contact for Alarms.

This allows us easy modification without having to make snmp
configuration changes on any devices.  

   Has anyone else used another attribute for this purpose ?  I am
looking for an alternative attribute to use that would be available for
routers,switches ,... and their individual interfaces. For interfaces
the notes field is being used by other groups to store interface
specific info like circuit id's.

Is there a way to create an custom attribute that would be available for
all models ?  Or is there some generic attributes that could be re-used
?

                Thanks,

                                Curtis Kellogg

                                Enterprise Monitoring Engineer

                                Scottrade

All e-mail sent to and from this address will be retained by the
Scottrade corporate e-mail system and is subject to review by someone
other than the recipient. E-mail transmissions may not be secure;
contact us at 1-800-619-SAVE for more information.
 

*       --To unsubscribe from spectrum, send email to [email protected]
with the body: unsubscribe spectrum [email protected] 


---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to