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.
How to handle IP ban in Nagios
Re: How to handle IP ban in Nagios
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.
Former Nagios employee
-
chitrangada
- Posts: 32
- Joined: Sat Aug 10, 2013 8:20 am
Re: How to handle IP ban in Nagios
Okay, Thanks for your reply.
I had set it to 1min now thinking to reset it to 5mins.
I had set it to 1min now thinking to reset it to 5mins.
Re: How to handle IP ban in Nagios
Yeah, one minute may be too low, try 5 or 10 minutes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: How to handle IP ban in Nagios
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.
Former Nagios employee
-
chitrangada
- Posts: 32
- Joined: Sat Aug 10, 2013 8:20 am
Re: How to handle IP ban in Nagios
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
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
In that case you might need to check with the webmaster, since you are probably still banned.
Former Nagios employee