Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I have some questions about functionality on Linux. If these things can be done, and I missed something, please share.  If these things aren't possible, then they should be considered as feature requests.

  • Scheduled Maintenance: Linux servers have scheduled maintenance as well.  We need a way set a maintenance window on Linux servers.  I considered writing a script to modify the maintenance settings in config.xml, and schedule it in crontab for the beginning and end of maintenance window.  However, if the server were to not come back during the maintenance window, then a notification will not be sent, so this is a flaw.
  • Rules: It would be helpful to be able to write/assign scripts (possibly from the Pulseway script library, or just local on the machine) to run when certain events happen.
  • File Content Monitors: It would be very helpful to be able to create a plugin for Pulseway that monitors the contents of one or more specific files, then they could be displayed in the Pulseway app, along with it's values.  For example, we could script the power values from a UPS, and then display the voltage, battery remaining, status, etc.
  • Remote configuration:   We should be able to set the configuration options from the GUI on a Windows machine, at least for the functionality that's supported on Linux.

Featured Replies

  • Staff

Hi,

Thank you for your suggestions, we will consider the possibility to introduce these options into the future release.

  • 2 years later...
On 8/27/2018 at 6:00 PM, Chris said:

Thank you for your suggestions, we will consider the possibility to introduce these options into the future release.

Hi Chris,

Any update on introducing these options?

  • 4 months later...

I would also like to know if there is any update to this!

 

Thanks

Elliott Saille

  • 4 years later...

For anyone trying to do this, I can't find a way around the problem from the original post either.

I did create a script to enable/disable maintenance mode, and I can attach it to scheduled tasks, but if the system is down after the maintenance window the task to disable maintenance mode just gets 'skipped' and I don't get an email because getting skipped isn't a failure.

Another attempt was the conditional in Workflows for "'System is Online' is equal to 'No'", but that just does nothing if it's true, so I can't trigger an email for offline systems using it.

I'm left to rely on other monitoring systems to inform me if a computer is offline after a maintenance window.

Here's the script if anyone wants it.

#!/bin/bash
# Define the file path
FILE="/etc/pulseway/config.xml"
# 1. Use sed to replace the specific MaintenanceMode line
# -i: edit the file in-place
# s: substitute command
sudo sed -i 's/<MaintenanceMode Enabled="false"\/>/<MaintenanceMode Enabled="true"\/>/g' "$FILE"
# 2. Restart the Pulseway service to apply changes
echo "Maintenance mode set. Restarting Pulseway in 10 seconds..."
sudo systemd-run --on-active=10s bash -c "systemctl restart pulseway"
echo "Pulseway maintenance mode enabled and service restart scheduled."
exit 0

  • Administrators

Hey @Joe Patrick Wertz - Thanks for reaching out. The maintenance mode can only be applied when the device is online and when it needs to be disabled once it's back online. You can use the Workflow adhoc/scheduled that gets queued if the device is offline.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.