Hello,
I am very new to linux and nagios and want to learn more and implementation Nagios for a small network in my company. I have installed CentOS 6.5 and install Nagois4.0.2 everything went well doing the installation but I got stuck with the following error. I hope someone could help me.
I login as root and following the document on How-to-install-nagios-on centOS. I performed the following:
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf
cp -R contrib/eventhandlers/ /usr/local/nagios/libexec/
chown -R nagios:nagios /usr/local/nagios/libexec/eventhandlers
it returned with cp: target "/usr/local/nagios/libexec/eventhandlers" is not a directory.
Thank you.
Khmerlinux
Installation
Re: Installation
Lets check to make sure the eventhandlers directory exists:
Code: Select all
cd <nagios source dir>
ls -la contrib
ls -la /usr/local/nagios/libexec
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 14
- Joined: Mon Feb 24, 2014 11:26 am
Re: Installation
This is what I got
ls -la contrib
ls: cannot access contrib: No such file or directory.
ls -la contrib
ls: cannot access contrib: No such file or directory.
Re: Installation
Did you in fact run that command in the nagios source directory?
Former Nagios employee
-
- Posts: 14
- Joined: Mon Feb 24, 2014 11:26 am
Re: Installation
Yes I did. I try browse to \usr\local\nagios and I didn't see the contrib folder. Is the correct directory to nagios folder?
Thanks
Thanks
Re: Installation
No. We want the listing from the source directory you compiled and installed nagios from.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 14
- Joined: Mon Feb 24, 2014 11:26 am
Re: Installation
OK. I found it. It is in root/downloads/nagios-4.0.3rc1/contrib. I opened the contrib folder and I I found eventhandlers.
Thanks
Thanks