Speech:Utility Load


 * Home
 * Semesters - Project Work by Semester
 * Information
 * [System Description]
 * Experiments - List of speech experiments

System Description

 * Hardware Setup
 * System Software
 * RedHat installation
 * Backups
 * Network Bridge
 * Utilities
 * [Ngnix Load Balancing]
 * Software Base

Nginx: What is it and why is it here?

 * Nginx is a http host (in that it serves a web page like Apache) but also does Load Balancing (LB). Now, these Linux servers appear to come with a HTTP host preinstalled, so that is not the function we set out to use. Instead, Nginx was installed for its LB capabilities. Nginx has the ability to LB HTTP Requests, UDP and TCP.
 * The purpose for having installed Nginx was to Load Balance SSH Access to the Drone Servers on a Round Robin using Nginxs' TCP Stream module. Nginx is only installed on Rome and that should be the only place necessary. How this would work is from Caesar, you would ssh -p8022 rome where IPtables on Rome will route traffic from 8022 (SSH Listening) to 8020 (Nginx listening), then Nginx would pass that traffic down 'stream' to the backend drones on port 22, as seen below.

/etc/nginx [cck27@rome nginx]$ cat nginx.conf user nginx; worker_processes auto; pid /var/run/nginx.pid;

events { worker_connections 768; # multi_accept on; }

stream { upstream backend { server asterix:22; server obelix:22; ##server miraculix:22; server idefix:22; #server traubadix:22; #server majestix:22; #server automatix:22; #server methusalix:22; #server verleihnix:22; #server rome:22; SELF #server brutus:22; NEVER #server caesar:22; NEVER

}       server { listen 8020; proxy_pass backend; }

}


 * And this works! ... well, it works once. Then SSH complains in various forms. I believe this has to do with SSHs known_hosts or perhaps SSH Identities, in that the connection keeps changing from 'Rome'. If you fix this aspect then Nginx will be fully functional. You 'Should' also be able to create a new pool, i.e.: backend_two and open another port, say 8023 (ssh) and route to a new listening for Nginxs' second pool, say 8021. This has not been tested yet however, as I can't get it to round robin more than once before SSH complains.

=Nagios Core= Ref: https://www.nagios.com
 * Please install in future semesters

For the tools we decided to install Nagios.

Nagios Core is a free and open source computer-software application that monitors systems, networks and infrastructure. Nagios offers monitoring and alerting services for servers, switches, applications and services. It alerts users when things go wrong and alerts them a second time when the problem has been resolved. It is written in C Programming Language.

Currently it provides: •	Monitoring of network services (SMTP, POP3, HTTP, NNTP, ICMP, SNMP, FTP, SSH) Monitoring of host resources (processor load, disk usage, system logs) on a majority of networking system. •	Monitoring of any hardware (like probes for temperature, alarms, etc.) which have the ability to send collected data via a network to specifically written plugins •	Monitoring via remotely run scripts via Nagios Remote Plugin Executor. •	 Remote monitoring supported through SSH or SSL encrypted tunnels. •	A simple plugin design that allows users to easily develop their own service checks depending on needs, by using their tools of choice (shell scripts, C++, Perl, Ruby, Python, PHP, C# . •	Available data graphing plugins •	Parallelized service checks •	Flat-text formatted configuration files (integrates with many config editors) •	The ability to define network host using 'parent' hosts, allowing the detection of and distinction between hosts that are down or unreachable •	Contact notifications when service or host problems occur and get resolved (via e-mail, pager, SMS )or any user-defined method through plugin system) •	The ability to define event handlers to be run during service or host events for proactive problem resolution •	Automatic log file rotation. •	Support for implementing redundant monitoring hosts •	Support for implementing performance data graphing •	Support for database backend. •	An web-interface for viewing current network status, notifications, problem history, log files, etc.

In details now: -Nagios provides monitoring of all mission-critical infrastructure components including applications, services, operating systems, network protocols, systems metrics, and network infrastructure. Hundreds of third-party addons provide for monitoring of virtually all in-house and external applications, services, and systems.

-Nagios Log Server greatly simplifies the process of searching your log data. It sets up alerts to notify you when potential threats arise, or simply query your log data to quickly audit any system. With the help of Nagios Log Server you get your entire log data in one location, with high availability and fail-over built right in. And there are no data limits.

Nagios Fusion offers our network a high degree of visibility and scalability, helping solve problems that come with multiple networks and geographical separation. It allows you to visualize multiple Nagios XI and Core servers in one location, network management becomes simplified by centralization.

Also, used for

OS monitoring - Operating System (OS) Monitoring with Nagios Nagios provides complete monitoring of desktop and server operating systems – including system metrics, service states, process states, performance counters, event logs, applications (IIS, Exchange, Apache, MySQL, etc), and services (Active Directory, DHCP, Sendmail, etc). Nagios supports monitoring of Windows, Linux, Unix, Solaris, AIX, HP-UX, and Mac OS/X operating systems. Benefits Implementing effective operating system monitoring with Nagios offers the following benefits: •	Increased server, services, and application availability •	Fast detection of network outages and protocol failures •	Fast detection of failed services, processes and batch jobs It monitors windows, linux, server monitoring, RHEL monitoring, CentOS monitoring, AIX monitoring.

Protocol Monitoring with Nagios Nagios provides complete monitoring of network protocols – including TCP/IP and UDP protocols. Implementing effective network protocol monitoring with Nagios offers increased server, services, and application availability, as well as fast detection of network outages and protocol failures. Benefits Implementing effective network protocol monitoring with Nagios offers the following benefits: •	Increased server, services, and application availability •	Fast detection of network outages and protocol failures -	SNMP monitoring, HTTP monitoring, SSH Monitoring, FTP monitoring, Protocol Monitoring and SMTP Monitoring.

Application Monitoring With Nagios includes (Web application monitoring, Application monitoring, Windows service monitoring, Tomcat monitoring, Java Monitoring, JMX Monitoring)

Nagios provides complete monitoring of applications and application state – including Windows applications, Linux applications, UNIX applications, and Web applications. Benefits Implementing effective application monitoring with Nagios offers the following benefits: •	Increased server, services, and application availability •	Fast detection of network outages and protocol failures •	Fast detection of failed services, processes and batch jobs

Database Monitoring with Nagios Nagios provides complete monitoring of database servers and databases – including availability, database and table sizes, cache ratios, and other key metrics. Benefits Implementing effective database monitoring with Nagios offers the following benefits: •	Increased application availability •	Increased database performance •	Fast detection of database outages, failures, and table corruption •	Predictive analysis of storage requirements and index performance

-	Log Monitoring and Management with Nagios includes (Log file, Syslog Monitoring, Windows Event Log Monitoring, Open Source Log Monitoring, Application Monitoring and Security Monitoring. )

Nagios provides complete monitoring and log management of application logs, log files, event logs, service logs, and system logs on Windows servers, Linux servers, and Unix servers. Nagios is capable of monitoring system logs, application logs, log files, and syslog data, and alerting you when a log pattern is detected. Benefits Implementing effective log monitoring with Nagios offers the following benefits: •	Increased security •	Increased awareness of network infrastructure problems •	Increased server, services, and application availability •	Fast detection of network outages and protocol failures •	Fast detection of failed processes, services, cron jobs, and batch jobs •	Audit compliance and regulatory compliance

Bandwidth Monitoring with Nagios Nagios provides complete bandwidth monitoring of switches and Routers via SNMP. Switches and routers can be monitored via SNMP v1, 2c, or 3 and deliver bandwidth utilization for both inbound and outbound traffic. Thousands of different network devices are enabled by default for this type of monitoring. Nagios XI makes this process even easier by allowing you to run the switch or router monitoring wizard and setup to monitor bandwidth on the device can be done in just minutes. Benefits Implementing effective monitoring of bandwidth with Nagios offers the following benefits: •	Easily find over utilized ports •	Discover possible network abusers •	Ability to track per-port bandwidth utilization and errors •	Fast detection of network outages and protocol failures