Jump to content
EricS

Auto Restart Capability for Stopped Monitored Services?

Recommended Posts

I've seen some old posts about this and solutions in older versions that have since been removed. However, I don't see the settings or options in this iteration as of today.

We monitor some generic services, ie Apache, and other proprietary services that are critical to our program running. At times they hiccup or run into an issue where they fail to start or stop. At this point we would want Pulseway to not only send a notification but also attempt to restart the service(s).

Any way to accomplish this or any roadmap on getting that feature rolled in?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By Sean Faria
      Hi,
      I am trying to install GCPW (Google Credential Provider for Windows).
      I am running into issue where with it:
      <# This script downloads Google Credential Provider for Windows from https://tools.google.com/dlpage/gcpw/, then installs and configures it. Windows administrator access is required to use the script. #> <# Set the following key to the domains you want to allow users to sign in from. For example: $domainsAllowedToLogin = "acme1.com,acme2.com" #> $domainsAllowedToLogin = "" Add-Type -AssemblyName System.Drawing Add-Type -AssemblyName PresentationFramework <# Check if one or more domains are set #> if ($domainsAllowedToLogin.Equals('')) { $msgResult = [System.Windows.MessageBox]::Show('The list of domains cannot be empty! Please edit this script.', 'GCPW', 'OK', 'Error') exit 5 } function Is-Admin() { $admin = [bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match 'S-1-5-32-544') return $admin } <# Check if the current user is an admin and exit if they aren't. #> if (-not (Is-Admin)) { $result = [System.Windows.MessageBox]::Show('Please run as administrator!', 'GCPW', 'OK', 'Error') exit 5 } <# Choose the GCPW file to download. 32-bit and 64-bit versions have different names #> $gcpwFileName = 'gcpwstandaloneenterprise.msi' if ([Environment]::Is64BitOperatingSystem) { $gcpwFileName = 'gcpwstandaloneenterprise64.msi' } <# Download the GCPW installer. #> $gcpwUrlPrefix = 'https://dl.google.com/credentialprovider/' $gcpwUri = $gcpwUrlPrefix + $gcpwFileName Write-Host 'Downloading GCPW from' $gcpwUri Invoke-WebRequest -Uri $gcpwUri -OutFile $gcpwFileName <# Run the GCPW installer and wait for the installation to finish #> $arguments = "/i "$gcpwFileName"" $installProcess = (Start-Process msiexec.exe -ArgumentList $arguments -PassThru -Wait) <# Check if installation was successful #> if ($installProcess.ExitCode -ne 0) { $result = [System.Windows.MessageBox]::Show('Installation failed!', 'GCPW', 'OK', 'Error') exit $installProcess.ExitCode } else { $result = [System.Windows.MessageBox]::Show('Installation completed successfully!', 'GCPW', 'OK', 'Info') } <# Set the required registry key with the allowed domains #> $registryPath = 'HKEY_LOCAL_MACHINE\Software\Google\GCPW' $name = 'domains_allowed_to_login' [microsoft.win32.registry]::SetValue($registryPath, $name, $domainsAllowedToLogin) $domains = Get-ItemPropertyValue HKLM:\Software\Google\GCPW -Name $name if ($domains -eq $domainsAllowedToLogin) { $msgResult = [System.Windows.MessageBox]::Show('Configuration completed successfully!', 'GCPW', 'OK', 'Info') } else { $msgResult = [System.Windows.MessageBox]::Show('Could not write to registry. Configuration was not completed.', 'GCPW', 'OK', 'Error') }
       
      I have tried the following:
      1. Run from batch file -- error "run as admin" but admin parameter was added
      2. Run from PowerShell --  error "leaves the script running forever"
      3. Pushed file to user and ran it (1) PowerShell -- error "needs run as admin" but admin parameter was added (2) batch -- error "script non-responsive"
    • By kappnet
      Hi,
      I am looking for a script that can trigger a 3rd party patch policy ad-hoc outside the policy schedule.
      It´s going to be used to start the installation process of software on newly registered machines in a "Computer registered" workflow.
      If there is anyone with another take on that I´m all ears.

      Best regards

      Mike

       
       
    • By TechSolutionLLC
      Hello,
      I would like to see the ability to run dual screens viewable at the same time on the remote control. That way customers who need to run dual screens and have to work from home arent stuck playing swap between screens. I think either opening a second connection to the computer with one of the separate screen would be fine, but maybe there is a better way like how Remote Desktop works or Google Chrome Remote Desktop works. 
    • By Martin Stevnhoved
      Hi.
      If it is possible I would like to exclude full automation scripts from the diagnostics log "trace.log".
      In normal situations it is fine with just an indication of the execution with the script name.
      I guess you could add one more checkbox like "Include full Automation Scripts" in settings, and let it be disabled as default.

      Best Regards,
      Martin.
    • By CurryTheDemon
      Hello there, I just got Pulseway today as of 5/1/20 and am intending to use it to mainly be able to remote control access my PC from my phone when away from the house. I am installed all the appropriate applications needed and went through the Pulseway Remote Access application along with Pulseway Manager application and have enabled Remote Access. But for some reason I still can not access it from my phone. Perhaps I am missing a step? It would be amazing if someone would be able to help me troubleshoot this situation. Thank you for your time.
×
×
  • Create New...