Netdata Community

Sending Test Warning Alarm To Role Error.

while testing alarm-notify.sh i am getting fatal error.

I am running this for testing /usr/libexec/netdata/plugins.d/alarm-notify.sh test.

Output:

SENDING TEST WARNING ALARM TO ROLE: sysadmin

2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Loading config file ‘/usr/lib/netdata/conf.d/health_alarm_notify.conf’…
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Loading config file ‘/etc/netdata/health_alarm_notify.conf’…
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Cannot find sendmail command in the system path. Disabling email notifications.
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Cannot find aws command in the system path. Disabling Amazon SNS notifications.
2021-12-10 11:00:00: alarm-notify.sh: FATAL: All notification methods are disabled. Not sending notification for host ‘pg3’, chart ‘test.chart’ to ‘sysadmin’ for ‘test_alarm’ = ‘100’ for status ‘WARNING’.

FAILED

SENDING TEST CRITICAL ALARM TO ROLE: sysadmin

2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Loading config file ‘/usr/lib/netdata/conf.d/health_alarm_notify.conf’…
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Loading config file ‘/etc/netdata/health_alarm_notify.conf’…
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Cannot find sendmail command in the system path. Disabling email notifications.
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Cannot find aws command in the system path. Disabling Amazon SNS notifications.
2021-12-10 11:00:00: alarm-notify.sh: FATAL: All notification methods are disabled. Not sending notification for host ‘pg3’, chart ‘test.chart’ to ‘sysadmin’ for ‘test_alarm’ = ‘100’ for status ‘CRITICAL’.

FAILED

SENDING TEST CLEAR ALARM TO ROLE: sysadmin

2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Loading config file ‘/usr/lib/netdata/conf.d/health_alarm_notify.conf’…
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Loading config file ‘/etc/netdata/health_alarm_notify.conf’…
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Cannot find sendmail command in the system path. Disabling email notifications.
2021-12-10 11:00:00: alarm-notify.sh: DEBUG: Cannot find aws command in the system path. Disabling Amazon SNS notifications.
2021-12-10 11:00:00: alarm-notify.sh: FATAL: All notification methods are disabled. Not sending notification for host ‘pg3’, chart ‘test.chart’ to ‘sysadmin’ for ‘test_alarm’ = ‘100’ for status ‘CLEAR’.

FAILED

What might be the problem for getting this error?