Page 1 of 1

Monitor a remote pi

Posted: Tuesday 30 May 2017 23:31
by Albsucher
Hello,

i already tried to search for nest solution, but maybe not get the best search words, so maybe someone can redirct me.

Here is my question:
i am runnng a RasPi3 at my home and another one on a remote site which i use for backing up my NAS.
I now would like to monitor the disk, temp, etc. (as the default domoticz sensors) of the remote pi.

The results should be shown on my raspi at home.

Ho do i do this at best?
I found one solution using virtual sensors and scripts using ssh
I would like to minimize the number of ports open on the remote pi (more on the remote router)
Remote pi/router uses dynamic dns so no fixed ip address is available.

What would you suggest is the preferred way of doing this?

Thanks very much in advance!
Regards,
Ralf

Re: Monitor a remote pi

Posted: Wednesday 31 May 2017 0:23
by blacksn0w
Since this are quite un-private information, ive a quick solution in mind. Register a database for free at one of the many services, https://www.freemysqlhosting.net for example.
Update the table via script from the remote pi and then poll this data periodically via Domoticz and update your virtual switches.
You do not have to open any port and just have to write two scripts and set up two cronjobs.

There might be better solutions, but this is the one that came to my mind.