NagiosXI Linux-nrpe serv client install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
itutd
Posts: 18
Joined: Fri Apr 27, 2012 8:07 am

NagiosXI Linux-nrpe serv client install

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI Linux-nrpe serv client install

Post by scottwilkerson »

This looks like yum cannot reach the mirror list...

Does this computer have a connection to the Internet?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
itutd
Posts: 18
Joined: Fri Apr 27, 2012 8:07 am

Re: NagiosXI Linux-nrpe serv client install

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI Linux-nrpe serv client install

Post by scottwilkerson »

Yes, port 80 is sufficient, this is a mirror list for the epel repository
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
itutd
Posts: 18
Joined: Fri Apr 27, 2012 8:07 am

Re: NagiosXI Linux-nrpe serv client install

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI Linux-nrpe serv client install

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked