Skip to content
Setup/Check it's reporting

SetupStep 5 of 5

Check it's reporting

Confirm metrics are arriving.

With a key in place and the service restarted, the box should move from waiting to receiving within one collection interval.

On the server

$systemctl status monilogix-agent

A healthy agent reports active (running). A misconfigured one reports failed — it exits rather than running quietly without reporting, so the two states cannot be confused. Either way the journal says why:

$journalctl -u monilogix-agent -n 50 --no-pager

On a working agent the first lines name the version, the server it is reporting to and how much it can buffer:

monilogix-agent 0.10.0 reporting to https://monilogix.jpjapos.com every 15sbuffering up to 2631 samples (about 10h58m0s of outage)server accepted this agent's key

In Boxes

Back in Boxes, the box's status badge switches from Waiting for first metrics to Receiving, and CPU, RAM and storage begin filling in. That is the whole setup — every server you repeat it on joins the same list.

If nothing arrives

  • Wrong key. Compare the value in /etc/monilogix/config.yaml against the box's current key. A key from a box that has since been deleted is refused.
  • Config never reloaded. The file is read at start-up only — restart the service after editing it.
  • Outbound HTTPS blocked. The agent needs to reach the server; it never accepts inbound connections. The journal will show send failed, keeping N samples buffered — nothing is lost while that is happening, and it backfills once the connection works.
  • Clock badly out of sync. The server refuses samples timestamped more than a day ahead of its own clock, and logs a warning when the two disagree by more than a few minutes. Check that NTP is running.