No output on stdout) stderr: connection refused

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

I think that changed fixed it. I am seeing different things now. See the screen shot
Attachments
Capture.PNG
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

THANK YOU SO MUCH THAT FIXED IT!!!!!! Now not to notification : ) :D
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

I do have one question.

I will need to setup notification for when a system goes down. My question is how do I set this up for windows and linux?

(Example)
what service do i add for ping and what is the intervals.....for 80% does this make since?
I will need to set this up on all windows and Linux machine.

How would I do this?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: No output on stdout) stderr: connection refused

Post by tgriep »

Take a look at these links for an example of check_ping host check and the command line options for the check_ping plugin.
https://stackoverflow.com/questions/267 ... check-ping
https://www.monitoring-plugins.org/doc/ ... _ping.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

One thing I do notice is I have about 3 Linux machine showing me the following error, however the others are working.
Please see the attachment for the error message.
Attachments
Capture.PNG
Capture.PNG (11.64 KiB) Viewed 2254 times
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: No output on stdout) stderr: connection refused

Post by tgriep »

Be sure to check out our Knowledgebase for helpful articles and solutions!
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

I found this and got it
https://www.nagios.org/downloads/nagios-plugins/

do you have instruction on installing it?
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

Code: Select all

[root@ernestine downloads]# find / -name nrpe
find: File system loop detected; `/var/named/chroot/var/named' is part of the same file system loop as `/var/named'.
/root/downloads/nrpe-3.1.0/src/nrpe
/usr/local/nagios/bin/nrpe
[root@ernestine downloads]#
I don't see the plugin installed on this server. to install the plug in is it just
./configure
make install
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

Got all working. I will look into the check_ping plugin stuff.. thanks
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: No output on stdout) stderr: connection refused

Post by donnyforbes »

I found this link http://linux.101hacks.com/unix/check-ping/ and it seems really good. What I need to know is the following.
I ran this command from my remote server

Code: Select all

[root@huey libexec]# ./check_ping -H 192.168.1.186 -w 10,2% -c 20,5% -t 5
PING OK - Packet loss = 0%, RTA = 0.30 ms|rta=0.301000ms;10.000000;20.000000;0.000000 pl=0%;2;5;0
My question is I am not to clear on what file I need to modify to add the check_ping command or service to?
can you assist me with this?

Thanks
Locked