Page 1 of 1

NSCP agent for Redhat 5

Posted: Tue Nov 10, 2015 7:03 am
by murawweh.daher
Hi All,

i tried to find nscp agent for redhat 5, but i didn't found.
Anybody can help me with my search?

Thanks

Re: NSCP agent for Redhat 5

Posted: Tue Nov 10, 2015 10:15 am
by hsmith
NSCP is for Windows. What you're going to be wanting to look for is NRPE. Take a look at this: https://assets.nagios.com/downloads/nag ... _Agent.pdf

Re: NSCP agent for Redhat 5

Posted: Tue Nov 10, 2015 10:51 am
by WillemDH
In fact Nsclient is also available on Linux, but I have absolutely no experience with it.

http://www.nsclient.org/download/

I would also suggest the Nagios nrpe agent which is very stable. Never had any problem with it.

EDIT: Sorry apparently not for Red Hat 5 I see now..

Re: NSCP agent for Redhat 5

Posted: Tue Nov 10, 2015 10:56 am
by hsmith
Thanks Willem, I wasn't actually aware of that. I've probably seen it 50 times too. Sometimes it takes 51 times to register :)

Re: NSCP agent for Redhat 5

Posted: Wed Nov 11, 2015 2:36 am
by murawweh.daher
Hi All,

i tried to install nrpe but i have below message, and what is the prerequest of no inernet connection available on host?

Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirror ... rch=x86_64 error was
[Errno 4] IOError: <urlopen error (97, 'Address family not supported by protocol')>

Re: NSCP agent for Redhat 5

Posted: Wed Nov 11, 2015 10:36 am
by hsmith
What is your internet situation on the host?

Re: NSCP agent for Redhat 5

Posted: Thu Nov 12, 2015 1:11 am
by murawweh.daher
we can't active the internet on this host (security issue).

Re: NSCP agent for Redhat 5

Posted: Thu Nov 12, 2015 10:19 am
by lmiltchev
Unfortunately we don't have an "offline" NRPE installer. You can try downloading the Linux agent (NRPE + Nagios plugins) on the different machine (with Internet access) and moving it over to your Redhat 5 server.

https://assets.nagios.com/downloads/nag ... ent.tar.gz

Untar the file, cd into the linux-nrpe-agent directory and run:

Code: Select all

touch installed.repos
touch installed.prereqs
Find a way to install the prerequisites manually on the Redhat 5 machine - autoconf, gcc, glibc, libmcrypt-devel, make, openssl-devel, sudo, sysstat, xinetd, and bc.

Run the fullinstall script:

Code: Select all

cd /tmp/linux-nrpe-agent
./fullinstall
This may or may not work. Again, we don't have a "offline" installer. This is a "workaround".