Netdata Community

Netdata Agent vs Cloud alarm notifications

Both the Netdata Agent and Netdata Cloud have an alarm notification functionality.

Simply put, if an alarm is triggered, then both systems can let you know. The difference is that in the case of the Agent, every node handle’s its own alarms (or that of his children), while the Cloud manages alarms for an entire war-room (a collection of claimed Netdata Agents).

You can have either system configured to send alarms. You can configure both the Agent and Cloud to send notifications alarms.

                       ┌───▶ Cloud notifications (emails) dispatching
database ──── health ──┤
                       └───▶ Agent notifications dispatching

If you disable email alarms on the Agent, no email alarms will be sent from Cloud. To disable alarms on the agent, you can visit a

Currently, the Cloud supports only email notifications, although we are actively working to expand the options.

1 Like

IT guys in my company worry about a lot of emails sent from netdata user to root. Managing emails from cloud seems not always work (probably it depends on room creation time - before or after node setup, I am not sure).

I’ve written a script to disable emails for all metrics (make it executable chmod +x then run from root sudo sh <script>).

Create a backup:

sudo zip -qr9 health.d.zip /usr/lib/netdata/conf.d/health.d/
#!/bin/bash

echo -e "\nProcessing files /usr/lib/netdata/conf.d/health.d/*.conf..."

for f in /usr/lib/netdata/conf.d/health.d/*.conf; do
    # do some stuff here with "$f"
        # remember to quote it or spaces may misbehave
            echo "$f"
                sed -i "s/to\:\ dba/to\:\ silent/g" "$f"
                sed -i "s/to\:\ webmaster/to\:\ silent/g" "$f"
                sed -i "s/to\:\ sitemgr/to\:\ silent/g" "$f"
                sed -i "s/to\:\ domainadmin/to\:\ silent/g" "$f"
                sed -i "s/to\:\ proxyadmin/to\:\ silent/g" "$f"
                sed -i "s/to\:\ sysadmin/to\:\ silent/g" "$f"

            done

echo -e "\nDone."

Use backup to restore default settings.