# Node monitoring

**URL:** <https://forum.storj.io/t/node-monitoring/7137>\
**Category:** getting started\
**Tags:** monitoring, linux\
**Created:** [May 25, 2020, 5:12pm UTC](https://forum.storj.io/t/node-monitoring/7137 "2020-05-25T17:12:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![binary](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/binary/32/1121_2.png) [@binary](https://forum.storj.io/u/binary)\
**Post date:** [May 25, 2020, 5:12pm UTC](https://forum.storj.io/t/node-monitoring/7137/1 "2020-05-25T17:12:47Z")

</div>

Someone was talking about monitoring for storj node. So I decided to share, what do I personally find interesting / useful to monitor.

First of all, basic stuff - CPU load, memory usage, and disk space:

![image](https://storj-s3.bcdn.literatehosting.net/original/2X/4/447cf2f23757e7fbfd892c1682db3a8268714abe.png)  
 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/b/b6d2152663d96bd1f87db4d7e7ae57e802a6ef22.png)  
 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/e/ed8490467093700c7011ea12b6c74b7ba3bf26f0.png)

Next, FS dedicated for storj delta (change per minute):

![image](https://storj-s3.bcdn.literatehosting.net/original/2X/5/5f6623e7ee7f84ee43b7c11aec4be046df27ee6f.png)

Network traffic, in/out:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/f/f92b3f6fefae670f0bac558372a21f68e2b95207.png)

Count of new lines per minute in node log:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/7/7da09f36fc62e255138a2378721aaff9b2d7f38d.png)

Socket reachable & process running:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/f/ff897497fb40de0578707ece5ff7efc265a30854.png)

Battery:

![image](https://storj-s3.bcdn.literatehosting.net/original/2X/a/a8da8df383ece3ea9d1ed8c7561271fb8e0f4432.png)

For the last 3, I have automated SMS whenever something goes wrong.

Finally, output of earnings.py parsed:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/6/6b09ac3989d51644f488baf7c715f1f79b5aa8a5.png)

And raw data for the same earnings.py:

