M. Bechtel, S. Blümel, A. Quignon1 Linux Network Server Group: Nagios Marc Bechtel Sebastian Blümel Alexandre Quignon.

Slides:



Advertisements
Similar presentations
NAGIOS AND CACTI NETWORK MANAGEMENT AND MONITORING SYSTEMS.
Advertisements

Nagios: An introduction and Brief Tutorial
© 2009 GroundWork Open Source, Inc. PROPRIETARY INFORMATION: Information contained herein is not for use or disclosure outside of GroundWork Open Source,
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
ESafe Reporter V3.0 eSafe Learning and Certification Program February 2007.
HWg-PDMS: New software Poseidon & Damocles Monitoring System 1 Included on every HWg DVD since September 2009.
ActiveXperts Network Monitor Monitors servers, workstations and devices for availability Alerts and corrects.
Bangkok, Thailand An Introduction intERLab at AIT Network Management Workshop March – Bangkok, Thailand Hervey Allen & Phil Regnauld.
ActiveXperts Network Monitor Monitors servers, workstations and devices for availability Alerts and corrects.
Nagios System monitoring, the easy way. What is Nagios Nagios watches your computers through user-defined commands It can be set to inform you when a.
Nagios and Kentix System Partners - Critical Monitoring Alerts in Your Hand Tanja Lewit
How to Monitor Ingres with Open Source Tools
Network & System Monitoring with Nagios & Cacti Kevin Mueller.
INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
1 CHEP 2000, Roberto Barbera Roberto Barbera (*) Grid monitoring with NAGIOS WP3-INFN Meeting, Naples, (*) Work in collaboration with.
Network Monitoring with Nagios and other tools Wednesday, 19 July 2006 Martin B. Smith
Network Monitoring with Nagios. Joint technical meeting #2 What is a network monitoring system? A combination of hardware and software used to administer.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Security Tools CS-480b Dick Steflik. CACLS Windows NT, W2000, XP Displays or modifies access control lists (ACLs) of files.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Confidential property of Belkin International. Unlawful to copy or reproduce in any manner without the express written consent of Belkin International.
Emanuele Pasqualucci Extending AppManager Monitoring with the SNMP Toolkit.
Linux Operations and Administration
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
Papeete, French Polynesia PacNOG 5 Papeete, French Polynesia 17 June 2009 Hervey Allen.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
1 Network Statistic and Monitoring System Wayne State University Division of Computing and Information Technology Information Technology.
NMS Labs Mikko Suomi LAB1 Choose SNMP device managment software Features: –Gives Nice overview of network –Bandwith monitoring –Multible.
Your university or experiment logo here Nagios: An introduction and Brief Tutorial Chris Brew SciTech/PPD.
WhatsUp Gold v15 – WhatsUp Companion 3.7 WhatsUp Companion Extended
Unix Linux Administration II Class 10: Shell prompts and functions.
Josh Riggs Utilizing Open Source Network Monitoring.
1. A key measurement tool for actively monitoring availability of devices and services. Possible the most used open source network monitoring software.
2010 These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
Overview of MSS System Human Actors Non-Human Actors In-house developed components Third party products.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Rational Configuration Design John Murphy To Prevent Irrational Problem Solving.
Keeping Network Monitoring Current using Automated Nagios Configurations (WIP) Greg Wickham APAN July 2005.
INFN-GRID Testbed Monitoring System Roberto Barbera Paolo Lo Re Giuseppe Sava Gennaro Tortone.
Computer Emergency Notification System (CENS)
Introduction To Nagios A Linux-based Monitoring System.
11 Distributed Monitoring for Web Apps Fernando Hönig
Network Monitoring Manage your business without blowing your budget. Learn how the Calhoun ISD utilizes free “Open Source” tools for real-time monitoring.
A powerful network monitoring system
Alarm Network System Supervised by: Dr. Luai Malhis. Prepared by: Mahmoud Musa & Mustafa Assaf.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Nagios The monitoring tool. Why ? Nagios is a powerful, modular network monitoring system that can be used to monitor many network services like smtp,
NAGIOS 1. Introduction A key measurement tool for actively monitoring availability of devices and services. Possible the most used open source network.
2010 These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
1 Grid Monitoring with Nagios Aries Hung, Joanna Huang, Felix Lee, Min Tsai ASGC WLCG T2 Asia Workshop TIFR, Dec 2, 2006.
2010 NAGIOS APRICOT 2010 Kuala Lumpur, Malaysia.
Monitoring Alfresco with Nagios/Icinga Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com
Queensland University of Technology Nagios – an Open Source monitoring solution and it’s deployment at QUT.
2008 Taipei, Taiwan An Introduction APRICOT 2008 Network Management Workshop February – Taipei, Taiwan Hervey Allen & Phil.
Nagios - introduction Dhruba Raj Bhandari ( CCNA ) p Additions by Phil Regnauld.
OPEN SOURCE NETWORK MANAGEMENT TOOLS
'08 Rabat An Introduction AfNOG 2008 Network Management Workshop June 1-2 – Rabat, Morocco Hervey Allen & Phil Regnauld.
Network Management Workshop March – Bangkok, Thailand
Advisor : Quincy Wu Speaker : Xang-Ting Date : 2010/06/08
What is nagios? Version 2 8/ M.A.Newhall.
INFNGRID Monitoring Group report
Objects Mike Weber
Cloud based Open Source Backup/Restore Tool
Nagios – Our Open Source Network Management Solution
Adding Objects To Nagios 3.0
How to monitor the $H!T out of Hadoop
Presentation transcript:

