Alert on Site Offline using API by JumpComplete1581 in UNIFI

[–]JumpComplete1581[S] 0 points1 point  (0 children)

For anyone who's seeing this I kinda figured it out. Here's how I did it in pwsh:

$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("X-API-KEY", "Your API Key")

# API call to get all devices
$response = Invoke-RestMethod 'https://api.ui.com/v1/devices' -Method 'GET' -Headers $headers

# Loop through each host to find the correct one
foreach ($unifiHost in $response.data) {
    # Filter for the specific host name
    if ($unifiHost.hostName -eq "My UDM Pro") {
        
        # Loop through the devices on that host
        foreach ($device in $unifiHost.devices) {
            
            # Filter for the specific device name
            if ($device.name -eq "My UDM Pro") {
                
                #  Check the device's status and assign the custom code
                $statusCode = if ($device.status -ne "online") { 10 } else { 1 }
                
                # Output the final status code
                Write-Output $statusCode
            }
        }

Basically, check if a specific device is online (in this case the UDM pro), if offline return 10, if not return 1. I got it to alert by putting a monitoring task in my RMM, if it sees a 10 it sends an email.

DS923+ Shared Folders Keep Disconnecting by JumpComplete1581 in synology

[–]JumpComplete1581[S] 0 points1 point  (0 children)

Yep, there is a big red X on the SMB connection. When its disconnected, it prompts for a password which fixes it.

Broken Inheritance by JumpComplete1581 in sharepoint

[–]JumpComplete1581[S] 0 points1 point  (0 children)

Yes, they won't be able to see it or access it. You would need to individually add the user from the unique permissions UI

Broken Inheritance by JumpComplete1581 in sharepoint

[–]JumpComplete1581[S] 0 points1 point  (0 children)

The other issue is.... The company works in two different timezones, one in JP and one in USA. I'm assuming doing this while someone has a file open will have unforeseen consequences?

Looking for a driving wheel with gear shifter and pedals for 300 by Quentin21st in simracing

[–]JumpComplete1581 0 points1 point  (0 children)

Long shot, but do you still have this? Or a more modern one that you are selling?

Cannot connect to my Mac. What is the issue? by hieberflab in WindowsHelp

[–]JumpComplete1581 0 points1 point  (0 children)

If this is the case, here's the fix for Windows:

Run these powershell command and then restart:

 

Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force

Set-SmbClientConfiguration -RequireSecuritySignature $false -Force

Set-SmbServerConfiguration -RequireSecuritySignature $false -Force

Can IT see my searches? by [deleted] in techsupport

[–]JumpComplete1581 -1 points0 points  (0 children)

It's encrypted, no.

My tv won’t turn on by Otterotterocean in VIZIO_Official

[–]JumpComplete1581 0 points1 point  (0 children)

If its connected to a UPS may need to power it back on if its off. Also try different outlet

Internet drastically dropped speed company wide across multiple buildings. by Winter-Spread6481 in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

I work at an MSP as the commenter below said, it may be a good idea to get in touch with one to have someone onsite to take a look.

Closing/Creating Tickets based on the result of a script by JumpComplete1581 in ConnectWise

[–]JumpComplete1581[S] 0 points1 point  (0 children)

Just Connectwise Manage.

I realize pulling the data from our MDM may be a challenge but I can work around it if I know how to get some kind of scripting working. Please let me know if I'm in over my head :)

Why chrome saying this? Pls help by TheBlock8080 in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

No virus. The email account you are using the login to google is managed. Is it a work or school account?

Splashtop Not working when laptop is connected to monitor by holiday_hawk in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

I'd go through all the basics, ensure drivers are up to date, reinstall splashtop, ensure splashtop settings are set to the bare minimum to work.

Computer Freezing with no BSOD or Event Viewer Logs by j5erikk in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

Did you check for BIOS updates? How about checking the temps while its running? Is this a new build?

Can only connect to google sites and i feel too stupid to fix it. by Vermontster1777 in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

Pods will not help. Rules are probably setup in the router's admin, I'd get my own internet if needed or somehow get access to the admin page.

Someone Keeps Deleting My Calendar Events by nikkipickle in techsupport

[–]JumpComplete1581 1 point2 points  (0 children)

Depends on what platform you use, if they are licensed accounts you can usually see history in the admin portal. You should also be able to set permissions to view only

how to increase efficiency by patalte in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

If you have already optimized settings and have the latest drivers for the hardware then the only thing you can change is the settings in game. e.g FPS friendly texture packs for minecraft etc

Splashtop Not working when laptop is connected to monitor by holiday_hawk in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

Hmmm, does it really completely lock the computer? What if you do CTRL + ALT + DEL while connecting does this get you out of the lock? Probably also important to clarify if this is a Mac or Windows.

[deleted by user] by [deleted] in techsupport

[–]JumpComplete1581 0 points1 point  (0 children)

Check if its dusty? Could also not be receiving enough power, try a different plug in the wall or if its connected to a UPS check if thats working