matteocorti / nagios_plugins

18 stars 7 forks source link

server timeout problem #137

Closed matteocorti closed 8 years ago

matteocorti commented 8 years ago

Original reporter: info@lignart.hu

Hi,

when I try to use check_rbl against more than one rbl server I always get x server timed out message. It seems it only succeds for the first 4-5 severs in check_rbl.ini list. If I try to check with only one server it works fine even with the ones that was timed out with more servers.

My system is an Ubuntu 14.04LTS with Nagios 4.08. I also tried version 1.3.6 but with the same result.

Attila Mesterhazy

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

I am not able to reproduce the problem.

Could you please post an example?

matteocorti commented 8 years ago

Original reporter: Mesterházy Attila info@lignart.hu

If I run:

/usr/local/nagios/libexec/check_rbl -H lignart.cloudapp.net --extra-opts=rbl@/usr/local/nagios/libexec/check_rbl.ini -t 120 -v

I get the attached result. If I run it again I get the attached second_run result. (Unfortunatelly when I tried to copy the log trac said it's a spam and rejected my comment)

If I run:

/usr/local/nagios/libexec/check_rbl -H lignart.cloudapp.net -s dnsbl.sorbs.net -t 120 -v

It works fine. Strange...

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

Hi

it seems rather a network problem as I tested the very same line on three machines in three different countries w/o any problems. With the last line you are testing one single server.

What happens if you do not perform the queries in parallel?

--workers=1

Matteo

matteocorti commented 8 years ago

Original reporter: Mesterházy Attila info@lignart.hu

The same result. Some works some time outs. I'm running it on a Microsoft Azure virtual machine.