Jump to content

User Guide

The serivce is started automatically after installation and after system reboot. You can manage it manually with systemctl.

systemctl start stackbeat
systemctl stop stackbeat
systemctl restart stackbeat

The main service has a thread for self monitoring. It will collect and report its own stats into memory and report the hostname as main.

If you do not want main monitored, you can disable Main Self Monitoring in the configuration.

All config settings are available in /opt/stackbeat/config.ini

The main service runs on Port 9999 by default and is adjustable.

Commands

StackBeat has various commands available. Run commands as follows:

stackbeat COMMAND_HERE
  • buildmonitor - Build the latest monitor.zip package for deployment.
  • log - A shortcut for tail -f /var/log/stackbeat.log.
  • reinstall - Reinstall StackBeat as a main service with default settings.
  • togglemode - Toggle the automatic service mode between main or monitor.
  • help - Show the help menu.
  • main - Start in main service mode when not using systemd.
  • monitor - Start in monitor service mode when not using systemd.

Logging In

The interface is accessible at the following URL:

http://SERVER_IP_OR_HOSTNAME:YOUR_PORT

For example:

http://12.34.56.78:9999

Authentication

The current release does not support authentication. The interface is open to the public.

Use a firewall to restrict access to port 9999 to provie some protection for your interface.

×
×
  • Create New...