 Rank: Guest Joined: 2/27/2018(UTC) Posts: 2
|
Hi all, I'm trying to create a trigger that should fire as such (random IPs). Is there any way to get something like this to work? I'd like to receive a message when a specific PC disconnects, at that time, trigger output to email or whatever else I use for webhooks "PC01 disconnected on primary WAN" and when it reconnects on the backup WAN, send a new trigger saying "PC01 connected on backup WAN"
See what I'm attempting to achieve with the below:
{{"text": "{Session.Name} {Event.EventType} at {IIF ({Connection.NetworkAddress} = '73.49.169.98', 'Primary WAN', IIF (Connection.NetworkAddress} = '73.49.169.99', 'Backup WAN', 'Other'))} "}}
My current event filter for this is as follows:
(Event.EventType = 'Disconnected' OR Event.EventType = 'Connected') And Connection.ProcessType = 'Guest' AND Session.SessionType = 'Access' AND Session.CustomProperty1 = 'ACME CORPORATION'
|
|
|
|
 Rank: Administration Medals:  Joined: 3/28/2014(UTC) Posts: 2,844  Thanks: 3 times Was thanked: 348 time(s) in 300 post(s)
|
If you want to filter upon a specific IP address I would guess that you'd want to use Session.GuestNetworkAddress, although that information is pulled from the socket which gives mostly unreliable results. |
ScreenConnect Team |
|
|
|
 Rank: Guest Joined: 2/27/2018(UTC) Posts: 2
|
Originally Posted by: Scott  If you want to filter upon a specific IP address I would guess that you'd want to use Session.GuestNetworkAddress, although that information is pulled from the socket which gives mostly unreliable results. What's the difference between Session.GuestNetworkAddress and Connection.NetworkAddress?
|
|
|
|
 Rank: Advanced Member Medals:  Joined: 2/6/2014(UTC) Posts: 314   Thanks: 7 times Was thanked: 31 time(s) in 28 post(s)
|
why not just create three separate triggers?
:: trigger 1 (Connection.NetworkAddress = '73.49.169.98') AND (Event.EventType = 'Disconnected' OR Event.EventType = 'Connected') And (Connection.ProcessType = 'Guest') AND (Session.SessionType = 'Access') AND (Session.CustomProperty1 = 'ACME CORPORATION')
:: trigger 2 (Connection.NetworkAddress = '73.49.169.99') AND (Event.EventType = 'Disconnected' OR Event.EventType = 'Connected') And (Connection.ProcessType = 'Guest') AND (Session.SessionType = 'Access') AND (Session.CustomProperty1 = 'ACME CORPORATION')
:: trigger 3 ((Connection.NetworkAddress <> '73.49.169.98') AND (Connection.NetworkAddress <> '73.49.169.99')) AND (Event.EventType = 'Disconnected' OR Event.EventType = 'Connected') And (Connection.ProcessType = 'Guest') AND (Session.SessionType = 'Access') AND (Session.CustomProperty1 = 'ACME CORPORATION')
|
|
|
|
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.