Jump to content

Duong

Members
  • Content Count

    8
  • Joined

  • Last visited

  • Days Won

    1

Duong last won the day on December 7 2018

Duong had the most liked content!

Community Reputation

3 Neutral

My Information

  • Location
    Toronto
  • Agent Count
    < 500 Agents

Converted

  • INTERESTS
    Meraki

Recent Profile Visitors

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

  1. Can you try a different account? Can you try a different CWC PoSH command? https://github.com/ChrisTaylorRocks/ConnectWiseControlPowerShell
  2. I asked CTaylor, and he said to check the permission on the account you're using. Does it have Control access to that computer?
  3. It looks like you don't have PowerShell permissions. Can you run the command individually on the computer? This will work on a hosted ConnectWise Automate instance. If you are on-premise, you can use your Automate server to run the PowerShell commands.
  4. You must include the :8040. e.g. https://rmm.company.com:8040
  5. Version 1.1 script uploaded to original post. I've added: - check for non-Windows OS - a check for the LTService after restart - a reinstall of LTService if the restart fails - a second check for the LTService after reinstall - ticketing Version 1.2 script uploaded to original post. Fixed OS check.
  6. I'm not sure how to do that. You can import the script, and review yourself. The script gets the offline computer ID, then gets the ScreenConnect GUID, then restarts the LTService using a computer to run CWC PoSH.
  7. Special thanks: CTaylor, Gavsto, Mendy Green, kelliott_cio This thread is for my solution (using Gavsto's SQL, and CTaylor's PoSH modules) detecting agents that are offline in ConnectWise Automate, but are online in ConnectWise Control. Step 1. Create the monitor: This is an exact copy of Gavsto's SQL. I take no credit. SELECT TIMESTAMPDIFF(MINUTE,c.LastContact, IFNULL(LastHeartbeatTime, "0000-00-00 00:00:00")) AS TestValue, c.name AS IdentityField, c.ComputerID AS ComputerID, c.LastContact, h.LastHeartbeatTime, acd.NoAlerts, acd.UpTimeStart, acd.UpTimeEnd FROM Computers AS c LEFT JOIN HeartBeatComputers AS h ON h.ComputerID = c.ComputerID LEFT JOIN AgentComputerData AS acd ON c.ComputerID = acd.ComputerID LEFT JOIN Clients ON Clients.ClientID = c.clientid WHERE (c.LastContact > NOW() - INTERVAL 30 MINUTE OR h.LastHeartbeatTime > NOW() - INTERVAL 30 MINUTE) AND (TIMESTAMPDIFF(MINUTE,c.LastContact, IFNULL(LastHeartbeatTime, "0000-00-00 00:00:00")) < -6 OR TIMESTAMPDIFF(MINUTE,c.LastContact, IFNULL(LastHeartbeatTime, "0000-00-00 00:00:00")) > 6) Step 2. Create the script: Please import the XML attached. You will have to modify lines 8-11, line 19 with your information. Line 8, line 19 = the computer to run the script on. I'm hosted, so I could not use the ConnectWise Automate server. This computer needs to have PowerShell v3 or higher. Step 3. Create the alert template: Step 4. Set the alert template on your newly created global internal monitor. Duong_Restart Labtech Agent.xml
  8. Duong

    Slack Participation Awards

    Duong #1 Meraki #1
×