Plugins Helps
Plugins Helps
Have issues with getting Nagios Plugins to work on my Nagios 4.1.1 platform.
Run Raspibain on Raspberry Pi
I downloaded Nagios-plugins-2.1.1 into a tmp folder used tar to extract the files into a folder Nagios-plugins-2.1.1
Ran the following commands
tar xzf Nagios-plugins-2.1.1.tar.gz
./configure --with-Nagios-user-Nagios --with-Nagios-group=Nagios
make
make install
/etc/init.d/Nagios reload
service Nagios restart
Then went to my browser and connected to Nagios logged in and to my surprise I saw nothing different.
I also tried this
apt-get install Nagios-nrpe-server
vi /etc/Nagios/nrpe.cfg
service Nagios-nrpe-server restart
apt-get install Nagios-nrpe-plugin
vi /etc/Nagios-plugins/config/check_nrpe.cfg
then this is where I had to stop on this
The instructions told me to do this command
vi /etc/nagios3/conf.d/nrpe.cfg this is not valid I am running nagios 4.1.1
I tried to find the file no luck not sure what this file ins I found the one from the server install but the instruction are different.
This is the link I used for a guide
http://xmodulo.com/nagios-remote-plugin ... linux.html
What am I doing wrong?
What am I missing?
Thanks
Tom
Run Raspibain on Raspberry Pi
I downloaded Nagios-plugins-2.1.1 into a tmp folder used tar to extract the files into a folder Nagios-plugins-2.1.1
Ran the following commands
tar xzf Nagios-plugins-2.1.1.tar.gz
./configure --with-Nagios-user-Nagios --with-Nagios-group=Nagios
make
make install
/etc/init.d/Nagios reload
service Nagios restart
Then went to my browser and connected to Nagios logged in and to my surprise I saw nothing different.
I also tried this
apt-get install Nagios-nrpe-server
vi /etc/Nagios/nrpe.cfg
service Nagios-nrpe-server restart
apt-get install Nagios-nrpe-plugin
vi /etc/Nagios-plugins/config/check_nrpe.cfg
then this is where I had to stop on this
The instructions told me to do this command
vi /etc/nagios3/conf.d/nrpe.cfg this is not valid I am running nagios 4.1.1
I tried to find the file no luck not sure what this file ins I found the one from the server install but the instruction are different.
This is the link I used for a guide
http://xmodulo.com/nagios-remote-plugin ... linux.html
What am I doing wrong?
What am I missing?
Thanks
Tom
Re: Plugins Helps
Compiling the plugins shouldn't change anything about the Nagios Core GUI. What where you expecting to see?kwhogster wrote: Then went to my browser and connected to Nagios logged in and to my surprise I saw nothing different.
I'm a bit confused. Are you trying to install the Nagios plugins package for your Core installation? NRPE is an agent that is installed on remote machines that you want to monitor. It's not typically installed on the Nagios Core machine (though you can do that).
Here's our official document on setting up NRPE. This document was written for Nagios XI, but also applies to Nagios Core:
https://assets.nagios.com/downloads/nag ... _Agent.pdf
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Plugins Helps
Thanks for responding.
Followed the steps in the doc you provided but it failed
root@raspberrypi:/tmp/linux-nrpe-agent# ./fullinstall
Raspbian is not currently supported. Please use either Red Hat, CentOS, Oracle Linux, SUSE Enterprise, OpenSUSE, Ubuntu, or Debian.
I am using a rapsbery pi for Nagios is there another method for Raspbian?
Thank you
Tom
Followed the steps in the doc you provided but it failed
root@raspberrypi:/tmp/linux-nrpe-agent# ./fullinstall
Raspbian is not currently supported. Please use either Red Hat, CentOS, Oracle Linux, SUSE Enterprise, OpenSUSE, Ubuntu, or Debian.
I am using a rapsbery pi for Nagios is there another method for Raspbian?
Thank you
Tom
Re: Plugins Helps
Again, if you could shed some light on exactly what you're looking to achieve we will be able to give a better answer.
https://assets.nagios.com/downloads/nag ... tions.html
The NRPE guide on this Raspberry Pi forum post looks a little more modern:
https://www.raspberrypi.org/forums/view ... 6&t=105002
That file is (I believe) intended to be a Nagios object definition.kwhogster wrote: The instructions told me to do this command
vi /etc/nagios3/conf.d/nrpe.cfg this is not valid I am running nagios 4.1.1
I tried to find the file no luck not sure what this file ins
https://assets.nagios.com/downloads/nag ... tions.html
The NRPE guide on this Raspberry Pi forum post looks a little more modern:
https://www.raspberrypi.org/forums/view ... 6&t=105002
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Plugins Helps
root@raspberrypi:/tmp/linux-nrpe-agent# ls /usr/local/nagios/etc
cgi.cfg htpasswd.users nagios.cfg~ resource.cfg
cgi.cfg~ nagios.cfg objects resource.cfg~
I do not have a folder named hosts or services as you can see.
looking at the raspberry nrpe instructions now
I started the process from the link provided
No luck
the ,/configure failed at the end could not find SSL libraries.
cgi.cfg htpasswd.users nagios.cfg~ resource.cfg
cgi.cfg~ nagios.cfg objects resource.cfg~
I do not have a folder named hosts or services as you can see.
looking at the raspberry nrpe instructions now
I started the process from the link provided
No luck
the ,/configure failed at the end could not find SSL libraries.
Re: Plugins Helps
Try running the following command first:
Did this help?
Code: Select all
sudo apt-get install openssl libssl-dev
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugins Helps
root@raspberrypi:/tmp/nrpe-3.0# sudo apt-get install openssl libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version.
openssl set to manually installed.
The following NEW packages will be installed:
libssl-dev libssl-doc
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,223 kB of archives.
After this operation, 6,245 kB of additional disk space will be used.
Err http://raspbian.mirrors.wvstateu.edu/raspbian/ jessie/main libssl-dev armhf 1.0.1k-3+deb8u1
404 Not Found
Err http://raspbian.mirrors.wvstateu.edu/raspbian/ jessie/main libssl-doc all 1.0.1k-3+deb8u1
404 Not Found
E: Failed to fetch http://raspbian.mirrors.wvstateu.edu/ra ... _armhf.deb 404 Not Found
E: Failed to fetch http://raspbian.mirrors.wvstateu.edu/ra ... u1_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version.
openssl set to manually installed.
The following NEW packages will be installed:
libssl-dev libssl-doc
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,223 kB of archives.
After this operation, 6,245 kB of additional disk space will be used.
Err http://raspbian.mirrors.wvstateu.edu/raspbian/ jessie/main libssl-dev armhf 1.0.1k-3+deb8u1
404 Not Found
Err http://raspbian.mirrors.wvstateu.edu/raspbian/ jessie/main libssl-doc all 1.0.1k-3+deb8u1
404 Not Found
E: Failed to fetch http://raspbian.mirrors.wvstateu.edu/ra ... _armhf.deb 404 Not Found
E: Failed to fetch http://raspbian.mirrors.wvstateu.edu/ra ... u1_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Re: Plugins Helps
Hello
I decided to move to running Nagios Core 4.1.1 on Ubuntu Server 16.04.1
I have the plugins installed but still do not see any difference
I will try to add a plugin that I found later this weekend
Thanks
I decided to move to running Nagios Core 4.1.1 on Ubuntu Server 16.04.1
I have the plugins installed but still do not see any difference
I will try to add a plugin that I found later this weekend
Thanks
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Plugins Helps
Are you still experiencing issues?kwhogster wrote:I have the plugins installed but still do not see any difference
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Plugins Helps
Hello
I am making some headway on this
I used these instructions to setup NRPE
http://xmodulo.com/nagios-remote-plugin ... linux.html
I am stuck on this section
Step Three: Adding Host and Command Definition
Next, define remote host(s) and commands to execute remotely on them.
The following shows sample definitions of a remote host a command to execute on the host. Naturally, your configuration will be adjusted based on your requirements. The path to the file is slightly different for Debian-based and RedHat-based systems. But the content of the files are identical.
On Debian, Ubuntu or Linux Mint:
# vim /etc/nagios3/conf.d/nrpe.cfg
On CentOS, Fedora or RHEL:
# vim /etc/nagios/objects/nrpe.cfg
It wants to define a HOST and SERVICE in the NRPE.CFG file
I am running Nagios 4.1.1 Core on Ubuntu Server 16.04.1
Do not have the above folders
My NRPE.CFG file is located here /etc/Nagios/nrpe.cfg
It does not have any sample HOST or SERVICE entries
Not sure what to do next
Any ideas?
Thank you
Tom
I am making some headway on this
I used these instructions to setup NRPE
http://xmodulo.com/nagios-remote-plugin ... linux.html
I am stuck on this section
Step Three: Adding Host and Command Definition
Next, define remote host(s) and commands to execute remotely on them.
The following shows sample definitions of a remote host a command to execute on the host. Naturally, your configuration will be adjusted based on your requirements. The path to the file is slightly different for Debian-based and RedHat-based systems. But the content of the files are identical.
On Debian, Ubuntu or Linux Mint:
# vim /etc/nagios3/conf.d/nrpe.cfg
On CentOS, Fedora or RHEL:
# vim /etc/nagios/objects/nrpe.cfg
It wants to define a HOST and SERVICE in the NRPE.CFG file
I am running Nagios 4.1.1 Core on Ubuntu Server 16.04.1
Do not have the above folders
My NRPE.CFG file is located here /etc/Nagios/nrpe.cfg
It does not have any sample HOST or SERVICE entries
Not sure what to do next
Any ideas?
Thank you
Tom