Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Ok thanks, I was able to successfully copy all my folders containing existing config files into the location: /usr/local/nagios/etc/objects/
I noticed we also have a bunch of plugins which are likely associated with service checks we have setup. Located in:
/usr/lib/nagios/plugins/ and /usr/local/lib/nagios-plugins/ .
Should I be copying all these plugins over as well? If so, to which directory on the new Nagios server?
@mtripodi, Hmm. Did you install any special plugins or are these just the standard core plugins? Try to import the checks without plugins fist and see if they start erroring out. Then please upload the failing service checks definitions here.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
I noticed Nagios Core 4.4.1 was recently released. Successfully updated both Ubuntu and CentOS 7 VM. However, i'm encountering 2 issues preventing me from further testing:
1. I moved my old configuration to the following locations on both VM's but when logging into the web interface I don't see any of my hosts or services listed. I restarted the services several times, anything i'm missing?
Nagios config on Centos Nagios config: /local/nagios/etc/objects
Nagios config on Ubuntu 16.04: /usr/local/nagios/etc/objects
2. After the upgrade on my Ubuntu 16.04 VM from 4.3.4 to 4.4.1 i'm no longer able to run the nagios.service. I have restarted the services, VM and ran latest updates. I continue to see the error in my attached screenshot. Please HELP!
Long story short, I had my Nagios server up and running, however I did not see the hosts/service checks. I sent a custom notification via the web console but needed it to arrive in our mailbox. So I updated the contacts.cfg file with my own from our current server. Then ran the command to verify the config and Nagios complained it didn't have the "service notification period" definition.
This is defined in one of my templates. I noticed Nagios is only looking at the default templates.cfg and not my other template config files so I decided to copy/paste a couple of my host definitions into the one templates.cfg file. Now when running the command to verify the config I get the following, see screenshot attached. I also attached a screenshot of the error I get when attempting to start the Nagios service. Not sure if it's related.
I may have messed up the configuration further. Please HELP!
I actually worked through all the errors today and ran the config test. All looks good now (see screenshot). I was even able to reload the nagios config and start the service. However, i'm no longer able to reach the web console after logging in. I confirmed the Apache HTTP server and service is running. Any ideas to help resolve? See second screenshot for error.
Thanks, I have done all those steps, rebooted the server and continue to receive the same message after logging in. Any other ideas? I really need this working soon.