The following solution will not substitute an appropriate alert system for network and software application monitoring, such as the well-known Nagios. There is a contributed Perl daemon that connects to gmetad and, using a rule-based configuration file, sends alerts to a specified e-mail address.
Download Ganglia-alert from
https://github.com/ganglia/ganglia_contrib/tree/master/ganglia-alert. There is also an init.d
script for Debian and Ubuntu, contributed by me, as follows:
$ wget https://github.com/ganglia/ganglia_contrib/tarball/master -O ganglia_contrib.tar.gz $ tar xzf ganglia_contrib.tar.gz --wildcards ganglia-ganglia_contrib-*/ganglia-alert $ cd ganglia-ganglia_contrib-*/ganglia-alert
Copy the ganglia-alert script in /usr/bin
, and make it executable, as follows:
$ sudo cp ganglia-alert /usr/bin $ sudo cp init.d-debian /etc/init.d/ganglia-alert $ sudo chmod +x /usr/bin/ganglia-alert /etc/init.d/ganglia-alert $ sudo update-rc.d ganglia...