Page 3 of 4
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 3:12 pm
by rkennedy
Can you post the service definition for one of those services that isn't working?
Also, verify the permissions -
Re: Linux NRPE: unable to read output
Posted: Wed Jan 06, 2016 9:05 am
by dlukinski
rkennedy wrote:Can you post the service definition for one of those services that isn't working?
Also, verify the permissions -
define service {
host_name fihp-jbosdev01.konecranes.com
service_description CPU Stats
use xiwizard_nrpe_service
check_command check_nrpe!check_cpu_stats!-a '-w 85 -c
95'
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 15
notification_period xi_timeperiod_24x7
contact_groups GCM
_xiwizard linux-server
register 1
}
- (works against an empty CentOS 6.x with ./fullinstall done)
Question, could you please provide instructions for compiling on RHEL 5.x / 6.x and SLES 10.x / 11.x (as well as for CentOS 6.x / 7.x and OpenSUSE 13.x / 14.x)?
- maybe ./fullinstall is not a good option to begin with?
Thanks,
Dimitri
Re: Linux NRPE: unable to read output
Posted: Wed Jan 06, 2016 10:21 am
by hsmith
We have a document for that:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Why don't you try these steps and post back?
Re: Linux NRPE: unable to read output
Posted: Wed Jan 06, 2016 12:31 pm
by dlukinski
Just one more question: I see no SuSe in the document (half of our servers would be SLES, so this is important)?
Re: Linux NRPE: unable to read output
Posted: Wed Jan 06, 2016 12:48 pm
by hsmith
I've worked a lot with a company that is using it across multiple SLES servers. Perhaps take a look at this document:
http://www.octopuscs.com/blogs/Linux/Ho ... n-openSuse
It is not our document, so I cannot verify the integrity of the source, but steps are accurate. I would use a newer NRPE in place of the version they are linking in that post, though.
Re: Linux NRPE: unable to read output
Posted: Wed Jan 06, 2016 2:57 pm
by dlukinski
hsmith wrote:I've worked a lot with a company that is using it across multiple SLES servers. Perhaps take a look at this document:
http://www.octopuscs.com/blogs/Linux/Ho ... n-openSuse
It is not our document, so I cannot verify the integrity of the source, but steps are accurate. I would use a newer NRPE in place of the version they are linking in that post, though.
This manual no longer applies to the latest Nagios Linux agent (?)
In manual # 4
# tar zxvf nrpe-2.13.tar.gz
# cd nrpe-2.13.tar.gz
# ./configure --disable-ssl
# make all
- neither of the latest Linux NRPE agent downloads contain (./configure) to use with the manual
Re: Linux NRPE: unable to read output
Posted: Wed Jan 06, 2016 6:00 pm
by hsmith
From my history file:
Code: Select all
428 wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz
429 tar xzf nrpe-2.14.tar.gz
430 ls
431 cd nrpe-2.14
432 ls
Output of ls command from above:
Code: Select all
[root@XI5 nrpe-2.14]# ls
Changelog docs Makefile.in sample-config
common include nrpe.spec SECURITY
config.guess init-script.debian.in nrpe.spec.in src
config.sub init-script.in package subst.in
configure init-script.suse.in README update-version
configure.in install-sh README.Solaris
contrib LEGAL README.SSL
configure is there.
Which agents are you attempting to download?
Re: Linux NRPE: unable to read output
Posted: Thu Jan 07, 2016 12:03 pm
by dlukinski
hsmith wrote:From my history file:
Code: Select all
428 wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz
429 tar xzf nrpe-2.14.tar.gz
430 ls
431 cd nrpe-2.14
432 ls
Output of ls command from above:
Code: Select all
[root@XI5 nrpe-2.14]# ls
Changelog docs Makefile.in sample-config
common include nrpe.spec SECURITY
config.guess init-script.debian.in nrpe.spec.in src
config.sub init-script.in package subst.in
configure init-script.suse.in README update-version
configure.in install-sh README.Solaris
contrib LEGAL README.SSL
configure is there.
Which agents are you attempting to download?
attempted linux-nrpe-agent.tar.gz and linux-nrpe-agent-offline.tar.gz (Nagios Assets)
./configure is present and works from your download, however make all fails (attached)
Re: Linux NRPE: unable to read output
Posted: Thu Jan 07, 2016 4:03 pm
by hsmith
Do you have openssl-devel installed? If not, can you please get that installed and try once more?
Re: Linux NRPE: unable to read output
Posted: Thu Jan 07, 2016 7:07 pm
by dlukinski
hsmith wrote:Do you have openssl-devel installed? If not, can you please get that installed and try once more?
Same thing so far.
Why to advertise OpenSuse (or Suse or even RedHat for that matter) in Linux Server agent monitoring if none works after installing stock Nagios Linux agent?