Search found 92 matches

by cybergene
Fri Mar 31, 2017 12:34 pm
Forum: Open Source Nagios Projects
Topic: NRPE on Amazon Linux
Replies: 49
Views: 28716

Re: NRPE on Amazon Linux

tgriep wrote:Can you post the nrpe.cfg file from the /etc/init folder?
I have a feeling it is the wrong file.
See attached.
by cybergene
Fri Mar 31, 2017 8:22 am
Forum: Open Source Nagios Projects
Topic: NRPE Install Fails on Ubuntu 16.04
Replies: 27
Views: 18242

Re: NRPE Install Fails on Ubuntu 16.04

So there where a few things different in your method. * Your script file is not very readable. This can happen when you enter into other mode changing applications like vi. There is enough interpolation and other issues that I'm not confident in what I'm reading. * Your use of sudo. Please be root ...
by cybergene
Fri Mar 31, 2017 6:58 am
Forum: Open Source Nagios Projects
Topic: NRPE on Amazon Linux
Replies: 49
Views: 28716

Re: NRPE on Amazon Linux

When you ran the make install-init , it should of put an NRPE init file in the following folder /etc/init The file is there nrpe.conf If it is in there, you would have to start the service by running sudo service nrpe start Result : [ec2-user@ip-xx-xx-xx-xx init]$ sudo service nrpe start nrpe: unre...
by cybergene
Thu Mar 30, 2017 12:41 pm
Forum: Open Source Nagios Projects
Topic: NRPE on Amazon Linux
Replies: 49
Views: 28716

Re: NRPE on Amazon Linux

I wasn't able to install NRPE 3.0.1 with Xinetd on Amazon Linux Type sudo make install-daemon-config make: *** No rule to make target `install-daemon-config'. Stop. sudo make install-xinetd make: *** No rule to make target `install-xinetd'. Stop. I tried running all of this sudo make Please enter ma...
by cybergene
Thu Mar 30, 2017 7:56 am
Forum: Open Source Nagios Projects
Topic: NRPE Install Fails on Ubuntu 16.04
Replies: 27
Views: 18242

Re: NRPE Install Fails on Ubuntu 16.04

I attached the nrpe 3.0.1 install file.
by cybergene
Wed Mar 29, 2017 8:32 am
Forum: Open Source Nagios Projects
Topic: NRPE Install Fails on Ubuntu 16.04
Replies: 27
Views: 18242

Re: NRPE Install Fails on Ubuntu 16.04

Like mcapra , this also works for me. I have attached a script file generated during the install. Here is a stripped out set of commands used: # cd /tmp # wget http://www.nagios-plugins.org/download/nagios-plugins-2.1.4.tar.gz # apt-get install build-essential libssl-dev # tar xzf nagios-plugins-2....
by cybergene
Tue Mar 28, 2017 8:05 am
Forum: Open Source Nagios Projects
Topic: NRPE Install Fails on Ubuntu 16.04
Replies: 27
Views: 18242

Re: NRPE Install Fails on Ubuntu 16.04

xinitd *shouldn't* be needed, but it might be a work-around. Is this a standard install eg straight from Ubuntu ISO eg http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.img ? Or have there been further mods done to it post-install? No further mods. Please try running this from the instal...
by cybergene
Fri Mar 24, 2017 7:07 am
Forum: Open Source Nagios Projects
Topic: NRPE Install Fails on Ubuntu 16.04
Replies: 27
Views: 18242

Re: NRPE Install Fails on Ubuntu 16.04

Here is the Makefile ############################### # Makefile for NRPE # # Last Modified: 03-14-2007 ############################### # Source code directories SRC_BASE=./src/ SRC_INCLUDE=./include/ # Mainly used for rpmbuild # DESTDIR= CC=gcc CFLAGS=-g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H LD...
by cybergene
Thu Mar 23, 2017 2:20 pm
Forum: Open Source Nagios Projects
Topic: NRPE Install Fails on Ubuntu 16.04
Replies: 27
Views: 18242

Re: NRPE Install Fails on Ubuntu 16.04

No, there is no restrictions. I tried re-installing it again, same problem.
I double checked the permissions, no limited permission either.

Do we need xinetd for nrpe on this box?
by cybergene
Thu Mar 23, 2017 7:47 am
Forum: Open Source Nagios Projects
Topic: NRPE Install Fails on Ubuntu 16.04
Replies: 27
Views: 18242

Re: NRPE Install Fails on Ubuntu 16.04

Output of sestatus The program 'sestatus' is currently not installed. You can install it by typing: sudo apt install policycoreutils Output of ls -la /lib/systemd/ total 8432 drwxr-xr-x 8 root root 4096 Jan 23 17:03 . drwxr-xr-x 25 root root 4096 Mar 22 13:14 .. drwxr-xr-x 2 root root 4096 Jan 23 17...