M. Bechtel, S. Blümel, A. Quignon1 Linux Network Server Group: Nagios Marc Bechtel Sebastian Blümel Alexandre Quignon

M. Bechtel, S. Blümel, A. Quignon2 Table of Contents 1. Overview 2. Requirements (MYSQL, APACHE, CONFIGS…) 3. A short introduction to Nagios 4. Nagios-Configuration with Fruity 5. Installation and Configuration Problems 6. Nagios in Action 7. Nagios with SNMP and Cisco

M. Bechtel, S. Blümel, A. Quignon3 Requirements YUM-Installation Manager  MySQL  Apache  PHP  Postfix Self installed  Nagios 2.5  Fruity 1 RC 1./chkconfig --add httpd./chkconfig --level 235 httpd on./chkconfig –add mysql./chkconfig --level 235 mysql on./chkconfig –add nagios./chkconfig --level 235 nagios on 6 different runlevels 0 - Halt the system 1 - Single-user mode 2 - Multi-user mode (without NFS) 3 - Multi-user mode 5 - Multi-user mode, graphical login 6 - Reboot the system

M. Bechtel, S. Blümel, A. Quignon4 Table of Contents 1. Overview 2. Requirements (MYSQL, APACHE, CONFIGS…) 3. A short introduction to Nagios 4. Nagios-Configuration with Fruity 5. Installation and Configuration Problems 6. Nagios in Action 7. Nagios with SNMP and Cisco

M. Bechtel, S. Blümel, A. Quignon5 What is Nagios? Nagios is System and network monitoring application  Developed by Ethan Galstad  Formerly know as Netsaint (2002)  Nagios is open source Software (General Public License)  current verion is 2.5 „Nagios is quite powerful and flexible, but unfortunately its not very friendly to newbies. Why? Because it takes a lot of work to get it installed and configured properly. That being said, if you stick with it and manage to get it up and running, you’ll never want to be without it. :-)“

M. Bechtel, S. Blümel, A. Quignon6 Monitoring of… Nagios can supervise:  Hosts (Windows, Linux, …) and host resources (Disk Usage, Load)  Services (FTP, Mail, HTTP, …)  SNMP Traps  other hardware devices (like temperature sensors, filling level indicator,…) In case of emergency send notifications :  , pager, SMS  any user-defined method through plug-in system

M. Bechtel, S. Blümel, A. Quignon7 Plug-in concept How is this achieved?  build in check services (DNS, SNMP, SMTP, ICMP,…)  by simple plug-in design that allows users to easily develop their own service checks Upside: You can monitor just about anything you can think of! Downside: Nagios cannot produce graphs of collected data because it has no further information about what you are monitoring!

M. Bechtel, S. Blümel, A. Quignon8 Configuring Nagios As all Linux Software Nagios heavily relies on config files! We will have a (short) look at:  httpd.conf  nagios.cfg  hosts.cfg & hostgroup.cfg  contacts.cfg & contactsgroup.cfg  services.cfg and commands.cfg Do I have to configure all by hand?

M. Bechtel, S. Blümel, A. Quignon9 Configuration-Files

M. Bechtel, S. Blümel, A. Quignon10 Apache: httpd.conf ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCgi AllowOverride AuthConfig Order allow, deny Allow from all Alias /nagios /usr/local/nagios/share Options ExecCgi AllowOverride AuthConfig Order allow, deny Allow from all Configure Script Alias For The CGIs: default installation expects to find them accessible at Configure Alias For The HTML Files: to make the HTML files accessible via the web server

M. Bechtel, S. Blümel, A. Quignon11 Main Configuration File: nagios.cfg Location: /usr/local/nagios/etc/nagios.cfg Refers to all other config files First file read by the Nagios process Extract: log_file=/var/log/nagios/nagios.log cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/commands.cfg

