Skip to main content
Version: nightly

IRC

This is what you will get:

IRCCloud web client:\ image

Irssi terminal client: image

You need:

  1. The nc utility. If you do not set the path, Netdata will search for it in your system $PATH.

Set the path for nc in /etc/netdata/health_alarm_notify.conf (to edit it on your system run /etc/netdata/edit-config health_alarm_notify.conf), like this:

#------------------------------------------------------------------------------
#
nc="/usr/bin/nc"
  1. Αn IRC_NETWORK to which your preferred channels belong to.
  2. One or more channels ( DEFAULT_RECIPIENT_IRC ) to post the messages to.
  3. An IRC_NICKNAME and an IRC_REALNAME to identify in IRC.

Set them in /etc/netdata/health_alarm_notify.conf (to edit it on your system run /etc/netdata/edit-config health_alarm_notify.conf), like this:

#------------------------------------------------------------------------------
#


SEND_IRC="YES"

DEFAULT_RECIPIENT_IRC="#system-alarms"

IRC_NETWORK="irc.freenode.net"

IRC_NICKNAME="netdata-alarm-user"

IRC_REALNAME="netdata-user"

You can define multiple channels like this: #system-alarms #networking-alarms.\ You can also filter the notifications like this: #system-alarms|critical.\ You can give different channels per role using these (at the same file):

role_recipients_irc[sysadmin]="#user-alarms #networking-alarms #system-alarms"
role_recipients_irc[dba]="#databases-alarms"
role_recipients_irc[webmaster]="#networking-alarms"

The keywords #user-alarms, #networking-alarms, #system-alarms, #databases-alarms are irc channels which belong to the specified IRC network.

Was this page helpful?

Contribute