![image](https://storj-s3.bcdn.literatehosting.net/original/2X/6/6c2bea05b81801304b6ca8843f4b92b1d7eac61b.png)

All set in Zabbix, under one dashboard.

---

<div class="post-metadata">

**Author:** ![pietro](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/pietro/32/6254_2.png) [@pietro](https://forum.storj.io/u/pietro)\
**Post date:** [May 25, 2020, 7:21pm UTC](https://forum.storj.io/t/node-monitoring/7137/2 "2020-05-25T19:21:54Z")

</div>

I’m using the [InfluxData TICK stack](https://www.influxdata.com/time-series-platform/) to monitor my home systems.

 ![Screenshot from 2020-05-25 21-19-03](https://storj-s3.bcdn.literatehosting.net/original/2X/4/4ac95962d4b516074dec0549bbb875b529565917.png)

---

<div class="post-metadata">

**Author:** ![punyelroo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/punyelroo/32/70_2.png) [@punyelroo](https://forum.storj.io/u/punyelroo)\
**Post date:** [May 25, 2020, 10:04pm UTC](https://forum.storj.io/t/node-monitoring/7137/3 "2020-05-25T22:04:17Z")

</div>

Zabbix looks awesome and runs on a Pi I see!

I have MRTG for comparatively crude monitoring so it’s tempting to try this … can I ask, how hard it to setup … ?  
I don’t want to have to dedicate too much time to it …

Thanks for sharing !

---

<div class="post-metadata">

**Author:** ![LinuxNet](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxnet/32/6084_2.png) [@LinuxNet](https://forum.storj.io/u/LinuxNet)\
**Post date:** [May 25, 2020, 11:09pm UTC](https://forum.storj.io/t/node-monitoring/7137/4 "2020-05-25T23:09:05Z")

</div>

> [@punyelroo](#):
>
> I have MRTG for comparatively crude monitoring so it’s tempting to try this … can I ask, how hard it to setup … ?  
> I don’t want to have to dedicate too much time to it …

Installation is quick. For the configuration you should take a few hours to understand and configure Zabbix.  
There is still Netdata which is very easy to install.

---

<div class="post-metadata">

**Author:** ![cdhowie](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cdhowie/32/60_2.png) [@cdhowie](https://forum.storj.io/u/cdhowie)\
**Post date:** [May 26, 2020, 1:25am UTC](https://forum.storj.io/t/node-monitoring/7137/5 "2020-05-26T01:25:08Z")

</div>

I have a similar setup with Zabbix. Metrics are gathered from the SNO API, the log files, and an API proxy I wrote to smooth out differences between versions, add some extra reporting against the database, and add satellite discovery via Zabbix LLD (new satellites are automatically added to Zabbix as soon as they appear in the SNO API). I have a dynamic screen I can use to view a summary of each node.

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/9/9d79aee47616d651423fcc96d6de8787610c5355.png)

I have a trigger for vetting status. This has the benefit of alerting me when a node becomes vetted on a specific satellite, as well as letting me see an overview of vetting status by looking at the problem matrix (but you have to get used to reading it as a negation – blue boxes show node/satellite combinations that are NOT vetted):

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/e/e2c4fb27ed9ce617aa14df24d8715fea94f71fd7.png)

I do not use Watchtower, so I additionally have a trigger to tell me when each node can be updated.

---

<div class="post-metadata">

**Author:** ![cubesmi](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cubesmi/32/1134_2.png) [@cubesmi](https://forum.storj.io/u/cubesmi)\
**Post date:** [June 12, 2020, 11:14am UTC](https://forum.storj.io/t/node-monitoring/7137/6 "2020-06-12T11:14:49Z")

</div>

I really like your setup @cdhowie! Can you share the Zabbix template?

---

<div class="post-metadata">

**Author:** ![Cancelor](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cancelor/32/1131_2.png) [@Cancelor](https://forum.storj.io/u/Cancelor)\
**Post date:** [September 29, 2020, 9:24am UTC](https://forum.storj.io/t/node-monitoring/7137/7 "2020-09-29T09:24:53Z")

</div>

I was just looking at this :-

> [@Telegram bot - Storj Node Monitor](https://forum.storj.io/t/telegram-bot-storj-node-monitor/7258):
>
> Hello everyone, I have developed a Telegram bot to monitor the statistics of my Nodes and receive alerts in case one falls. I currently have one online @storjnodemonitor\_bot ([Telegram: Contact @storjnodemonitor\_bot](https://t.me/storjnodemonitor_bot)) but the idea is for each user to mount their bot on their infrastructure and monitor their nodes. It is in a beta phase and will have a bug, if someone wants to contribute ideas or improve the code, here is the repository: [GitHub - RafaMunoz/bot-StorjNodeMonitor: Telegram bot to c…](https://github.com/RafaMunoz/bot-StorjNodeMonitor)

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 10:01am UTC](https://forum.storj.io/t/node-monitoring/7137/8 "2020-09-29T10:01:43Z")

</div>

> [@binary](#):
>
> Battery

Very nice, thank you!  
Just 2 questions:

- Why monitoring battery? I am wondering if a laptop is really a good hardware for SNO
- Any insights on how to monitor disk health (e.g. SMART systems)? Especially on a Virtual Machine hosted on a homelab?

Thanks!

---

<div class="post-metadata">

**Author:** ![Cancelor](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cancelor/32/1131_2.png) [@Cancelor](https://forum.storj.io/u/Cancelor)\
**Post date:** [September 30, 2020, 3:27pm UTC](https://forum.storj.io/t/node-monitoring/7137/9 "2020-09-30T15:27:21Z")

</div>

In favour:- A storj node is very light weight so it’s not going to be a problem for a laptop.  
Against:- Laptops are not really built with 24/7 operation in mind but as long as it stays relatively cool most seem to manage it.  
WiFi is not recommended but most laptops have an Ethernet port for wired connection.

I think the big plus is the battery, it’s like having a built in UPS.

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 30, 2020, 3:42pm UTC](https://forum.storj.io/t/node-monitoring/7137/10 "2020-09-30T15:42:32Z")

</div>

My point is that a laptop requires more power (than a headless computer) mostly due to its screen. Of course, it’s possible to disable it and to customize it a little bit and it may be a good way to re-use old hardware. In my point of view, it is not the best indicated hardware for Storj use case.

I was thinking that the battery was a drawback because you will need to plug the computer all the time. Didn’t think the battery could be seen as a built-in UPS. You are right, that’s a very good point!

---

<div class="post-metadata">

**Author:** ![Ruskiem](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/ruskiem/32/64_2.png) [@Ruskiem](https://forum.storj.io/u/Ruskiem)\
**Post date:** [December 12, 2020, 8:25pm UTC](https://forum.storj.io/t/node-monitoring/7137/11 "2020-12-12T20:25:44Z")

</div>

Hi, i want the same for “Count of new lines per minute in node log”  
For example. “if line not occures in 20minutes send me a sms”  
You used Zabbix agent or agent 2 instalation?  
Is sms feature build in, cheap?

And if You feel You can share more how to install and configure sms please share.  
im gonna test it on windows 10 pro  
im having problem with zabbix server. Dont know where to instal iit, i have only windowses 10 and 7 computers, and no webserver , u for some ideas for easy server setup somewhow?
