Archive

Posts Tagged ‘IP’

iptables block country script

April 25th, 2016 No comments

My own server is daily attacked by SSH scanner and bruteforce scripts.
My fail2ban solution

Read more…

nlb load balance linux

January 28th, 2010 3 comments

Load balancing can help with almost any kind of service, including HTTP, DNS, FTP, POP/IMAP, RDP and SMTP.
There are a number of open source load balancing applications, but one simpleĀ  command-line load balancer, balance, remains one of the most popular available.
Description: simple but powerful generic TCP proxy
Long Description: Balance is a simple but powerful generic TCP proxy with round-robin load balancing and failover mechanisms. Its behaviour can be controlled at runtime using a simple command line syntax.

Read more…

Parse nagios hosts.cfg

August 7th, 2009 No comments

I am in a project to import over 600 servers from old nagios 2.0 to nagios 3.0 / Centreon.
So the sysadmins here do not put the address field inside the hosts.cfg, so I either ping 500 servers copy
and paste the IP, or I write a script that does it to me.
Here is theĀ  perl script to get IP address from hostnames
Downlaod

Categories: HowTo, Nagios, PerlScripts Tags: , , , , ,