How to install Nagios herald.

Posted December 25, 2014 2.4k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.