Search found 7 matches

by KalimAlRazif
Wed Sep 26, 2018 3:45 pm
Forum: Open Source Nagios Projects
Topic: [solved] Socket timeout madness
Replies: 11
Views: 5056

Re: Socket timeout madness

I'm feeling sooooooo stupid right now! :oops: I mess up the ip address configs when I tried to change from fqdn to ip, now I'm realizing just now when I cover the ip on gimp to send you the screenshot! :oops: Sorry for the inconveniences :oops: and a BIG THANK YOU for your patience and support :oops...
by KalimAlRazif
Wed Sep 26, 2018 3:30 pm
Forum: Open Source Nagios Projects
Topic: [solved] Socket timeout madness
Replies: 11
Views: 5056

Re: Socket timeout madness

Sure:


For example ssh is "failing"

Code: Select all

./check_ssh -H remote_ip
SSH OK - OpenSSH_7.2p2 Ubuntu-4ubuntu2.2 (protocol 2.0) | time=0.186555s;;;0.000000;10.000000
by KalimAlRazif
Mon Sep 24, 2018 1:09 pm
Forum: Open Source Nagios Projects
Topic: [solved] Socket timeout madness
Replies: 11
Views: 5056

Re: Socket timeout madness

the output of the command, executed from nagios host root@nagios:~# nmap -P0 ip_of_one_of_the_failed_hosts Starting Nmap 6.00 ( http://nmap.org ) at 2018-09-24 14:04 EDT Nmap scan report for ipXXX.ip-XX-XX-XX.net (ip_of_one_of_the_failed_hosts) Host is up (0.090s latency). Not shown: 996 closed port...
by KalimAlRazif
Wed Sep 19, 2018 9:38 am
Forum: Open Source Nagios Projects
Topic: [solved] Socket timeout madness
Replies: 11
Views: 5056

Re: Socket timeout madness

No way :-( using only IP address on configs did not work :-(
by KalimAlRazif
Wed Sep 19, 2018 9:26 am
Forum: Open Source Nagios Projects
Topic: [solved] Socket timeout madness
Replies: 11
Views: 5056

Re: Socket timeout madness

And the nagios service was restarted after making these changes, correct? What options are running with the tcpdump ? I would update it to capture port 53 traffic and also the IP addresses of the that the hosts names we pointing at. Can you share the config files that include the check and command ...
by KalimAlRazif
Tue Sep 18, 2018 7:43 am
Forum: Open Source Nagios Projects
Topic: [solved] Socket timeout madness
Replies: 11
Views: 5056

Re: Socket timeout madness

Are the configured checks configured to use the IP address or hostname of the destination? How exactly are you running the plugins and tcpdump on the command line? If the tcpdump is capturing only a specific port or IP address and the configured checks fail due to a DNS issue, this could produce th...
by KalimAlRazif
Sat Sep 15, 2018 4:24 pm
Forum: Open Source Nagios Projects
Topic: [solved] Socket timeout madness
Replies: 11
Views: 5056

[solved] Socket timeout madness

Hi, My nagios 4.2.1 throws a timeout socket on certain hosts, with nrpe and ssh checks, I put a tcp dump on nagios server and one of the affected remote servers, if nagios attempt the check no traffic is detected but if I perform the check via normal shell the tcp dump on both machices detect traffi...