Topic Options
Rate This Topic
#119595 - 06/29/05 06:55 AM API Assistance
lj_head400 Offline
journeyman

Registered: 04/06/05
Posts: 155
I'm looking for a way to register for server events...if it's even possible.
I looked through the API guide but didn't find what I was looking for. What
I want is to have a daemon register with the AR Server and be notified of
user license events...logons, logoffs, license type changes and the such.
Anyone familiar with the methods available to do that?


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


Top
#119596 - 06/29/05 07:09 AM Re: API Assistance [Re: stenson]
bach_az Offline
journeyman

Registered: 06/12/01
Posts: 119
Easiest thing is to put a Filter on the Server Events
form and test for the item modified/added. You can
then perform a Run Process action in response to the
event.

Hope this helps,

Chris Woyton
AIS Consulting

--- "L. J. Head" wrote:

> I'm looking for a way to register for server
> events...if it's even possible.
> I looked through the API guide but didn't find what
> I was looking for. What
> I want is to have a daemon register with the AR
> Server and be notified of
> user license events...logons, logoffs, license type
> changes and the such.
> Anyone familiar with the methods available to do
> that?
>
>

> UNSUBSCRIBE or access ARSlist Archives at
> http://www.ARSLIST.org
> (Support: mailto:support@arslist.org)
>





Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/newmail


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


Top
#119597 - 06/29/05 07:24 AM Re: API Assistance [Re: stenson]
lj_head400 Offline
journeyman

Registered: 04/06/05
Posts: 155
Looking at the events form and the actions that can trigger an event...I
don't see users logging on and off as options. I'm looking for an
alternative to setting a polling interval on user license management. I
know Remedy knows that the event occurs...otherwise it would not be able to
log it. I'm looking for how to hook into the trigger that Remedy uses to
generate the log file...without the actual need to use the log file

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Chris Woyton
Sent: Wednesday, June 29, 2005 11:09 AM
To: arslist@ARSLIST.ORG
Subject: Re: API Assistance

Easiest thing is to put a Filter on the Server Events form and test for the
item modified/added. You can then perform a Run Process action in response
to the event.

Hope this helps,

Chris Woyton
AIS Consulting

--- "L. J. Head" wrote:

> I'm looking for a way to register for server events...if it's even
> possible.
> I looked through the API guide but didn't find what I was looking for.
> What I want is to have a daemon register with the AR Server and be
> notified of user license events...logons, logoffs, license type
> changes and the such.
> Anyone familiar with the methods available to do that?
>
>


> UNSUBSCRIBE or access ARSlist Archives at
> http://www.ARSLIST.org
> (Support: mailto:support@arslist.org)
>





Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/newmail



UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


Top
#119598 - 06/28/05 10:15 PM Re: API Assistance [Re: stenson]
bach_az Offline
journeyman

Registered: 06/12/01
Posts: 119
Ahhh...ok, I get you.

For something like that, the User log file really is
your best bet for complete information.

For logins, you might be able to leverage the
Init-Form feature (a pre-defined, non-visible form
that opens immediately upon login, runs client
workflow on Window Open, then closes). Logouts would
be a bit more of a chore but may be possible to get
some partial data by coupling a log feature with the
use of PERFORM-ACTION-EXIT-APP.

The problem in either case is you don't get the
license data you might want to track that's normally
available in the User log.

If you're using .NET for your utility, there's an easy
to use FileSystemWatcher (part of System.IO) that can
watch a file or folders and then notify a callback
function of any changes. Of course, there are several
other packages/utilities available as well to perform
similar functions.

Hope this helps,

Chris Woyton
AIS Consulting

--- "L. J. Head" wrote:

