Search found 27 matches

by Darth_Panda
Wed Jul 08, 2015 5:57 am
Forum: Open Source Nagios Projects
Topic: Nagios Email Configuration From Scratch
Replies: 6
Views: 2794

Re: Nagios Email Configuration From Scratch

Thanks for your help. I noticed that commands.cfg was using the command 'sendmail', not sure why. When I changed it back to 'mail' it worked. Emails now coming through, thanks :)
by Darth_Panda
Mon Jul 06, 2015 6:10 pm
Forum: Open Source Nagios Projects
Topic: Nagios Email Configuration From Scratch
Replies: 6
Views: 2794

Re: Nagios Email Configuration From Scratch

To be more elaborate, understand that by default Core simply pipes some sensible string output into the `mail` command defined on your system. Who it's mailed to is defined in your contact definition and passed in as an argument to `mail`. If you have a local MTA to handle that mail command and als...
by Darth_Panda
Mon Jul 06, 2015 6:07 pm
Forum: Open Source Nagios Projects
Topic: Nagios not sending emails
Replies: 11
Views: 2830

Re: Nagios not sending emails

jdalrymple wrote:OK to lock this topic?
Yes thank you, you can lock this one.
by Darth_Panda
Fri Jul 03, 2015 1:31 am
Forum: Open Source Nagios Projects
Topic: Importing Hosts
Replies: 4
Views: 1435

Re: Importing Hosts

rhassing wrote:yes there is a way to do that, please check:
http://mona.deltics.info/?page_id=41
Thank you very much for the link. Luckily I found all my old host.cfg files and went down that path instead. Thanks :)
by Darth_Panda
Fri Jul 03, 2015 1:29 am
Forum: Open Source Nagios Projects
Topic: Importing Hosts from Old server to new
Replies: 5
Views: 1192

Re: Importing Hosts from Old server to new

Your host defined in sc2025.cfg is using a template called ONU. This will exist in your old configuration files from your old server. If you can't find it, have a look in the existing templates.cfg and duplicate one of those and call it ONU. MIssion completed. Thanks for all your help. I just kept ...
by Darth_Panda
Fri Jul 03, 2015 1:19 am
Forum: Open Source Nagios Projects
Topic: Nagios not sending emails
Replies: 11
Views: 2830

Re: Nagios not sending emails

Thanks, I have decided to decommission this server. I am setting up a new Nagios server so I will be setting up email from scratch.
by Darth_Panda
Thu Jul 02, 2015 9:23 pm
Forum: Open Source Nagios Projects
Topic: Importing Hosts from Old server to new
Replies: 5
Views: 1192

Re: Importing Hosts from Old server to new

When you add cfg_dir=/usr/local/nagios/etc/hosts to nagios.cfg, run the verify to see what may be the problem: Thanks, now we are getting somewhere. It looks like it does not like 'ONU' as a type of device. All 851 of my devices are ONU's which are a type of fibre modem/router. I now have to figure...
by Darth_Panda
Thu Jul 02, 2015 8:15 pm
Forum: Open Source Nagios Projects
Topic: Importing Hosts from Old server to new
Replies: 5
Views: 1192

Importing Hosts from Old server to new

I have built a clean install of Nagios Core 4 on Debian 8. I can log in to the web interface so all is good. I have 851 host files that I can import from the old server. I created the hosts folder under /usr/local/nagios/etc but Nagios does not automatically find them. I checked the old nagios.cfg f...
by Darth_Panda
Wed Jul 01, 2015 8:41 pm
Forum: Open Source Nagios Projects
Topic: Nagios Email Configuration From Scratch
Replies: 6
Views: 2794

Nagios Email Configuration From Scratch

Would anyone have a good step by step tutorial for configuring email alerts with Debian 8 and Nagios Core 4.0.8. I want to take my time and get it right.

Thanks :)