Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Gavsto last won the day on August 12

Gavsto had the most liked content!

Community Reputation

40 Excellent


Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Gavsto

    Internal Monitor Help Needed

    If what you are looking to do is monitor Windows Server Backups. First import this role: Then create a search that searches for everything with that role (You'll need to do an Update Config and Resend System Information on the agents, or you can wait. Then create a group and attach this search as a condition of joining the group. Then create a remote monitor set as the following and attach it to the group: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command "& {$ErrorActionPreference = 'SilentlyContinue';add-pssnapin windows.serverbackup;$wbs = Get-Wbsummary;$lastsuccessfulbackuptime = $wbs.lastsuccessfulbackuptime;$TimeSpan = $(Get-Date) - [DateTime]$($wbs.lastsuccessfulbackuptime);write-output $($timespan.TotalDays)}" Note I've removed the UKCulture line my screenshot has but that's what goes into Executable/Arguments. The result condition, less than 3, means how many days it has to hit before it triggers the alert. This uses the Windows Server Backup powershell cmdlets to work out how many days since the last successful backup. Ensure you set the alert template. See here for how to attach remote monitors to groups https://gavsto.com/remote-monitor-trigger-an-alert-when-a-profile-goes-above-a-certain-size-including-setup-tips-for-remote-monitors/ Reply in here or come ping me on Slack @gavsto if you have any questions
  2. Gavsto

    Include log file content in ticket

    There are a few ways to do this Jason. One is Script Function, Variable Set, File Contents. The method I use though: If you want the entire log, cut off everything after .log". Obviously replace the Get-Content " " with the path to your log. Using the below though the Select-String will pull back all lines in the log that contain the word "Error" so you don't get the rest of the stuff in the log.
  3. It's a caching issue. The engineers just need to do the following in the top right hand corner of the Automate 12 Window. This should allow them to see any machine that has been added to the system recently:
  4. Do yourself a favour and use the script Function Execute Script > Powershell Bypass. You can then put the PS1 contents directly into the Automate script. Incidentally your script is probably broken because you are no invoking the parameter properly. Example: yourscript.ps1' -Param1 '' -Param2 'Router'
  5. Good Morning/Afternoon Connectwise Automate Campers! It's time for the next delivery of the LabTechGeek Digest! Automate 12 - Patch 7 After a rocky start with Patch 6, Patch 7 has been relatively stable with no known major issues. Be aware of potential issues with IIS though during the install - not a fault with the patch, but an issue with IIS and Microsoft's July patches. See here for more details: https://bit.ly/2Akrgoz With that in mind, this is a good stable base to upgrade to if you’ve been waiting for a while to upgrade. I continue to be impressed with the speed of development for the new Automate Web App, and I’m sure we’ll see some good additions to it over the next few patches. Hopefully we will see the addition of a Current User/Last Logged on User column soon, it’s the only thing really stopping heavy usage for a lot of the engineers at my MSP. Slack We are now over 3000 users in our Slack, and growth doesn’t seem to be slowing down. Thanks to all Admins and members who contribute. If you’re not already in our Slack, you can join here - https://slack.labtechgeek.com/ We need your Feedback! Thank you to everyone who has already filled in the Feedback form that has been posted in Slack for a few weeks, if you haven’t then we’d really appreciate getting your feedback on our GeekCast and LabTechGeek content in general: https://goo.gl/forms/FAC0m1Gua9fToit13 Agent response slow? Tired of waiting to interact with agents? Offline server alerts flaky? Your heartbeat may be broken Following a conversation in the Slack just over a month ago, I asked a number of members in Slack to check whether their heartbeat was working or not – and a good 40% of the people that checked found this wasn’t working properly. When heartbeat isn’t working it can significantly impact on the day to day running of Automate. If you can answer yes to any of the questions in this sections title, I would advise you have a read of my article on how to identify, and fix problems with heartbeat: https://bit.ly/2OhOONr LabTechGeek Downloads Are you aware of this section of the LabTechGeek Forums? https://www.labtechgeek.com/files/ This is where we have started posting Scripts, SQL Definitions, Role Definitions and more. Over the upcoming months, we are going to start adding more content in here – and you can help. We are going to start giving trusted community members the ability to post files in here. If you want to contribute, please message me on Slack (@gavsto). Some of my favourite ones in there so far: https://www.labtechgeek.com/files/file/17-script-backup/ - Backup your LabTech Scripts into a folder hierarchy that matches the Automate script folders. Each time a script is exported, the last updated time and user information is included, providing multiple script revisions as it is changed over time. https://www.labtechgeek.com/files/file/16-powershell-deployment-scripts/ - Powershell deployment scripts for Powershell 2,3,4,5? Yes please! https://www.labtechgeek.com/files/file/8-bitlocker-enabled/ - Role definition to detect Bitlocker is enabled on a machine. See you next month (ish)! Gavsto and the LabTechGeek Admin Team
  6. Version 1.0.0


    This SQL can be imported in System > General > Import > SQL File. It will add an additional role definition that detects when a Windows Server Backup is scheduled on an agent. Note - it is possible to have the Windows Server Backup role installed, but without actually using its functionality to backup. This role definition will only detect when a backup has at some point been scheduled.
  7. Gavsto

    Automate Install - Rip & Replace - Powershell

    It can - ie the following would work: (new-object Net.WebClient).DownloadString('http://bit.ly/ltposh') | iex; Reinstall-LTService -Server https://yourrmm.yourdomain.com -Password whateveritis
  8. Gavsto

    Automate Install - Rip & Replace - Powershell

    Thanks for posting this up! You may well benefit from knowing about the LabTech Powershell Module out there in the wild. http://labtechconsulting.com/labtech-agent-powershell-module/ The module is on Github and is primarily maintained by the below, I'm sure they'd appreciate additional contributions! What I really like about that method is you can just call it from anywhere with an internet connection, the below, for example, would Reinstall the agent with no additional dependencies needed: (new-object Net.WebClient).DownloadString('http://bit.ly/ltposh') | iex @CTaylor and @DarrenWhite99
  9. Hello everyone! I've been asked numerous times for this, so here you go: https://gavsto.com/free-report-anti-virus-health-including-compliant-devices/ It looks like this:
  10. I made this over the weekend. For a while now I have been wanting to pull true uptime statistics into Automate, IE, presented as a percentage how much uptime did the server have this month. To do this a piece of embedded Powershell is running in an Automate Script that populates EDFs with this information in. There are numerous decent data points here that can potentially have monitors running against them: https://github.com/gavsto/ConnectWise-Automate-ServerUptimeStatistics Some ideas for usage: 1) Trigger when more than x crashes are detected in last 30 day period 2) Include up-time percentage in your reports 3) Trigger when more than x reboots are detected in last 30 day period 4) Show value to customers who have required SLAs for server uptime Hope you all find it useful.
  11. My plugin is .5 - can confirm I have same options as MGreen.
  12. I am checking this on my 12 now - none pilot - will report back shortly.
  13. Gavsto

    Monitor Home User's ISP Modem

    I can't see a way of doing this unless the home routers support some form of Dynamic DNS and most don't - I'd categorically refuse to do this.
  14. Gavsto

    DNS Forwarder Monitoring

    I got some fantastic intelligent out of this Darren, thank you. If you're reading this and wondering whether you should implement this you absolutely should. I found two clients where the primary DNS forwarder was failing, fixing this sped up their internet considerably.
  15. Gavsto

    Backup Assist

    Version 1.0.0


    This role definition checks for the installation of Backup Assist on an agent by detecting whether the Backup Assist service exists. To import these Role Definitions, in the ConnectWise Automate main screen, go to Tools > Import then choose SQL File. Browse to the relevant file, and OK the message about inserting one row.