> Looking at the events form and the actions that can
> trigger an event...I
> don't see users logging on and off as options. I'm
> looking for an
> alternative to setting a polling interval on user
> license management. I
> know Remedy knows that the event occurs...otherwise
> it would not be able to
> log it. I'm looking for how to hook into the
> trigger that Remedy uses to
> generate the log file...without the actual need to
> use the log file
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Chris
> Woyton
> Sent: Wednesday, June 29, 2005 11:09 AM
> To: arslist@ARSLIST.ORG
> Subject: Re: API Assistance
>
> Easiest thing is to put a Filter on the Server
> Events form and test for the
> item modified/added. You can then perform a Run
> Process action in response
> to the event.
>
> Hope this helps,
>
> Chris Woyton
> AIS Consulting
>
> --- "L. J. Head" wrote:
>
> > I'm looking for a way to register for server
> events...if it's even
> > possible.
> > I looked through the API guide but didn't find
> what I was looking for.
> > What I want is to have a daemon register with the
> AR Server and be
> > notified of user license events...logons, logoffs,
> license type
> > changes and the such.
> > Anyone familiar with the methods available to do
> that?
> >
> >
>

>
> > UNSUBSCRIBE or access ARSlist Archives at
> > http://www.ARSLIST.org
> > (Support: mailto:support@arslist.org)
> >
>
>
>
>
>
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/newmail
>
>

>
> UNSUBSCRIBE or access ARSlist Archives at
> http://www.ARSLIST.org
> (Support: mailto:support@arslist.org)
>
>

> UNSUBSCRIBE or access ARSlist Archives at
> http://www.ARSLIST.org
> (Support: mailto:support@arslist.org)
>



Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


Top
#119599 - 06/28/05 10:26 PM Re: API Assistance [Re: stenson]
lj_head400 Offline
journeyman

Registered: 04/06/05
Posts: 155
Wow....that's amazing. I'm really new to programming but I frequent places
where programmers hang out and from my understanding 'event registration' is
not an uncommon practice. A service posts an event...you can subscribe to
that event and the service keeps track of who's registered and notifies them
when that event occurs...I figured for sure there was something like that
for logons and off's because otherwise you need to setup a polling window to
ask for the entire list again...doesn't make much sense. Oh well...I'm
using ARSPerl to get the information I'm using right now...I know perl is
really good at file watching as well as string manipulation so I'll go look
down that road....thanks for the time and thought Chris

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Chris Woyton
Sent: Wednesday, June 29, 2005 2:15 PM
To: arslist@ARSLIST.ORG
Subject: Re: API Assistance

Ahhh...ok, I get you.

For something like that, the User log file really is your best bet for
complete information.

For logins, you might be able to leverage the Init-Form feature (a
pre-defined, non-visible form that opens immediately upon login, runs client
workflow on Window Open, then closes). Logouts would be a bit more of a
chore but may be possible to get some partial data by coupling a log feature
with the use of PERFORM-ACTION-EXIT-APP.

The problem in either case is you don't get the license data you might want
to track that's normally available in the User log.

If you're using .NET for your utility, there's an easy to use
FileSystemWatcher (part of System.IO) that can watch a file or folders and
then notify a callback function of any changes. Of course, there are several
other packages/utilities available as well to perform similar functions.

Hope this helps,

Chris Woyton
AIS Consulting

--- "L. J. Head" wrote:

> Looking at the events form and the actions that can trigger an
> event...I don't see users logging on and off as options. I'm looking
> for an alternative to setting a polling interval on user license
> management. I know Remedy knows that the event occurs...otherwise it
> would not be able to log it. I'm looking for how to hook into the
> trigger that Remedy uses to generate the log file...without the actual
> need to use the log file
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Chris Woyton
> Sent: Wednesday, June 29, 2005 11:09 AM
> To: arslist@ARSLIST.ORG
> Subject: Re: API Assistance
>
> Easiest thing is to put a Filter on the Server Events form and test
> for the item modified/added. You can then perform a Run Process action
> in response to the event.
>
> Hope this helps,
>
> Chris Woyton
> AIS Consulting
>
> --- "L. J. Head" wrote:
>
> > I'm looking for a way to register for server
> events...if it's even
> > possible.
> > I looked through the API guide but didn't find
> what I was looking for.
> > What I want is to have a daemon register with the
> AR Server and be
> > notified of user license events...logons, logoffs,
> license type
> > changes and the such.
> > Anyone familiar with the methods available to do
> that?
> >
> >
>

>
> > UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
> > (Support: mailto:support@arslist.org)
> >
>
>
>
>
>
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/newmail
>
>

