Re: NAGIOS ERROR:Cannot open main configuration file
Posted: Wed Sep 14, 2016 4:17 am
PLEASE SEE OUTPUT BELOW:
TO uninstall Nagios do I just use rm command and delete the directories for Nagios
nagios.x86_64 3.2.3-3.el5.rf installed
nagios-nrpe.x86_64 2.14-1.el5.rf installed
nagios-plugins.x86_64 1.4.16-1.el5.rf installed
nagios-plugins-nrpe.x86_64 2.14-1.el5.rf installed
PLEASE GUIDE WHICH DIRECTORIES NEED TO BE REMOVED
/usr/local/nagios/share/ (new path 4.2.0 and index file)
/usr/share/nagios/ ( old path 3.2.3)/etc/nagios/
/usr/bin/nagios
/usr/share/nagios
/usr/lib64/nagios/plugins/
/etc/init.d/nagios
/usr/local/nagios
/usr/nagios/nagios-4.2.0 ( I downloaded the 4.2 tar file form the web and extracted to install this version)
WHEN I INSTALLED NAGIOS 4.2.0 I had this file
Creating sample config files in sample-config/ ...
*** Configuration summary for nagios 4.2.0 08-01-2016 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Install ${includedir}: /usr/local/nagios/include/nagios
Lock file: ${prefix}/var/nagios.lock
Check result directory: ${prefix}/var/spool/checkresults
Init directory: /etc/rc.d/init.d
Apache conf.d directory: /etc/httpd/conf.d
Mail program: /bin/mail
Host OS: linux-gnu
IOBroker Method: epoll
Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /bin/traceroute
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
YOUR GUIDANCE IS HIGHLY VALUED
THANKS
TO uninstall Nagios do I just use rm command and delete the directories for Nagios
nagios.x86_64 3.2.3-3.el5.rf installed
nagios-nrpe.x86_64 2.14-1.el5.rf installed
nagios-plugins.x86_64 1.4.16-1.el5.rf installed
nagios-plugins-nrpe.x86_64 2.14-1.el5.rf installed
PLEASE GUIDE WHICH DIRECTORIES NEED TO BE REMOVED
/usr/local/nagios/share/ (new path 4.2.0 and index file)
/usr/share/nagios/ ( old path 3.2.3)/etc/nagios/
/usr/bin/nagios
/usr/share/nagios
/usr/lib64/nagios/plugins/
/etc/init.d/nagios
/usr/local/nagios
/usr/nagios/nagios-4.2.0 ( I downloaded the 4.2 tar file form the web and extracted to install this version)
WHEN I INSTALLED NAGIOS 4.2.0 I had this file
Creating sample config files in sample-config/ ...
*** Configuration summary for nagios 4.2.0 08-01-2016 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Install ${includedir}: /usr/local/nagios/include/nagios
Lock file: ${prefix}/var/nagios.lock
Check result directory: ${prefix}/var/spool/checkresults
Init directory: /etc/rc.d/init.d
Apache conf.d directory: /etc/httpd/conf.d
Mail program: /bin/mail
Host OS: linux-gnu
IOBroker Method: epoll
Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /bin/traceroute
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
YOUR GUIDANCE IS HIGHLY VALUED
THANKS