+3 votes
242 views
Balancing loads with Nagwin (Nagios)

in Web Servers by (551k points)
reopened | 242 views

1 Answer

+4 votes
Best answer

image


It is increasingly common for companies to have multiple Internet outlets. Either by redundancy, load balancing or different reasons.

By distributing different services both input and output between these lines of communication and the proliferation of servers and services it becomes essential to work proactively monitoring all lines of communication.

Now we will explain how we can do this in a simple and efficient way with the NAGWIN monitoring system . The Nagwin open source monitoring system has a module for monitoring up to five routers simultaneously. The operation handles it in a very simple way.
  • Suppose we have three Internet outlets. One of TELEFONICA ARGENTINA , one of FIBERTEL CORPORATE and one last line of ADSL of ARNET PERSONAL (we agree that the companies can be the providers of each country, in this case we will take the ones that we have in Argentina today). The IP addresses of these routers could be 10.16.0.254, 10.16.0.253 and 10.16.0.252 respectively.
  • The monitoring of the routers will indicate both the internal response and the availability of Internet access through each router.
  • The base system has static routes to external Hosts, such as Google's DNS services with IP 10.0.0.1. We assign a gateway to each external static route as shown below:
External Host TELEFONICA ARGENTINA: 10.1.1.1. Gateway: 10.16.0.254

External Host FIBERTEL CORPORATE: 10.0.0.1 Gateway: 10.16.0.253

External Host ARNET PERSONAL: 10.2.2.2. Gateway: 10.16.0.252




image


  • If the internal IP of the router responds and it is possible to access the Internet through it, Nagwin shows it in the following way: "Correct monitoring of the external Router and Host"
  • If the internal IP of the router does not respond, Nagwin exposes the status as follows: "Router failed monitoring"
  • If the internal IP of the router responds but it is not possible to access the Internet through it, the Nagwin monitoring system shows it to us in the following way: "Monitoring in external Host failure alert"
In case of a failure in the monitoring we can schedule an alert by email or SMS, in addition to the alert on the screen. In this simple way every time we have a fault in some line of communication, quickly and with a simple glance we can know which of the lines is the one that has the problem and if what does not answer is the router itself or if it is of a problem in the provider.

I also wanted to remind you that with Nagwin it is possible to monitor up to 5 lines simultaneously and that there is also another control that works in a similar way, in this case we can monitor the VPN lines.
With this simple application we will have our load balancing more than oiled.

Ricardo Quagliano

by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Dec 27, 2022 in Linux/Unix by backtothefuture (551k points) | 60 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,633 questions
10,765 answers
510 comments
3 users