>
> UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
> (Support: mailto:support@arslist.org)
>
>


> UNSUBSCRIBE or access ARSlist Archives at
> http://www.ARSLIST.org
> (Support: mailto:support@arslist.org)
>



Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


Top
#119600 - 07/01/05 02:14 AM Re: API Assistance [Re: stenson]
JD_Hood Offline
journeyman

Registered: 12/20/04
Posts: 125
Loc: Georgia, USA
I've found that you only need the most basic workflow to leverage the init
form feature to track user login info. One fear was that, with some of the
more remote locations that have shakey connectivity, the login might be
delayed or sluggish while the workflow was firing. Well, so far it has been
absolutely transparent to the end-users with no discernable effect on logins.

Also, once you have it built, it's fairly easy to extend it to track the
forms users "touch" and other related usage patterns. What I have not yet
been required to track is user log-outs. I'm not quite sure how that would
best be accomplished...

-JD-

On Wed, 29 Jun 2005 13:15:18 -0700, Chris Woyton wrote:

>Ahhh...ok, I get you.
>
>For something like that, the User log file really is
>your best bet for complete information.
>
>For logins, you might be able to leverage the
>Init-Form feature (a pre-defined, non-visible form
>that opens immediately upon login, runs client
>workflow on Window Open, then closes). Logouts would
>be a bit more of a chore but may be possible to get
>some partial data by coupling a log feature with the
>use of PERFORM-ACTION-EXIT-APP.
>
>The problem in either case is you don't get the
>license data you might want to track that's normally
>available in the User log.
>
>If you're using .NET for your utility, there's an easy
>to use FileSystemWatcher (part of System.IO) that can
>watch a file or folders and then notify a callback
>function of any changes. Of course, there are several
>other packages/utilities available as well to perform
>similar functions.
>
>Hope this helps,
>
>Chris Woyton
>AIS Consulting
>
>--- "L. J. Head" wrote:
>
>> Looking at the events form and the actions that can
>> trigger an event...I
>> don't see users logging on and off as options. I'm
>> looking for an
>> alternative to setting a polling interval on user
>> license management. I
>> know Remedy knows that the event occurs...otherwise
>> it would not be able to
>> log it. I'm looking for how to hook into the
>> trigger that Remedy uses to
>> generate the log file...without the actual need to
>> use the log file
>>
>> -----Original Message-----
>> From: Action Request System discussion list(ARSList)
>> [mailto:arslist@ARSLIST.ORG] On Behalf Of Chris
>> Woyton
>> Sent: Wednesday, June 29, 2005 11:09 AM
>> To: arslist@ARSLIST.ORG
>> Subject: Re: API Assistance
>>
>> Easiest thing is to put a Filter on the Server
>> Events form and test for the
>> item modified/added. You can then perform a Run
>> Process action in response
>> to the event.
>>
>> Hope this helps,
>>
>> Chris Woyton
>> AIS Consulting
>>
>> --- "L. J. Head" wrote:
>>
>> > I'm looking for a way to register for server
>> events...if it's even
>> > possible.
>> > I looked through the API guide but didn't find
>> what I was looking for.
>> > What I want is to have a daemon register with the
>> AR Server and be
>> > notified of user license events...logons, logoffs,
>> license type
>> > changes and the such.
>> > Anyone familiar with the methods available to do
>> that?
>> >
>> >
>>
>
>>
>> > UNSUBSCRIBE or access ARSlist Archives at
>> > http://www.ARSLIST.org
>> > (Support: mailto:support@arslist.org)
>> >
>>
>>
>>
>>
>>
>> Do you Yahoo!?
>> Read only the mail you want - Yahoo! Mail SpamGuard.
>> http://promotions.yahoo.com/newmail
>>
>>
>
>>
>> UNSUBSCRIBE or access ARSlist Archives at
>> http://www.ARSLIST.org
>> (Support: mailto:support@arslist.org)
>>
>>
>
>> UNSUBSCRIBE or access ARSlist Archives at
>> http://www.ARSLIST.org
>> (Support: mailto:support@arslist.org)
>>
>
>
>
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>
>UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
>(Support: mailto:support@arslist.org)


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)


Top