logo

The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.

Notification

Icon
Error

Options
Go to last post Go to first unread
SCCurious  
#1 Posted : Thursday, August 7, 2014 1:00:41 PM(UTC)
SCCurious


Rank: Newbie

Joined: 2/2/2014(UTC)
Posts: 10
United States

Thanks: 2 times
I have a notification event trigger setup that sends an email when an access client disconnects.
Code:
(Event.EventType = 'Disconnected') And Connection.ProcessType = 'Guest' And Session.SessionType = 'Access'


I would like to eliminate notifications due to reboots or transient connectivity issues by implementing a 10 minute delay. So, rather than immediately triggering a notification; if the Access client has been disconnected for 10 minutes, then send the notification.

I can't figure out how to (Current.Time - Event.Time > '00:10:00') Can anyone help me with this?

Scott  
#2 Posted : Friday, August 8, 2014 5:38:36 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,862
United States

Thanks: 3 times
Was thanked: 351 time(s) in 303 post(s)
I don't think that this is possible inside of a Trigger as there isn't a way to compare time dynamically.

With that said, this might be possible with an Extension in version 5.0, although it's hard to say for certain.
ScreenConnect Team
skizznott  
#3 Posted : Monday, December 1, 2014 3:25:51 PM(UTC)
skizznott


Rank: Newbie

Joined: 11/25/2014(UTC)
Posts: 7
United States
Location: California

Has anyone looked into this again yet?
michaeldale  
#4 Posted : Monday, December 1, 2014 9:16:55 PM(UTC)
michaeldale


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 11/10/2013(UTC)
Posts: 73
Australia

Thanks: 4 times
Was thanked: 4 time(s) in 4 post(s)
I would also be interested in a 1-2 minute delay. More interested if a server goes offline, but we sometimes get brief internet connection dropouts or routing changes that we don't need email alerts about.
Cloud Helpdesk: http://bluetrait.com/
skizznott  
#5 Posted : Monday, December 1, 2014 9:28:41 PM(UTC)
skizznott


Rank: Newbie

Joined: 11/25/2014(UTC)
Posts: 7
United States
Location: California

My fear is that with anything less than 5 minutes, if you reboot a server/workstation, then you would essentially get a "false positive". I am hoping to find a way to become notified if one of the connected devices lose connection to the SC server. It would be especially helpful as it would let us know if there was a major outage in a remote location.
dox  
#6 Posted : Monday, December 15, 2014 12:27:02 AM(UTC)
dox


Rank: Newbie

Joined: 12/15/2014(UTC)
Posts: 1
New Zealand

This would be a killer feature if i could get a email when a client is disconnected after a specified amount of minutes, but without been able to choose
the interval its not much use :/
Jeff  
#7 Posted : Friday, December 19, 2014 1:27:04 AM(UTC)
Jeff


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/14/2010(UTC)
Posts: 1,785
Man
Location: Raleigh, NC

Thanks: 8 times
Was thanked: 156 time(s) in 122 post(s)
We put this in as a way to have ScreenConnect monitor. A monitoring service or understanding of time is what we are talking about. Its less of a feature change than adding an entirely new part of the software. One that we agree with you would be very beneficial but development hasn't given us an idea of how hard it will be to do yet. I will push again to see what I can find out.
ScreenConnect Team
basic  
#8 Posted : Thursday, February 11, 2016 7:35:49 PM(UTC)
basic


Rank: Newbie

Joined: 2/11/2016(UTC)
Posts: 1
United States

I believe you, like me, are looking for the product to do something similar to Alerting in LMI. I'm new here with SC, and we had LMI set so that we received an E-mail when a server went off-line after 3 minutes and came on-line asap. This gave us emails for outages and reboots as well that we were able to verify. Sometimes, a quick drop of the internet would generate the online when it came back before the off-line period. All of this gave us the rudimentary ability to "monitor" up-time. Right now, I'm looking for a way to do this with SC or another product/extension. Any help would be appreciated!
Alexander  
#9 Posted : Monday, February 22, 2016 8:44:10 PM(UTC)
Alexander


Rank: Administration

Medals: Level 3: Shirt off your back! Received 25 Thanks!

Joined: 7/23/2013(UTC)
Posts: 715
Man
Location: Raleigh, NC

Was thanked: 66 time(s) in 63 post(s)
You could certainly make an extension to do this, with a trigger that calls into a service method that waits 3 minutes and then sends an email if there's still no guest connected to the session.

We have some information about creating extensions on the help site, though it's not all that fleshed out. You can also use the templates and existing extensions as examples.

You can send an email with something like this:
Code:
using (var mailMessage = ServerToolkit.Instance.CreateMailMessage())
{
	mailMessage.To.Add(to);
	mailMessage.Subject = subject;
	mailMessage.Body = body;
	mailMessage.IsBodyHtml = isBodyHtml;

	new SmtpClient().Send(mailMessage);
}
ScreenConnect Team
Alexander  
#10 Posted : Tuesday, February 23, 2016 7:13:31 PM(UTC)
Alexander


Rank: Administration

Medals: Level 3: Shirt off your back! Received 25 Thanks!

Joined: 7/23/2013(UTC)
Posts: 715
Man
Location: Raleigh, NC

Was thanked: 66 time(s) in 63 post(s)
Hmm, it looks like the person in this thread has made something that's a lot like what you're looking for.
ScreenConnect Team
Users browsing this topic
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.