Page 5 of 5
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Tue Oct 06, 2015 7:23 pm
by rhassing
There must be some other executable on your system.
Maybe search for it?
Or check what is in /etc/init.d/nagios
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Tue Oct 06, 2015 8:05 pm
by druid
find / -name nagios
Code: Select all
/home/nagios
/run/lock/subsys/nagios
/etc/rc.d/init.d/nagios
/etc/logrotate.d/nagios
/etc/nagios
/var/log/nagios
/var/spool/mail/nagios
/var/spool/nagios
/usr/sbin/nagios
/usr/lib64/nagios
/usr/share/nagios
/usr/local/nagios
/usr/local/nagios/bin/nagios
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Tue Oct 06, 2015 8:33 pm
by rhassing
Is /usr/local/nagios/bin/nagios your version 4.1.1?
You could test it with:
Code: Select all
/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.conf
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Tue Oct 06, 2015 9:49 pm
by druid
When I run
/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.conf
It displays information about version 4.1.1, however I saw that when I enter the command
nagios
It displays information about version 3.5.1
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Wed Oct 07, 2015 12:07 am
by rhassing
maybe you should erase the Nagios rpm packages.
and than
For proper installation you could check:
http://sites.box293.com/nagios/guides/installing-nagios
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Wed Oct 07, 2015 7:12 am
by eloyd
Rob is 100% correct - you seem to have multiple nagios installations on your machine and they are not compatible. You should uninstall everything and then install from rpm or from source, but not both. I recommend installing from source.
If this is a VM and you can start over easily, then I would take that route.
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Wed Oct 07, 2015 10:07 am
by hsmith
I agree with Eric on this one. A clean CentOS virtual machine would be the easiest way to get this accomplished. I would make a tarball of your /usr/local/nagios/etc folder to make sure that you don't lose anything too important before you get rid of anything though.
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Wed Oct 28, 2015 4:31 pm
by druid
I've erased the 3.5.1 instance and it is now working. Thank you all! You can close this post
Re: Nagios Core 4.1.1 "Unable to get process data"
Posted: Wed Oct 28, 2015 4:33 pm
by rkennedy
Glad to see this worked! I will now close this thread, but feel free to open another if you need more assistance.