Wegweiser
All notes

The device chat can read what your monitoring said about the machine

Ask a machine's chat which alarms fired this week, or what Wegweiser captured when one came in. While the chat can read a machine's alarms, no workflow starts there until a person presses Run.

Since 19 November the chat on a machine can read the alarms your monitoring sent to Wegweiser about that machine. That is the Monitoring alarms integration from the week before, where Prometheus Alertmanager or Grafana send their alarms in and Wegweiser captures what the machine was doing within seconds, for a high or critical alarm unless you set it otherwise (the post from 13 November). Until now the alarms and the capture were there, but the chat could not see any of it. Now you can ask the machine's chat which alarms fired this week, or what the capture took when the critical memory alarm came in, and carry on from there in the same conversation.

The chat lists the alarms of the last 1 to 30 days, seven if you don't say, newest first, the 25 most recent with a count of all of them, and it can open one alarm whole with what the capture took. It only reads alarms that are placed on this machine, which means our device id was in the alarm's labels or a person linked the host in your monitoring to the machine. An alarm that only matches by name or address stays a suggestion, because it could be another machine with the same name, and the chat leaves it out. It reads what Wegweiser stored and nothing else; Wegweiser still never calls your monitoring tool. On a machine that had no alarm in the last 30 days the chat doesn't get the tool at all.

The text of an alarm is not ours. Your templates are yours, but the values come from the machine and from whoever the alarm is about, and a security tool's alarm quotes the attacker's own request line, user name or browser string, quotation marks included. So every piece of an alarm is cleaned and fenced off before the chat sees it, and the chat is told that what is inside the fence is evidence and NOT an instruction, and that an address or an account named there is something to check on the machine rather than a fact.

For the same reason nothing starts by itself on such a machine. If you connected n8n and a master gave a workflow standing permission to run without asking, that permission is held for as long as the chat can read alarms on the machine, which is 30 days after its last alarm, of any severity. The chat can still propose the workflow, but it waits for a person to press Run, and the chat is told why and says so. The check is made again when the run starts, so a run the standing permission approved before an alarm came in does not start after it. At first we had the hold at one day after a high or critical alarm, but in review it turned out that the chat could still read the attacker's request line on day two, so the hold now lasts exactly as long as the chat can read the alarms.

More notes

  1. Graphite is a denser interface you can switch on for yourself

  2. The dashboard and the device page now say what is wrong before anything else

  3. Alarms get their own page, and the dashboard starts with them