Netdata Community

Alarm notifications not working(should be easy to fix)

Dear,

I’m trying to get an email automatic when my configured alarms go off. The alarms look good to me but when I’m running

sudo su -s /bin/bash netdata

/usr/libexec/netdata/plugins.d/alarm-notify.sh test [ROLE]

I get as output:


Can someone help me out?

Gino

Hey,

So the issue appears that you are testing the alarm-notify script, but you haven’t setup the alerts

For email specifically:

I’ve already visited those sites but I still cannot figure it out :unamused:

Dear,

Maybe it is good to say that I’m using custom alerts.
I don’t know if the alert to mail work different with custom alerts?

image

image

1 Like

Netadta by default will execute the alarm-notify.sh script every time an alert is triggered.

If you haven’t configured that script, no notifications will be sent.

For email, you should follow the following guide. Can you please respond with the output of the test, as it is defined in the following link?

I’ve already send you the output in the first question

Thanks for your replies @OdysLam,

I finaly fixed the problem.
Had to reclaim the node and it worked just fine.

Kind regards,

Gino