[hobbit] SMTP and FTP Services Red
I tried putting all IP's and hostname's into their respective hosts files and changing the resolution order but it didn't help. It appears the server on the far side is just plain slow to respond with a 220. The only thing that would help is if I can set the time delay (wait 15 seconds before failing). I think this would be a good feature to have if it doesn't exist already.
Thanks anyways.
On 11/29/06, PNIXON at ci.somerville.ma.us <PNIXON at ci.somerville.ma.us> wrote:
Did you try putting an entry for Hobbit server into their hosts files? I think the delay is from the Server trying to do a reverse lookup on the IP Address.
You may also have to change the order in which they resolve DNS....
in /etc/nsswitch.conf (or whatever is appropriate for your distribution)
change from hosts: db files nisplus nis dns to hosts: files nisplus nis dns db
*From:* Geoff Hallford [mailto:geoff.hallford at gmail.com] *Sent:* Wednesday, November 29, 2006 3:46 PM *To:* hobbit at hswn.dk *Subject:* [hobbit] SMTP and FTP Services Red
Hello,
On a few of our servers the SMTP and FTP services are RED but when I telnet to them, they do show the proper 220 status good. They are quite slow to respond though, taking sometimes 10-15 seconds. Is there anyway to get Hobbit to pause and wait for this? If not, how long does it wait before it shows a red status?
Thank you very much for your help.
Geoff Hallford
-- 'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson from Pulp Fiction
On Friday 01 December 2006 00:17, Geoff Hallford wrote:
I tried putting all IP's and hostname's into their respective hosts files and changing the resolution order but it didn't help. It appears the server on the far side is just plain slow to respond with a 220. The only thing that would help is if I can set the time delay (wait 15 seconds before failing). I think this would be a good feature to have if it doesn't exist already. you can add a --timeout flag in server/etc/hobbitlaunch.cfg [bbnet] ENVFILE /home/users/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse --timeout=30 LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Stef
Hi Stef,
That appears to be a global setting for all checks, is there a way to do it for only 1 specific test (such as smtp)?
Thanks.
On 12/1/06, Stef Coene <stef.coene at docum.org> wrote:
On Friday 01 December 2006 00:17, Geoff Hallford wrote:
I tried putting all IP's and hostname's into their respective hosts files and changing the resolution order but it didn't help. It appears the server on the far side is just plain slow to respond with a 220. The only thing that would help is if I can set the time delay (wait 15 seconds before failing). I think this would be a good feature to have if it doesn't exist already. you can add a --timeout flag in server/etc/hobbitlaunch.cfg [bbnet] ENVFILE /home/users/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse --timeout=30 LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- 'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson from Pulp Fiction
Geoff Hallford wrote:
That appears to be a global setting for all checks, is there a way to do it for only 1 specific test (such as smtp)?
Nope.
http://www.hswn.dk/hobbiton/2006/08/msg00814.html
-- Tom Georgoulias Systems Engineer McClatchy Interactive
how about badsmtp= badftp= ?
On 12/1/06, Geoff Hallford <geoff at hallford.ca> wrote:
Hi Stef,
That appears to be a global setting for all checks, is there a way to do it for only 1 specific test (such as smtp)?
Thanks.
On 12/1/06, Stef Coene <stef.coene at docum.org> wrote:
On Friday 01 December 2006 00:17, Geoff Hallford wrote:
I tried putting all IP's and hostname's into their respective hosts files and changing the resolution order but it didn't help. It appears the server on the far side is just plain slow to respond with a 220. The only thing that would help is if I can set the time delay (wait 15 seconds before
failing). I think this would be a good feature to have if it doesn't exist already. you can add a --timeout flag in server/etc/hobbitlaunch.cfg [bbnet] ENVFILE /home/users/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse --timeout=30 LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- 'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson from Pulp Fiction
Yeah, I want the updates to occur as fast as possible. If I allow a 30 timeout for each service, it could potentially slowdown every test.
I have created custom services (smtp-slow) in bb-services that do not expect a '220' response and this has solved the issue. It gives a green if a connection is made and not if a '220' is given.
This is good enough for me.
Thanks everyone for you suggestions though.
On 12/1/06, Stef Coene <stef.coene at docum.org> wrote:
On Friday 01 December 2006 17:07, Geoff Hallford wrote:
Hi Stef,
That appears to be a global setting for all checks, is there a way to do it for only 1 specific test (such as smtp)? Not that I know. But is it problem if this is a global setting ?
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- 'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson from Pulp Fiction
On Saturday 02 December 2006 02:54, Geoff Hallford wrote:
Yeah, I want the updates to occur as fast as possible. If I allow a 30 timeout for each service, it could potentially slowdown every test. All network tests are done in parallel. I think per default that 254 tests are done at the same time.
Stef
participants (4)
-
geoff@hallford.ca
-
jjj863@gmail.com
-
stef.coene@docum.org
-
tomg@mcclatchyinteractive.com