Jump to content
PTRFRLL

Tutorial: Installing Pulseway for remote monitoring

19 posts in this topic Last Reply

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. Pulseway needs to be run to verify your config file works and to generate an id file. The Pulseway service looks for version 0.9.8 of libssl and libcrypto, unRAID includes version 1.0.0 so we need to create symlinks to the 1.0.0 files to trick Pulseway into using those:

ln -s /lib64/libssl.so.1.0.0 /usr/lib64/libssl.so.0.9.8
ln -s /lib64/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.0.9.8

8. Start Pulseway service:

/etc/rc.d/rc.pulseway start

9. 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

10. Copy your config file to /boot/pulseway

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


11. 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
ln -s /lib64/libssl.so.1.0.0 /usr/lib64/libssl.so.0.9.8
ln -s /lib64/libcrypto.so.1.0.0 /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

12. 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, creating symlinks to libraries it needs, copying the config and id files to their respective locations and then starting the service.

 

EDIT (9/26/2018): As of version 6.6, you also need to create a symlink for libidn like so:

 

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

 

Edited by PTRFRLL
Added info for new Unraid version

Share this post


Link to post

Just wanted to say thank you for this! I used to use this on UnRaid when it was called Mobile PC Monitor but then it stopped working.

 

Its great to have it working again. Have setup all the port monitors and everything for my setup.

 

Thanks again :D

Share this post


Link to post

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

Share this post


Link to post
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. 

Share this post


Link to post

Hey, thanks a bunch for this, it's really useful (your tutorial and Pulseway). Got it working with 6.6.1. Going to play around with adding other services, seeing if I can monitor docker containers, etc. but the basics work fine.

Share this post


Link to post

Hi, thanks for the tutorial.

I had a question about the shutdown and restart features in pulseway... are these performed in a safe way like in the unraid UI? or are should we not use them.

 

Regards,

Bilal Yassine

Share this post


Link to post

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*

 

Share this post


Link to post

This is wonderful!!

 

I love pulseway. Now, for some reason I stopped getting the notifications if the server is down or not. Any way for me to troubleshoot that?

Share this post


Link to post

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?

 

Share this post


Link to post
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. 

 

Share this post


Link to post

I believe I have updated the symlinks to the new versions.

 

When I run:

/etc/rc.d/rc.pulseway start

I get the same error:

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

 

Share this post


Link to post

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?

Share this post


Link to post

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

 

Share this post


Link to post

Awesome post! Can't wait to swap from Controlr which is buggy as heck, to this!

 

Would just like to know if 6.7.0-rc3 is supported.

Edited by plantsandbinary

Share this post


Link to post
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!

 

Share this post


Link to post

Bumping this to see if we can get an update for UnRaid 6.7

 

In the meantime, are there any alternatives?

Share this post


Link to post

For those still having issues, download the latest version of Pulseway for Slackware. As of Pulseway 6.1, they added support for newer libssl, which seems to have fixed issues. May have to update your symlinks, as well.

Share this post


Link to post

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.