Netdata Alerts Configuration

Status
Not open for further replies.

united

Dabbler
Joined
Feb 19, 2017
Messages
34
Using: FreeNAS 11 stable train

root@pandora:/etc/local # cd netdata

cp health_alarm_notify.conf.sample health_alarm_notify.conf then follow instruction from inside this file, in my case added slack webhook - I curled the webhook successfully
Also see this: https://github.com/firehol/netdata/blob/master/conf.d/health_alarm_notify.conf

sudo service netdata restart

root@pandora:/etc/local/netdata # find / -type f -name "alarm-notify.sh"
/usr/local/libexec/netdata/plugins.d/alarm-notify.sh


root@pandora:/etc/local/netdata # /usr/local/libexec/netdata/plugins.d/alarm-notify.sh test
# SENDING TEST WARNING ALARM TO ROLE: sysadmin
2018-03-12 14:23:40: alarm-notify.sh: ERROR: Cannot find file /usr/local/libexec/netdata/plugins.d/../../../../etc/netdata/health_alarm_notify.conf. Using internal defaults.
2018-03-12 14:23:54: alarm-notify.sh: INFO: sent email notification for: pandora.global.8i.com test.chart.test_alarm is WARNING to 'root'
# OK


It seems the path is incorrect

Any help is appreciated. Our server aircon has been playing up. I need to watch it via slack

Screen Shot 2018-03-12 at 11.47.09.png
 
D

dlavigne

Guest
Were you able to resolve this? If not, is there an
Code:
alarm_notify.conf
?
 

dr4k4th

Cadet
Joined
Oct 8, 2014
Messages
4
/etc/local/netdata

This location is empty for me.

Just found it in /usr/local/etc/netdata
 
D

dlavigne

Guest
Is this on 11.1-U6? If so, please create a ticket at bugs.freenas.org and post the issue number here.
 

Dariusz1989

Contributor
Joined
Aug 22, 2017
Messages
185
How can I find that folder on windows? I'm lost. All I got is the shared folder I set up in shares?
 
Status
Not open for further replies.
Top