M. Bechtel, S. Blümel, A. Quignon12 host.cfg and hostgroup.cfg define host { host_name FTP alias FTP Server address check_command Ping check_period 24x7 contact_groups LNS } define hostgroup{ hostgroup_name AllServers alias all Server members FTP } Description : A host definition is used to define a physical server, workstation, device, etc. that resides on your network. Description : A host group definition is used to group one or more hosts together for display purposes in the CGIs.

M. Bechtel, S. Blümel, A. Quignon13 contactgroups.cfg and contacts.cfg define contactgroup{ contactgroup_name LNS alias ThisIsATestGroup members Marc } define contact{ contact_name Marc alias Marc Bechtel host_notification_period 24x7 host_notification_commands send_notification_mail_host } Description : A contact group definition is used to group one or more contacts together for the purpose of sending out alert/recovery notifications. Description : A contact definition is used to identify someone who should be contacted in the event of a problem on your network.

M. Bechtel, S. Blümel, A. Quignon14 Configuration-Files

M. Bechtel, S. Blümel, A. Quignon15 services.cfg and commands.cfg define service { service_description Ping check_command Ping max_check_attempts 2 contact_groups LNS } define command{ command_name Ping command_line /usr/local/nagios/libexec/ch eck_icmp $HOSTADDRESS$ -c 500,10% } Description : A service definition is used to identify a "service" that runs on a host. Description : How to perform a service check.

M. Bechtel, S. Blümel, A. Quignon16 Verifying Your Nagios Configuration: Pre-Flight Check with the –v option /usr/local/nagios/bin/nagios -v Nagios verifies that you have defined the necessary data relationships for monitoring. 1. Verify that all contacts are a member of at least one contact group. 2. Verify that all contacts specified in each contact group are valid. 3. Verify that all hosts are a member of at least one host group. 4. Verify that all hosts specified in each host group are valid. 5. Verify that all hosts have at least one service associated with them. …

M. Bechtel, S. Blümel, A. Quignon17 Table of Contents Overview Requirements (MYSQL, APACHE, CONFIGS…) A short introduction to Nagios Nagios-Configuration with Fruity Installation and Configuration Problems Nagios in Action Nagios with SNMP and Cisco

M. Bechtel, S. Blümel, A. Quignon18 Fruity What is Fruity?  PHP based web-frontend  Open Source project Why are we using Fruity?  Simplicity  Easy to make changes  No manual *.cfg file handling Demonstation of Fruity

M. Bechtel, S. Blümel, A. Quignon19 Table of Contents Overview Requirements (MYSQL, APACHE, CONFIGS…) A short introduction to Nagios Nagios-Configuration with Fruity Installation and Configuration Problems Nagios in Action Nagios with SNMP and Cisco

M. Bechtel, S. Blümel, A. Quignon20 Fruity Configuration Problems SELinux blocking write access for Fruity File missing:  /usr/local/nagios/objectconf/oconf.cfg Two processes at shutdown

M. Bechtel, S. Blümel, A. Quignon21 Table of Contents Overview Requirements (MYSQL, APACHE, CONFIGS…) A short introduction to Nagios Nagios-Configuration with Fruity Installation and Configuration Problems Nagios in Action Nagios with SNMP and Cisco

M. Bechtel, S. Blümel, A. Quignon22 Monitoring What is offered by Nagios ?  Host Monitoring  Service Monitoring  Status Map  3D Map

M. Bechtel, S. Blümel, A. Quignon23 Reporting Nagios Standard  Trends  Availability  Alert Diagrams  Notification / Event Log PNP  Performance Diagrams

M. Bechtel, S. Blümel, A. Quignon24 Notification Mail command Miranda Mailbox Root

M. Bechtel, S. Blümel, A. Quignon25 Table of Contents Overview Requirements (MYSQL, APACHE, CONFIGS…) A short introduction to Nagios Nagios-Configuration with Fruity Installation and Configuration Problems Nagios in Action Nagios with SNMP and Cisco

M. Bechtel, S. Blümel, A. Quignon26 What’s a MIB Used to manage devices in a Network Hierarchical database All objects are addressed through a OID (Object Identifier) Is used by SNMP (Simple Network Management Protocol) There are Standard and Enterprise MIBs  IF-MIB : RFC 2863  IP-MIB : RFC 4293  CISCO-PRODUCTS-MIB:

M. Bechtel, S. Blümel, A. Quignon27 Cisco Catalyst 2950 SNMP Check MIB-II: RFC 1213 OID: Values: 1, 2, 3 (up, down, testing) Command:  check_snmp -H o C public -c 1:1

M. Bechtel, S. Blümel, A. Quignon28 QUESTIONS