Tutorial: Installing Pulseway for remote monitoring


Recommended Posts

Pulseway is a great tool that allows you to remotely monitor servers from iOS, Android, and the web. I mainly use it on iOS for the notifications about loss of network, high CPU usage or my server being shutdown. It was one of the few things I missed when I switched my server to unRAID. Luckily, I figured out how to get it installed and working. 

 

Here's the steps I took:

 

1. Download the Pulseway Agent for Slackware from Pulseway's website

 

2. Copy the pulseway_x64.txz to /boot/extra (this is also the flash smb share so flash/extra)

 

3. Create a new folder,pulseway, in the /boot directory

 

4. Reboot unRAID

 

5. SSH into server and copy config.xml.sample to config.xml: 

cp /etc/pulseway/config.xml.sample /etc/pulseway/config.xml

 

6. Edit the config.xml file you just copied, you'll need to add your Pulseway username/password and setup any notifications you want to receive (change the Enabled flag from False to True). I enabled Network interface monitoring (change interface name to br0) as well as WhenOffline, HighCpuUsage and MemoryLow notifications.

 

7. Start Pulseway service:

/etc/rc.d/rc.pulseway start

 

8. Copy the id file generated by Pulseway to the /boot/pulseway directory (if you don't do this, the server will show up as a new machine in Pulseway every time unRAID boots):

cp /var/pulseway/pulseway.id /boot/pulseway/pulseway.id

 

9. Copy your config file to /boot/pulseway

cp /etc/pulseway/config.xml /boot/pulseway/config.xml


10. Add the following lines to /boot/config/go   

cp /boot/pulseway/config.xml /etc/pulseway/config.xml
cp /boot/pulseway/pulseway.id /var/pulseway/pulseway.id

/etc/rc.d/rc.pulseway start

 

11. Reboot unRAID and make sure everything works!

 

Explanation:
unRAID's OS is stored in RAM so any changes you make do not persist after a reboot/shutdown. That's why we need to move everything to the /boot drive (the flash drive unRAID boots from). On startup, we're installing Pulseway, copying the config and id files to their respective locations and then starting the service.

 

Troubleshooting:

If the Pulseway service fails to start, you can look in the syslog for clues as to why:

cat /var/log/syslog | grep pulseway

 

Typically, the problem is a misconfigured config.xml file

 

Changelog

  • 1/19/2021: Removed unneeded symlink commands

 

Edited by PTRFRLL
Update steps, clean up formatting
  • Like 11
  • Thanks 2
  • Upvote 1
Link to comment
  • 3 weeks later...
  • 5 months later...

Hi, I started using pulseway on my daily PC and thought I would try and set it up on unraid.

I do however have a question or two if anyone could help.

Following the instruction it says "Copy the pulseway_x64.txz to /boot/extra (this is also the flash smb share so flash/extra)"

As seen by the attached image of my FLASH I dont have an extra folder. I assume I will need to create a "extra" folder?

 

2018-10-01 (2).png

Link to comment
13 hours ago, JWMutant said:

Hi, I started using pulseway on my daily PC and thought I would try and set it up on unraid.

I do however have a question or two if anyone could help.

Following the instruction it says "Copy the pulseway_x64.txz to /boot/extra (this is also the flash smb share so flash/extra)"

As seen by the attached image of my FLASH I dont have an extra folder. I assume I will need to create a "extra" folder?

 

2018-10-01 (2).png

According to this page: https://wiki.unraid.net/Files_on_v6_boot_drive, the extras folder is optional

 

It looks like you'll just need to create the extras folder. 

Link to comment
  • 3 weeks later...
  • 2 weeks later...
  • 2 months later...

I had to also create a symlink for libidn using the following command then Pulseway was able to start successfully.

 

ln -s /usr/lib64/libidn.so.12.6.0 /usr/lib64/libidn.so.11

 

Also anyone Copying the commands in this thread, be careful, for some odd reason, it is adding the UTF BOM character around version numbers so copying the line from step 7 creates a file like this:

 

lrwxrwxrwx 1 root root 22 Jan  2 11:42 libssl.so.0.9.8 -> /lib64/libssl.so.1.0.0*

 

  • Upvote 1
Link to comment
  • 3 weeks later...

I've upgraded to OS 6.7.0-rc1 and Pusleway has now stopped working. 

 

This is the error I get:

Starting Pulseway Daemon ... /usr/sbin/pulsewayd: symbol lookup error: /usr/sbin/pulsewayd: undefined symbol: CRYPTO_num_locks
Error!

 

This is my config to get this far:

cp /boot/pulseway/config.xml /etc/pulseway/config.xml
cp /boot/pulseway/pulseway.id /var/pulseway/pulseway.id
ln -s /lib64/libssl.so.1.1 /usr/lib64/libssl.so.0.9.8
ln -s /lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.0.9.8

# As of version 6.6, you also need one for libidn
ln -s /usr/lib64/libidn.so.12 /usr/lib64/libidn.so.11

/etc/rc.d/rc.pulseway start

 

Any ideas on what I need to do next?

 

Link to comment
50 minutes ago, scouserontour said:

I've upgraded to OS 6.7.0-rc1 and Pusleway has now stopped working. 

 

This is the error I get:


Starting Pulseway Daemon ... /usr/sbin/pulsewayd: symbol lookup error: /usr/sbin/pulsewayd: undefined symbol: CRYPTO_num_locks
Error!

 

This is my config to get this far:


cp /boot/pulseway/config.xml /etc/pulseway/config.xml
cp /boot/pulseway/pulseway.id /var/pulseway/pulseway.id
ln -s /lib64/libssl.so.1.1 /usr/lib64/libssl.so.0.9.8
ln -s /lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.0.9.8

# As of version 6.6, you also need one for libidn
ln -s /usr/lib64/libidn.so.12 /usr/lib64/libidn.so.11

/etc/rc.d/rc.pulseway start

 

Any ideas on what I need to do next?

 

 

I haven't upgraded myself but if you try to manually start the service using:

/etc/rc.d/rc.pulseway start

it should point you in the direction of what is causing the error. Based on the release notes, it looks like they upgraded the one of the underlying libraries again. Most likely you'd have to update the symlink command to point to the new version. 

 

Link to comment

I followed all the steps up until step up. I keep getting this error: 

 

/etc/rc.d/rc.pulseway start
Starting Pulseway Daemon ... Error!

I don't exactly know what I did wrong, but I even tried with a fresh config file, to make sure it wasn't one of the settings I changed. I just put in my username and password. Is there a spot where I can dig deeper for the logs?

Link to comment
  • 3 weeks later...

Hi

Many thanks for your hard work, a most excellent posting.

I get as far as step 8 [/etc/rc.d/rc.pulseway start]  This produces error for me something is missing,

 

Error -:- /etc/pulseway# /etc/rc.d/rc.pulseway start
Starting Pulseway Daemon ... /usr/sbin/pulsewayd: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Error!

 

I guess that the libssl.so.0.9.8 is missing?

 

Iam running Version: 6.7.0-rc3 of unraid.

 

Any chance of upgrading your guide pls, as I would like to get pulseway working on Unraid 6.7.0-rc3 and future versions.

 

Can pulseway be installed as a plugin/docker/app!?

 

Many thanks

--

oOSGearOo

 

  • Upvote 2
Link to comment
  • 3 months later...
On 2/14/2019 at 8:18 PM, oOSGearOo said:

Hi

Many thanks for your hard work, a most excellent posting.

I get as far as step 8 [/etc/rc.d/rc.pulseway start]  This produces error for me something is missing,

 

Error -:- /etc/pulseway# /etc/rc.d/rc.pulseway start
Starting Pulseway Daemon ... /usr/sbin/pulsewayd: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Error!

 

I guess that the libssl.so.0.9.8 is missing?

 

Iam running Version: 6.7.0-rc3 of unraid.

 

Any chance of upgrading your guide pls, as I would like to get pulseway working on Unraid 6.7.0-rc3 and future versions.

 

Can pulseway be installed as a plugin/docker/app!?

 

Many thanks

--

oOSGearOo

 

Just updated from 6.6.6 which had pulseway running perfectly, to 6.7 and am getting the same error, when trying to re hardlink the files (following the guides) i get this: ln -s /usr/lib64/libidn.so.12 /usr/lib64/libidn.so.11
ln: failed to create symbolic link '/usr/lib64/libidn.so.11': File exists

then i get the same error as quoted above (no file or directory). im sure its something simple but unless there is a step by step on what to edit/patch/run, ive no idea..

 

Any updates would be greatly appreciated!

 

Link to comment
  • 1 month later...
  • 4 months later...
On 3/20/2017 at 10:31 AM, PTRFRLL said:

cp /boot/pulseway/config.xml /etc/pulseway/config.xml cp /boot/pulseway/pulseway.id /var/pulseway/pulseway.id /etc/rc.d/rc.pulseway start

thank you for the update for 6.8 !!!!

I was just following a video tutorial here on youtube and i am running 6.8.1 and wondering why after all was setup Pulseway saw the server and i rebooted to test that pulseway never saw it come back up and when i saw the daemon wasn't running and I couldnt start it was getting an error i then found the config.xml was gone so i redid them and made some manual backups to the array as well for safe keeping

Link to comment
On 1/14/2020 at 3:12 AM, SavageAUS said:

What would be the procedure to uninstall this?

Just remove the copy and execute commands commands from your go file

 

then Run

/etc/rc.d/RV.pulseway stop


to remove the config and files in command line run these:  

rm -rf /etc/pulseway

rm -rf /var/pulseway

rm -rf /boot/pulseway

rm /boot/extra/pulseway.tgzp

 

then reboot the server 

 

 

Edited by Can0nfan
  • Like 1
Link to comment
  • 3 weeks later...

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.   Restore formatting

  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.