Page 1 of 1
How to handle IP ban in Nagios
Posted: Sat Jan 25, 2014 6:25 am
by chitrangada
Hi
My IP is getting banned from a website. I am using check_http plugin to monitor host and enabled verbose. E.g.
cmd: /usr/lib/nagios/plugins/check_http -H $HOSTNAME$ -p 80 -v
o/p: What happened?
The owner of this website (<host_name>) has banned your IP address ().
So could you please tell about handling IP ban in Nagios?
Thanks for hearing me.
Re: How to handle IP ban in Nagios
Posted: Sun Jan 26, 2014 10:09 pm
by tmcdonald
It could be that you set your check interval low (1 minute) and that tripped their IP banning software. Or even if you left it at the default 5 minutes, they could have their software tuned to ban that as well. If it is your own website I would check with whoever manages it or the hosting company. If it is another website you can try talking to the owner and see if they will set up an exception for you.
Re: How to handle IP ban in Nagios
Posted: Wed Jan 29, 2014 7:02 am
by chitrangada
Okay, Thanks for your reply.
I had set it to 1min now thinking to reset it to 5mins.
Re: How to handle IP ban in Nagios
Posted: Wed Jan 29, 2014 11:16 am
by abrist
Yeah, one minute may be too low, try 5 or 10 minutes.
Re: How to handle IP ban in Nagios
Posted: Wed Jan 29, 2014 11:26 am
by tmcdonald
I will leave this thread open until we hear back from you on the success/failure of this setting, otherwise in a few days I'll close this thread.
Re: How to handle IP ban in Nagios
Posted: Fri Jan 31, 2014 11:45 pm
by chitrangada
Thanks for hearing my word.
Btw, I tried with following values but still my IP is getting banned.
1. check_interval - 20mins
2. retry_interval - 4mins
3. max_check_attempts - 5
Re: How to handle IP ban in Nagios
Posted: Mon Feb 03, 2014 10:32 am
by tmcdonald
In that case you might need to check with the webmaster, since you are probably still banned.