Page 4 of 5
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 2:17 pm
by donnyforbes
I think that changed fixed it. I am seeing different things now. See the screen shot
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 2:20 pm
by donnyforbes
THANK YOU SO MUCH THAT FIXED IT!!!!!! Now not to notification : )

Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 2:35 pm
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?
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 2:44 pm
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
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 2:45 pm
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.
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 2:52 pm
by tgriep
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 2:59 pm
by donnyforbes
I found this and got it
https://www.nagios.org/downloads/nagios-plugins/
do you have instruction on installing it?
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 3:13 pm
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
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 3:52 pm
by donnyforbes
Got all working. I will look into the check_ping plugin stuff.. thanks
Re: No output on stdout) stderr: connection refused
Posted: Wed Jun 21, 2017 4:20 pm
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