united
Dabbler
- Joined
- Feb 19, 2017
- Messages
- 34
Using: FreeNAS 11 stable train
Also see this: https://github.com/firehol/netdata/blob/master/conf.d/health_alarm_notify.conf
It seems the path is incorrect
Any help is appreciated. Our server aircon has been playing up. I need to watch it via slack
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 successfullyAlso 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