How to install Nagios herald.

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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.