scottwilkerson wrote:How did you install NRPE on each of these machines?
issue 2 check remote server free disk space using check_nrpe
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: issue 2 check remote server free disk space using check_
the nrpe.cfg is installed on the remote system.
Re: issue 2 check remote server free disk space using check_
Hi,
Can any one help me to Prepare & configure / install nrpe.cfg .
Details are in my last mail.
Appreciate your all extended help.
Can any one help me to Prepare & configure / install nrpe.cfg .
Details are in my last mail.
Appreciate your all extended help.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: issue 2 check remote server free disk space using check_
I cannot do it for you but I can point you to the documentation.debdutta wrote:Hi,
Can any one help me to Prepare & configure / install nrpe.cfg .
Details are in my last mail.
Appreciate your all extended help.
This is our doc on installing NRPE on various systems
https://support.nagios.com/kb/article.php?id=515
Re: issue 2 check remote server free disk space using check_
Hi,
Waiting for someone's guidance to Prepare & configure / install nrpe.cfg .
Details are in my earlier post.
Appreciate your all extended help.
Waiting for someone's guidance to Prepare & configure / install nrpe.cfg .
Details are in my earlier post.
Appreciate your all extended help.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: issue 2 check remote server free disk space using check_
This was the guidance:debdutta wrote:Waiting for someone's guidance to Prepare & configure / install nrpe.cfg .
That document outlines how to install NRPE on the following Operating systemsscottwilkerson wrote:This is our doc on installing NRPE on various systems
https://support.nagios.com/kb/article.php?id=515
Red Hat Enterprise Linux (RHEL)
CentOS
Oracle Linux
Ubuntu
SUSE SLES | openSUSE Leap
Debian
Raspbian
Fedora
Arch Linux
Gentoo
FreeBSD
Solaris
Apple OS X
Re: issue 2 check remote server free disk space using check_
Hi Scott,scottwilkerson wrote:How did you install NRPE on each of these machines? Are you sure it is running? Did you add the other servers IP to the allowed IP list ?
Can you send up the nrpe.cfg and and other .cfg files included in it
Recently I further install the NRPE plugin by root user in one of our nagios monitoring server, For installation I used below step ---
1. create 'nrpe' folder under /tmp
2. execute "yum install -y gcc glibc glibc-common openssl openssl-devel perl wget" command from /tmp/nrpe
3. Download plugin using "wget --no-check-certificate -O nrpe.tar.gz https://github.com/NagiosEnterprises/nr ... 2.1.tar.gz" and unzip under "/tmp/nrpe/nrpe-321"
4. Execute below commands
cd /tmp/nrpe/nrpe-321
./configure
make check_nrpe
make install-plugin
After that i tried to find 'nrpe.cfg' under "/usr/local/nagios/" directory, including all sub-directory under that however I could not find that file.
After that I tried below command however success message not came, below is the command & output of the same ---
./check_nrpe -H test.com -c check_disk -a '-w 20% -c 10% -p /var'
connect to address xx.yyy.zzz.*** port 5666: No route to host
connect to host test.com port 5666: No route to host
I have below query ---
i) under which directory nrpe.cfg file should exists after installation ?
ii) Is it required that I have to install Nagios & NRPE pluggin in each of the server for which I want to check the disk space / CPU & memory ??
iii) where I have to update IP address for allowed IP List ?
iV) How can i check that NRPE plugin is successfully installed and running ?
Appreciate all your extended help.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: issue 2 check remote server free disk space using check_
/usr/local/nagios/etc/nrpe.cfg but only only if you run make all you didn't make nrpe, just check_nrpedebdutta wrote:i) under which directory nrpe.cfg file should exists after installation ?
Yes, it is required you install nrpe and the plugins you need.debdutta wrote:ii) Is it required that I have to install Nagios & NRPE pluggin in each of the server for which I want to check the disk space / CPU & memory ??
/usr/local/nagios/etc/nrpe.cfgdebdutta wrote:iii) where I have to update IP address for allowed IP List ?
Code: Select all
allowed_hosts=
your test above looks good provided you have a check_disk command specified in the nrpe.cfg on test.com and also have your nagios servers IP in the allowed_hosts of that filedebdutta wrote:iV) How can i check that NRPE plugin is successfully installed and running ?
Re: issue 2 check remote server free disk space using check_
Hi Scott,
As per your suggestion (
./configure
make all
make install-plugin
I checked, Under /usr/local/nagios/etc, I have below 3 .cfg files
cgi.cfg nagios.cfg resource.cfg
Under /usr/local/nagios directory I have below 19 .cfg files ----
./etc/cgi.cfg
./etc/bncom/objects/nyhosts/QA2Hosts.cfg
./etc/bncom/objects/bnconfigs/bnhostgroups.cfg
./etc/bncom/objects/bnconfigs/bncontacts.cfg
./etc/bncom/objects/bnconfigs/bnservices.cfg
./etc/bncom/objects/bnconfigs/bntimeperiods.cfg
./etc/bncom/objects/bnconfigs/bncommands.cfg
./etc/bncom/objects/bnconfigs/bntemplates.cfg
./etc/bncom/objects/urlchecks/QA2HostChecks.cfg
./etc/objects/commands.cfg
./etc/objects/windows.cfg
./etc/objects/contacts.cfg
./etc/objects/timeperiods.cfg
./etc/objects/printer.cfg
./etc/objects/localhost.cfg
./etc/objects/templates.cfg
./etc/objects/switch.cfg
./etc/resource.cfg
./etc/nagios.cfg
Let me know where I am missing .
Appreciate all your extended help.
As per your suggestion (
), reloaded the nrpe_plugin using below command, however still I could not find the nrpe.cfg file for edit --"/usr/local/nagios/etc/nrpe.cfg but only only if you run make all you didn't make nrpe, just check_nrpe"
./configure
make all
make install-plugin
I checked, Under /usr/local/nagios/etc, I have below 3 .cfg files
cgi.cfg nagios.cfg resource.cfg
Under /usr/local/nagios directory I have below 19 .cfg files ----
./etc/cgi.cfg
./etc/bncom/objects/nyhosts/QA2Hosts.cfg
./etc/bncom/objects/bnconfigs/bnhostgroups.cfg
./etc/bncom/objects/bnconfigs/bncontacts.cfg
./etc/bncom/objects/bnconfigs/bnservices.cfg
./etc/bncom/objects/bnconfigs/bntimeperiods.cfg
./etc/bncom/objects/bnconfigs/bncommands.cfg
./etc/bncom/objects/bnconfigs/bntemplates.cfg
./etc/bncom/objects/urlchecks/QA2HostChecks.cfg
./etc/objects/commands.cfg
./etc/objects/windows.cfg
./etc/objects/contacts.cfg
./etc/objects/timeperiods.cfg
./etc/objects/printer.cfg
./etc/objects/localhost.cfg
./etc/objects/templates.cfg
./etc/objects/switch.cfg
./etc/resource.cfg
./etc/nagios.cfg
Let me know where I am missing .
Appreciate all your extended help.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: issue 2 check remote server free disk space using check_
You need to go through all the steps in the doc for your particular OS, it appears you are picking and choosing a few
https://support.nagios.com/kb/article.php?id=515
https://support.nagios.com/kb/article.php?id=515
Re: issue 2 check remote server free disk space using check_
Hi scottwilkerson/Moderator.
Thanks for your all help.
I have one request, if possible please delete all post related to this request i.e "issue 2 check remote server free disk space using check_nrpe", because I do not want to public the host name which was mentioned in the post against below dated ---
Fri Mar 30, 2018 12:43 pm
Apr 02, 2018 10:14 am
Wed Apr 04, 2018 7:43 am
If it is not possible to delete all post related to above request then atleast delete post against above 3 mentioned dates.
Thanks for your help once more.
Thanks for your all help.
I have one request, if possible please delete all post related to this request i.e "issue 2 check remote server free disk space using check_nrpe", because I do not want to public the host name which was mentioned in the post against below dated ---
Fri Mar 30, 2018 12:43 pm
Apr 02, 2018 10:14 am
Wed Apr 04, 2018 7:43 am
If it is not possible to delete all post related to above request then atleast delete post against above 3 mentioned dates.
Thanks for your help once more.