 Rank: Guest Joined: 12/4/2018(UTC) Posts: 5  Location: Hawaii
|
I have a Security Role called 'External Support' with access to a session group called 'Vendor Servers'. How could I trigger an Event when anyone in the 'Vendor Servers' role is Connected or whenever any of the machines in my 'Vendor Servers' are accessed? Currently I have to list each user or each machine individually like this? (Event.EventType = 'Connected' OR Event.EventType ='Disconnected') AND Session.Name = 'MachineName' I don't see Session.Group or Security.Role or any option like that. Thanks Edited by user Thursday, December 13, 2018 10:13:58 PM(UTC)
| Reason: clarified
|
|
|
|
 Rank: Newbie Joined: 4/27/2015(UTC) Posts: 30  Thanks: 6 times Was thanked: 3 time(s) in 3 post(s)
|
Originally Posted by: robert50  I don't see Session.Group or Security.Role or any option like that. While those aren't properties you can use in the Event Filter, there are others that could do the job: (1) Session.CustomProperty1This refers to a session's organization. If you were to make it so that all the sessions in the Vendor Servers session group have the same organization value, then you'd be able to invoke that in the Event Filter like this: (Event.EventType = 'Connected' OR Event.EventType ='Disconnected') AND Session.CustomProperty1 = 'WHATEVER'Of course, if you're already using the organization property for some other purpose, then this would clash with that. In that case, you could use: (2) Session.NotesThis refers to a session's notes. If you were to add the same note to all the sessions in Vendor Servers, then you'd be able to invoke that like this: (Event.EventType = 'Connected' OR Event.EventType ='Disconnected') AND Session.Notes LIKE 'WHATEVER'
|
|
|
|
 Rank: Guest Joined: 12/4/2018(UTC) Posts: 5  Location: Hawaii
|
That will probably work instead of having it based off a role. I also had to switch to (Event.EventType = 'CreatedSession' OR Event.EventType ='EndedSession') because 'Connected' or 'Disconnected' was triggering an alert whenever an unattended client went on or offline which wasn't what I wanted.
Thanks
|
|
|
|
 Rank: Administration Medals:  Joined: 3/28/2014(UTC) Posts: 2,862  Thanks: 3 times Was thanked: 351 time(s) in 303 post(s)
|
You can still filter on the Connected and/or Disconnected event types but only for events where the connecting party is a Host by adding the following operand: Code:
Connection.ProcessType = 'Host'
so using one of the examples @aslee posted above it would look like: Code:
(Event.EventType = 'Connected' OR Event.EventType ='Disconnected') AND Session.CustomProperty1 = 'WHATEVER' AND Connection.ProcessType = 'Host'
This Trigger's filter will not execute when an unattended machine drops offline/comes back online, but rather only when a Host connects to a session where the session's CustomProperty1 is set to WHATEVER. |
ScreenConnect Team |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.