Hi Cliff,
Yes, there is a way to do what you are looking for.
There are "event procedures" that allow you to work with attributes and
events together.
If you have r9.0 you can check Chapter 5 in manual 5188 - Event
Configuration user guide. (let me know if you dont have it, i'll send it
to you directly)
The good news is that you can use these procedures even in prior
Spectrum releases. There were implemented but not officially documented.
As I am were you can use the doc from 9.0 for 8.x too.
e.g. in your example you might try something like this:
Create event 0xffff0000 for model 0x29c00003 if attribute 0xffff0000 of
the current model has the same value as event variable 1 in the current
event:
If( Equals( ReadAttribute( { C CURRENT_MODEL }, { H 0xffff0000 }),
\GetEventVariable( { U 1 } ) \), \CreateEvent( { H 0x29c00003 }, { H
0xffff0000 } ), \Nil() \)
You can read, write attributes from event disposition files and get very
powerfull iteraction between event processing and atribute content.
There are more examples in the doc.
Hope this helps.
Regards,
Ales
From: HUNGERFORD, CLIFF [AG/1000] [mailto:[email protected]]
Sent: Thursday, April 16, 2009 10:34 PM
To: spectrum
Subject: [spectrum] Events containing Internal Attributes
Hello, Spectrumites.
Has anyone successfully found a way to insert internal Spectrum
attributes (like the text string from a Notes field) into the Event
Format file?
Specifically, I want to try to use an internal attribute for a "Lost
Contact" alarm, to take advantage of having our Operations contact
different support teams, based on an object's location. I use some
web-based event format files to let the Operator click on a link in the
Event Details tab in OneClick, and I'd like to be able to use the
internal attribute to help construct the URL in my .asp page to direct
users to do different things for different devices (and at different
times).
For example, we use a tier system for the importance of our sites. Tier
one sites need to have immediate notification of the correct support
group. Tier two sites may only need someone to be notified if it is
between business hours, and Tier three sites may only need an email
notification to the support site.
Being able to populate an internal attribute like the Notes field with a
specific text string (i.e., BRAZILTIER2) would allow me to construct a
URL to direct the operations team to the correct support team.
I've been all through the Event Configuration Files guide, as well as
tinkered around with my test Spectrum, and for the life of me can't come
up with a way to do this. Hopefully, someone has already invented this
wheel, and is willing to share!
Regards,
Cliff
Cliff Hungerford
Global Infrastructure - Performance and Availability Team
[email protected] <mailto:[email protected]>
314-694-3439 (phone)
314-409-6501 (mobile)
314-694-6354 (fax)
This e-mail message may contain privileged and/or confidential
information, and is intended to be received only by persons entitled to
receive such information. If you have received this e-mail in error,
please notify the sender immediately. Please delete it and all
attachments from any servers, hard drives or any other media. Other use
of this e-mail by you is strictly prohibited.
All e-mails and attachments sent and received are subject to monitoring,
reading and archival by Monsanto, including its subsidiaries. The
recipient of this e-mail is solely responsible for checking for the
presence of "Viruses" or other "Malware". Monsanto, along with its
subsidiaries, accepts no liability for any damage caused by any such
code transmitted by or accompanying this e-mail or any attachment.
* --To unsubscribe from spectrum, send email to [email protected]
with the body: unsubscribe spectrum [email protected]
Ales Mahdal
Consultant, Network & Applications Monitoring & Management
ANECT a.s. | Antala Staska 2027/79, 140 00 Praha 4 | Czech Republic
T +420 271 100 100 | F +420 271 100 101 | M +420 724 427 400
[email protected]
www.anect.com
Pamatujte na zivotni prostredi, nez vytisknete tento email.
Please consider the environment before printing this email.
Obsah tohoto e-mailu je duverny. Pokud nejste jeho opravnenymi prijemci, nejste
opravneni tuto zpravu odeslat, ulozit ji, ci nalozit s ni jakymkoli jinym
zpusobem. Doruceny e-mail neprodlene vymazte.
The contents of this e-mail is confidential. Persons not entitled to receive
this message are forbidden to send it, save it or use it in any other way, and
obliged to delete it immediately.
---
To unsubscribe from spectrum, send email to [email protected] with the body:
unsubscribe spectrum [email protected]<<inline: anect_logo_124x35.png>>
