Nagios email configuration on OpenSuse

Hi,I followed the below and setup nagios core 4.0.8 on OpenSuse 13.2 http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.htmlNagios itself is working but my emails are not being generated and I don’t have any logs being generated as well.

The contacts.cfg has

define contact{
contact_name nagiosadmin ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias Nagios Admin ; Full name of user

    email                           [email]rvenkitar@petermoyes.wa.edu.au[/email]	; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
    }

Without answering your question directly because Nagios Core isn’t very easy to configure and maintain (I’ve seen and discussed Nagios with several people who ended up with weird deployments because they didn’t have a deep understanding what to do), I’d recommend you consider various network monitoring systems that are built on Nagios instead.

The alternatives to Nagios Core are varied, from those that re-invented Nagios from the ground up but still retaining interoperability and structure (like Zabbix), those that created a better and more extensive UI (like the “official” NagiosXL). There are many more projects to choose from besides the two I mentioned,

If you take a look at those, you’ll kill 2 birds with one stone…

  • You’ll likely address your notifications problem which may or may not be related to configuring contacts correctly
  • If you’re not deeply experienced with Nagios, you’ll get easy to use management tools which in particular should guide you in configure profiles and various groupings which IMO is the most common failing of do-it-yourselfers.
  • You’ll likely get better tools to create NRPE and NSCA plugin configurations which can mean the difference between minutes or days/weeks(using only Core).

HTH and IMO,
TSU

thanks TSU. On openSUSE, core’s email isn’t working, on Ubuntu, the Apache is not pointed correctly! Anyway, I will try something else, for a person not so experienced in Linux, this is just a pain reading thousands of pages and getting no where, whereas the information on their own website is not uptodat to the latest version of Linux and Nagios!

Many thanks,
Ramu

Do you have notifications turned on? Nagios doesn’t email you if Notifications are turned off.

Notifications were turned ON, the emails were not being sent, so I guess the problem was with postfix.
But having setup on Ubuntu, there was issues with the notifications there as well, but I have got it all sorted now and its working.

Thanks for the responses both.

Regards,
Ramu