Hello to all,
i'm new to nagios and try to refresh my Linux knowlege, ok my english isn't that good too.
How should i begin?
I'm running nagios 4.11core on Ubuntu 15.10.
(http://www.unixmen.com/how-to-install-n ... ntu-15-10/)
Check host alive is checking all the Server i want to Monitor.
My next step was that i installed nsclient ++ on a Windows Server. (all Server are Windowsserver)
I read that NRPE is not in the plugin package.
so installed it like
$ sudo apt-get install nagios-nrpe-server nagios-plugins
(I think i installed it without ssh.)
I think my Problem ist now that i have 2 plugins Directorys?
/usr/lib/nagios/plugins$ (with check_nrpe)
/usr/local/nagios/libexec$ (without)
my nrpe.cfg ist here /etc/nagios$ but some documentations told me it should be :/usr/local/nagios/etc$
where my nagios.cfg lays.
First question: did i to much installations?
is it possible to deinstall one or is it better to Change some path.
But who tells my nagios to watch in this or this plugin Folder?
./check_nrpe -H 1x.xx.x.x -n
I (0.4.4.15 2015-11-25) seem to be doing fine...
and this is the error i get on nagios
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
I would be very happy, someone takes my Hand and helps me.
talk to me like you would with your son.
Thx a lot Peterbond
Beginner questions and Plugins
Re: Beginner questions and Plugins
Everyone has to start somewhere. We'll do our best to help you out.Peterbond wrote:Hello to all,
i'm new to nagios and try to refresh my Linux knowlege, ok my english isn't that good too.
The package available on apt-get may behave differently.. if you did a source installation of NRPE, it would have installed in the /usr/local/nagios/libexec directory.Peterbond wrote: I think my Problem ist now that i have 2 plugins Directorys?
The NRPE cfg won't be used unless you're trying to monitor this server. It looks like you just want to use check_nrpe, so you shouldn't have to worry too much about it.Peterbond wrote:my nrpe.cfg ist here /etc/nagios$ but some documentations told me it should be :/usr/local/nagios/etc$
I don't think so.Peterbond wrote: First question: did i to much installations?
I would move check_nrpe to /usr/local/nagios/libexec.Peterbond wrote:is it possible to deinstall one or is it better to Change some path.
The commands.cfg file will tell it where to look.Peterbond wrote:But who tells my nagios to watch in this or this plugin Folder?
This should go away after you move check_nrpe as described above.Peterbond wrote:and this is the error i get on nagios
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
I don't have kids, but I do have dogs. I won't talk to you like I talk to the dogs though.Peterbond wrote:I would be very happy, someone takes my Hand and helps me.
talk to me like you would with your son.
Let me know if you have anymore questions. Thanks!
Former Nagios Employee.
me.
me.
Re: Beginner questions and Plugins
Tanks a lot
can i use this thread for further queitions about NRPE`?
Do you know a good Website with good examples for NRPE?
nsclient.org and i, we don't get friends?
can i use this thread for further queitions about NRPE`?
Do you know a good Website with good examples for NRPE?
nsclient.org and i, we don't get friends?
Re: Beginner questions and Plugins
Sure, I don't know of a site that has examples.
What are you trying to do? I'll write up an example based off of that.
What are you trying to do? I'll write up an example based off of that.
Former Nagios Employee