Server Monitoring

Introduction

VitoDeploy enables you to monitor your servers' resource usages like CPU Load, Memory, and Disk usage.

Vito offers 2 ways of monitoring servers, which differ in how the metrics are collected:

  • Remote Monitor - your Vito instance polls each server over SSH every minute.
  • VitoAgent - an agent on each server pushes metrics to your Vito instance.

If Vito is managing more than around 8-10 servers, or runs on a lower-specification node, we recommend using VitoAgent rather than Remote Monitor. Because Remote Monitor opens an SSH connection to every server every minute, the cost grows with each server you add and is borne entirely by the Vito instance. VitoAgent pushes metrics from each server instead, spreading the work out and keeping your Vito instance responsive at scale.

Remote Monitor

If you chose to use the Remote Monitor, Vito will poll your servers over SSH every minute to extract their resource usages.

To install Remote Monitor you just need to go to the Services and hit the Install button on the Remote Monitor service under the Supported Services section.

After the installation was successful, You can navigate to the Metrics page and view the statistics.

Keep in mind that it will take a couple of minutes to collect enough data to visualize them.

Remote Monitor is simple to set up and works well for a handful of servers. As your fleet grows, switch to VitoAgent for better scalability.

Vito Agent

To enable Vito to monitor your servers you need to install the VitoAgent service first on your server.

VitoAgent is a program written in Golang that collects the resource usages and sends them to your Vito instance.

Since VitoAgent sends these information through internet, It won't be possible to use monitoring if you are using Vito on your local computer!

To install VitoAgent simply navigate to the Services and click on the Install button for VitoAgent service.

You can uninstall VitoAgent anytime through the Services page.

Monitoring

After you installed VitoAgent, The Metrics item will be visible on the sidebar and you can navigate there and wait for the data coming from your server.

VitoAgent sends information to Vito instance once per minute.

Data Retention

In the Metrics page you can modify the data retention time (in days) so Vito will delete older data to keep your Vito's database faster. The default is 7 days. Vito prunes metrics older than the retention window automatically once a day.