By Arun Singh
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 https://github.com/etsy/nagios-herald . Thank you
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!
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:
/usr/local/rvm/gems/ruby-2.2.1/bin/nagios-herald
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=http://nagios.example.com/nagios/cgi-bin/cmd.cgi --reply-to=nagios@example.com
}
To find more information on configuring nagios-herald see here.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.