Page 1 of 1

NagiosXI Linux-nrpe serv client install

Posted: Mon Jun 11, 2012 10:39 am
by itutd
Attemp to install the linux-nrpe-agent on a linux 5.5 server in a web farm behind a firewall is failing on the prerequisites
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: rhnplugin, security
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 (101, 'Network is unreachable')>
RESULT=1

Got this back from an earlier Topic post on FW port requirements.
It really depends on how you will be monitoring them, as Windows machines can be monitored with
NSClient++ standard - 12489
NRPE - 5666
SNMP 161

Linux machine are often monitored with:
NRPE - 5666
SSH - 22

Also, Nagios can receive passive checks from either type of machine on
NSCA - 5667
NRPE - 80 or 443

Firewall rules were enabled based on these ports, can someone tell me what I am missing?

Thank You

Re: NagiosXI Linux-nrpe serv client install

Posted: Mon Jun 11, 2012 10:54 am
by scottwilkerson
This looks like yum cannot reach the mirror list...

Does this computer have a connection to the Internet?

Re: NagiosXI Linux-nrpe serv client install

Posted: Mon Jun 11, 2012 11:11 am
by itutd
yes, but as I mentioned it is behind a firewall, had ports opened for YUM to Redhat but did not know anything about the need to rreach a mirror list.

What exactly is this, I guess I will need to have access opened forthis also, is port 80 sufficient?

Thank You

Re: NagiosXI Linux-nrpe serv client install

Posted: Mon Jun 11, 2012 11:24 am
by scottwilkerson
Yes, port 80 is sufficient, this is a mirror list for the epel repository

Re: NagiosXI Linux-nrpe serv client install

Posted: Mon Jun 11, 2012 12:05 pm
by itutd
Do I need a rule for every link in this list?
Or just this one
http://mirrors.fedoraproject.org/mirror ... rch=x86_64

Can you briefly explain the requirement for this mirror?

Thank You

Re: NagiosXI Linux-nrpe serv client install

Posted: Mon Jun 11, 2012 1:44 pm
by scottwilkerson
Yes, you would need one for each.

The Epel repo is required by the Linux agent to install the following packages

Code: Select all

libmcrypt-devel