egeland / nagios-rbl-check

Icinga/Nagios spam blacklist check, written in python
GNU General Public License v3.0
34 stars 18 forks source link

Fix setDaemon deprecation warning in threading #27

Closed altmas5 closed 1 year ago

smashedr commented 1 year ago

I guess we never enabled Travis. Does this work on 2.7?

altmas5 commented 1 year ago

Yes, it looks like the checks are not running after the PR was created. It ran successfully using python2.7.18:

python2 -V
Python 2.7.18
python2 check_rbl.py -h 186.77.197.6 -w 1 -c 2 -d
It took 0.101176977158 seconds to get a response from the DNSBL bad.psky.me
It took 0.101493835449 seconds to get a response from the DNSBL b.barracudacentral.org
It took 0.104225873947 seconds to get a response from the DNSBL access.redhawk.org
It took 0.11198592186 seconds to get a response from the DNSBL 0spam.fusionzero.com
It took 0.114713191986 seconds to get a response from the DNSBL bl.emailbasura.org
It took 0.139295816422 seconds to get a response from the DNSBL bl.deadbeef.com
It took 0.160923957825 seconds to get a response from the DNSBL all.s5h.net
It took 0.0727479457855 seconds to get a response from the DNSBL bl.spamcop.net
It took 0.184899806976 seconds to get a response from the DNSBL bl.blocklist.de
...