Post
Topic
Board Announcements (Altcoins)
Re: [ANN][DASH] Dash | First Anonymous Coin | Inventor of X11, DGW, Darksend and InstantX
by
oblox
on 20/01/2016, 01:03:31 UTC
Can you remote start masternodes?  I'm having to occasionally do this and its annoying as I keep the priv keys on a offline cold wallet.

If your MN was offline more than an hour you have to start it from your local.
You can use crontab to check if deamon is running.

Copy code below and paste into mn_watch.sh file.
Type nano mn_watch.sh, paste with right click, and control x, y, enter to save. Change dashuser to your user name.

Code:
#!/bin/bash
#run with:  screen -dm /mn_watch.sh
#stop with:  screen -ls to find number and screen -X -S 11111 kill
while true; do
if [ -z `pidof dashd` ]; then
echo Dashd is not running trying to start
/home/dashuser/dashd
sleep 600
else
echo Dashd is Running
sleep 600
fi
done

type:
chmod +x mn_watch.sh

apt-get install screen

type:
screen -dm /mn_watch.sh


I'm not sure if dashman is doing that, great tool. Thanks moocowmoo btw

https://dashtalk.org/threads/dashman-linux-masternode-mangement-made-mootastic.6376/

eek.  So nothing for windows machine?  I'm using Splawik service to manage my mn's.   It would be kind of cool is someone had a tool made that alerted me when one of my MN's went down.  is there such a thing?

Use uptimerobot.com to your node address and listen on port 9999. You'll get an email when it goes down and comes back up.