For some reason the timeout flag on both check_nscp_nrpe and check_nscp is not working.
just as an example run :
check_nscp host=1.1.1.1 timeout=2
You will see it will timeout after 2 minutes instead of 2 seconds (the default 10 seconds also is not working)
check_nscp host=1.1.1.1 timeout=2
Expected Behavior
Timeout flag should work and close connection after 2 seconds if no response
Actual Behavior
connection stays open for 2 minutes before it dies.
Issue and Steps to Reproduce
For some reason the timeout flag on both check_nscp_nrpe and check_nscp is not working. just as an example run : check_nscp host=1.1.1.1 timeout=2 You will see it will timeout after 2 minutes instead of 2 seconds (the default 10 seconds also is not working)
Expected Behavior
Timeout flag should work and close connection after 2 seconds if no response
Actual Behavior
connection stays open for 2 minutes before it dies.
Details
Additional Details
NSClient++ log: