How to install Nagios herald.

December 25, 2014 945 views

Is some one know How to install Nagios herald on ubuntu , i know how to install Nagios but not able to install Nagios herald. So please provide steps on how to install that... Here is link for Nagios herald . Thank you

1 Answer

Nagios Herald can most simply be installed as a Ruby gem. Assuming you already have Ruby installed, just run:

  • gem install nagios-herald

When configuring Nagios, you'll need to reference the full path to the nagios-herald command. This may differ based on how you've installed Ruby. You can find it by running:

  • which nagios-herald

In my case, that returns:


So, my Nagios configuration looks like:

define command {
    command_name    notify-host-by-email
    command_line    /usr/local/rvm/gems/ruby-2.2.1/bin/nagios-herald --message-type email --formatter=$_HOSTMESSAGE_FORMATTER_NAME$ --nagios-cgi-url=

To find more information on configuring nagios-herald see here.

Have another answer? Share your knowledge.