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.

Featured Replies

Posted

Hi,

I have installed pulseway on server with centos 6.6. I have configured the file config.xml and the system notify me when his UP or DOWN. 

But i need to configure the notification when a service shutdown. I try with this code    

<Service Name="orkaudio" DisplayName="orkaudio VCR" IsDaemon="true" DaemonType="UPSTART" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />

or

<Service Name="orkaudio" DisplayName="orkaudio VCR" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />

without success.

 

On the console i start and stop the service with:

service orkaudio start 

service orkaudio stop
 
Witch is the correct configuration for monitor this service??
 
Best regard
 
Alessandro
  • Staff

Hi Alessandro,

Welcome to the Pulseway community. To enable service notifications you will need to modify this XML element from the "Notifications" XML element:

    <!--Send a notification when a service has stopped for a number of minutes (between 1 and 120)-->
    <ServiceStopped Priority="1" Minutes="1" Enabled="false"/>

Chris

  • Author

Hi Chris,

the notification for the ServiceStopped was already enabled.

I think that the system can't read the real state of the service.

I attach the monitor of the service on my phone. Pulseway view orkaudio VCR but in a STOP state, but actually it's up and run.

 

I suppose there is something wrong in my code posted in the first message.

 

Alessandro

IMG_3396.jpg

I'm having a similar issue with Pulseway on Ubuntu 15.04 and my Raspberry Pi. No matter what I put into the service monitor lines, they always show as stopped in the monitoring client. For example, I'm trying to watch the MySQL service:

<Service Name="mysql.service" DisplayName="MySQL" IsDaemon="true" DaemonType="SYSTEMD" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />

On my RasPi, I'm trying to watch a regular SysVInit service:

<Service Name="pidp8" DisplayName="PiDP-8" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />

Neither of these works. What is the proper syntax to use on these lines? Also, sometimes after changing these lines the Pulseway service will crash and I have to set 'Enabled="false"' before it will start again.

 

Edited by windracer

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.