Not receiving notifications from (not LAPI) machine
As the titel says... I have not been receiving notifications as of recently when an alert originated from my host 'tower'... Distributed setup, mix of containers and native installs, LAPI is a container. Instance not sending notifications is also a container...
I don't see any relevant erros in the docker logs. However I have a feeling some parsing is failing and thus not sending anything?
I have 2 notifications formats, discord & pushover:
10 Replies
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command
/resolve
or press the green resolve button below.Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
Ā© Created By WhyAydan for CrowdSec ā¤ļø
Hello,
Notifications are sent by LAPI: they are handled by the profiles, which are only evaluated by LAPI when it receives an alert from a log processor
Yeah, I only have the notification profiles created on the LAPI.
Can you share your profiles config ?
Does the other machine appear in
cscli machines list
? (run this on LAPI)
Do you see any alerts from the machine in cscli alerts list
? (you can use the -m
flag to show the name of the machine that generated the alert)
It does show up in the alerts:
&On the LAPI:

strange, your configuration looks ok
can you try
cscli notifications reinject <alert_id>
and see if it sent properly ?
That did actually send the message btw
so it's working
do you see any errors in LAPI logs at around the time of the last alert for this machine ?
I'm thinking network error or something like that,
cscli notification reinject
is using the same code as LAPI does at runtime to send notificationsNo errors afaik... Only those mentioned in #Failed to bind to json but I don't think these are related?