Hello,
I try to install a fresh nagios client (Oracle Linux 7) regarding the manual, found on
https://assets.nagios.com/downloads/nag ... _Agent.pdf
My problem, that i can't set epel repo on the (every) server where i want to use nagios.
Is there any way to install linux nrpe client without epel repo set, or from .rpm package?
Is there any parameter to jump that precheck?
What packages must be installed from that repo?
Is there any supported solution?
Best regards,
Ferenc
nrpe install
-
kyang
Re: nrpe install
Hello junkertf,
You could download the rpm from the EPEL mirror. (Although it won't allow for upgrades)
https://support.nagios.com/kb/article.php?id=515#RHEL
You could download the rpm from the EPEL mirror. (Although it won't allow for upgrades)
https://support.nagios.com/kb/article.php?id=515#RHEL
Re: nrpe install
Hello,
Still same problem there, all OS version install epel release for monitoring plugins.
wget https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm
rpm -ihv epel-release-latest-X.noarch.rpm
Must all monitoring plugin compiled on the server where will be used, or is it possible to naturally scp-ed there?
Another question that perl-Net-SNMP package can be substituted with net-snmp-perl package or not?
On our OEL5 and OEL6 platform i found only the net-snmp-perl installed...
thx, regards,
Ferenc
Still same problem there, all OS version install epel release for monitoring plugins.
wget https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm
rpm -ihv epel-release-latest-X.noarch.rpm
Must all monitoring plugin compiled on the server where will be used, or is it possible to naturally scp-ed there?
Another question that perl-Net-SNMP package can be substituted with net-snmp-perl package or not?
On our OEL5 and OEL6 platform i found only the net-snmp-perl installed...
thx, regards,
Ferenc
Re: nrpe install
The link below is Oracle Linux repository where you can download the RPM packages and then manually install them on your server.
http://yum.oracle.com/repo/OracleLinux/ ... index.html
The NRPE Agent rpm should be this link
http://yum.oracle.com/repo/OracleLinux/ ... x86_64.rpm
The plugins should be this link
http://yum.oracle.com/repo/OracleLinux/ ... x86_64.rpm
The net-snmp-perl packages should be the same package, it is just named differently. (lower case)
There may be other required packages so keep track of them so you can use them for your other servers.
If you have some sort of automation tool you can use to copy the RPM files and install them, that should work for you.
http://yum.oracle.com/repo/OracleLinux/ ... index.html
The NRPE Agent rpm should be this link
http://yum.oracle.com/repo/OracleLinux/ ... x86_64.rpm
The plugins should be this link
http://yum.oracle.com/repo/OracleLinux/ ... x86_64.rpm
The net-snmp-perl packages should be the same package, it is just named differently. (lower case)
There may be other required packages so keep track of them so you can use them for your other servers.
If you have some sort of automation tool you can use to copy the RPM files and install them, that should work for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: nrpe install
Thank you for the OL7 packages link!
So actually EPEL repo is needed only for perl-Net-SNMP package what can be substituted with net-snmp-perl package on all other OS version?
More clearly can i use that net-snmp-perl package for the oel5-6 and rhel 5-6-7 nagios-plugins installations (compile) also,
regarding the link https://support.nagios.com/kb/article.php?id=515#RHEL
Except CentOS-OEL-Rhel5 because there autoconf package must be also exists....
Best regards,
Ferenc
So actually EPEL repo is needed only for perl-Net-SNMP package what can be substituted with net-snmp-perl package on all other OS version?
More clearly can i use that net-snmp-perl package for the oel5-6 and rhel 5-6-7 nagios-plugins installations (compile) also,
regarding the link https://support.nagios.com/kb/article.php?id=515#RHEL
Except CentOS-OEL-Rhel5 because there autoconf package must be also exists....
Best regards,
Ferenc
Re: nrpe install
I took a look at the packages and you do need to install the perl-Net-SNMP package from the EPEL repo.
They have different contents and both of them need to be installed.
They have different contents and both of them need to be installed.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: nrpe install
Hmm... seems like that solution route to other questions...
Before i used the nrpe 2.15 version tarball to install nrpe client.
So way the nrpe.cfg not contain any active (all is #-ed out) command definitions and the configuration worked. (the nrpe run from xinetd)
I had many checks in working so way...
The adviced nrpe configuration version is 3.2.x, run as standalone daemon, and its nrpe.cfg also has no one active command.
The key differences are that the 2.15 version worinkg well without any command line, but all the checks of the 3.2.x version nrpe gives me the following error:
NRPE: Command 'check_xxxxxx' not defined error result.
So questions:
- is there supported or not supported nrpe version?
- is there best practice/advice wich version of the nrpe can/must install? (2.15 versus 3.2.x)
I try to find a good but mostly simple way to install nagios nrpe client daemons, but i feel i lost myself in that versions and install methods...
Thanks, best regards,
Ferenc
Before i used the nrpe 2.15 version tarball to install nrpe client.
So way the nrpe.cfg not contain any active (all is #-ed out) command definitions and the configuration worked. (the nrpe run from xinetd)
I had many checks in working so way...
The adviced nrpe configuration version is 3.2.x, run as standalone daemon, and its nrpe.cfg also has no one active command.
The key differences are that the 2.15 version worinkg well without any command line, but all the checks of the 3.2.x version nrpe gives me the following error:
NRPE: Command 'check_xxxxxx' not defined error result.
So questions:
- is there supported or not supported nrpe version?
- is there best practice/advice wich version of the nrpe can/must install? (2.15 versus 3.2.x)
I try to find a good but mostly simple way to install nagios nrpe client daemons, but i feel i lost myself in that versions and install methods...
Thanks, best regards,
Ferenc
Re: nrpe install
The new NRPE agent, the default commands are in an include file and not in the nrpe.cfg file.
Take a look at this file to see if it exists and that there are commands defined.
Take a look at this file to see if it exists and that there are commands defined.
Code: Select all
/usr/local/nagios/etc/nrpe/common.cfgBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: nrpe install
Thank you tgriep!
I had successfully created our linux install scripts regardint the document you've sended...
Tha topic can be closed.
Best regards,
Ferenc
I had successfully created our linux install scripts regardint the document you've sended...
Tha topic can be closed.
Best regards,
Ferenc