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.

Slides:



Advertisements
Similar presentations
Nagios: An introduction and Brief Tutorial
Advertisements

© 2009 GroundWork Open Source, Inc. PROPRIETARY INFORMATION: Information contained herein is not for use or disclosure outside of GroundWork Open Source,
Bangkok, Thailand An Introduction intERLab at AIT Network Management Workshop March – Bangkok, Thailand Hervey Allen & Phil Regnauld.
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Network & System Monitoring with Nagios & Cacti Kevin Mueller.
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.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Operating Systems Concepts 1/e Ruth Watson Chapter 11 Chapter 11 Network Maintenance Ruth Watson.
M. Bechtel, S. Blümel, A. Quignon1 Linux Network Server Group: Nagios Marc Bechtel Sebastian Blümel Alexandre Quignon.
1  Teacher : KIM Bunthoeurn  Group 3  Group members: o ENG Phally o CHHENG Sounly o POV Sopheap o SRORNG Voleak o NGET Phanny  Topic: Company description.
Chabot College ELEC Name Resolution.
R. Lange, M. Giacchini: Monitoring a Control System Using Nagios Monitoring a Control System Using Nagios Ralph Lange, BESSY – Mauro Giacchini, LNL.
Event Viewer Was of getting to event viewer Go to –Start –Control Panel, –Administrative Tools –Event Viewer Go to –Start.
G4 Control and Management Solution for Data- Centers and Computer Rooms.
DHCP Server © N. Ganesan, Ph.D.. Reference DHCP Server Issues or leases dynamic IP addresses to clients in a network The lease can be subject to various.
DHCP Dynamic Host Configuration Protocol.
Managing DHCP. 2 DHCP Overview Is a protocol that allows client computers to automatically receive an IP address and TCP/IP settings from a Server Reduces.
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 (
Chapter 2 Applying Practical Automation Speaker : Chuang-Hung Shih Date :
Passive Monitoring with Nagios Jim Prins
Router Basics For Netplay. What’s it do? A Router takes the internet address from the outside world (the one you would have without a router plugged in)
NOC TOOLS rancid AfNOG Cairo, SI-E, 4 of 5 Sunday Folayan.
Your university or experiment logo here Nagios: An introduction and Brief Tutorial Chris Brew SciTech/PPD.
Unix Linux Administration II Class 10: Shell prompts and functions.
Josh Riggs Utilizing Open Source Network Monitoring.
Practical Web Management Christopher Gutteridge IWMW 2009.
Weekly Report By: Devin Trejo Week of May 30, > June 5, 2015.
workshop eugene, oregon Nagios Network Design and Operations 24 July 2009
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 (
Zone Properties. Zone Properties Continued Aging allows zone to remove “stale” or “old” records for clients who have not updated within a certain period.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
OUT AND UP TEAM BUILDING AND OUTDOOR ACTIVITIES CENTRE.
1 CSC111H Client-Server: An Introduction Dennis Burford
Deploying a Web Application Presented By: Muhammad Naveed Date:
TELE 301 Lecture 10: Scheduled … 1 Overview Last Lecture –Post installation This Lecture –Scheduled tasks and log management Next Lecture –DNS –Readings:
Rational Configuration Design John Murphy To Prevent Irrational Problem Solving.
11 Insert Agency Name Time and Labor Implementation Meeting Insert Date of Meeting.
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.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 5: Managing and Monitoring DHCP.
1 Implementing Monitoring and Reporting. 2 Why Should Implement Monitoring? One of the biggest complaints we hear about firewall products from almost.
Nagios The monitoring tool. Why ? Nagios is a powerful, modular network monitoring system that can be used to monitor many network services like smtp,
Fall 2014 MATH 250: Calculus III. Course Topics Review: Parametric Equations and Polar Coordinates Vectors and Three-Dimensional Analytic Geometry.
NAGIOS 1. Introduction A key measurement tool for actively monitoring availability of devices and services. Possible the most used open source network.
Advanced Legal Writing Seminar: Wednesdays, 10:00 p.m. EST Office Hours: Mondays from 3 – 5 p.m. EST, and by appointment AIM sign-in: cssouthall
9: Troubleshooting Your Network
2010 These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
NetTech Solutions Common Connectivity Problems Lesson Eight.
Inside GOC Soichi Hayashi Software Engineer. Hardware VM Hosts – Production (B-town & Indi) – Dev & ITB (B-town) LDAP Server (389) Internal.grid.iu.edu.
1 CMPT 471 Networking II DNS © Janice Regan,
1 Grid Monitoring with Nagios Aries Hung, Joanna Huang, Felix Lee, Min Tsai ASGC WLCG T2 Asia Workshop TIFR, Dec 2, 2006.
IOS Boot Procedure Can be set in Global Config –Router(config)#boot system flash If not in NVRAM as to where to get IOS, default is Flash If not in Flash,
2010 NAGIOS APRICOT 2010 Kuala Lumpur, Malaysia.
Run the on your PC to start the firmware configuration process Run IP Config Tool.
Queensland University of Technology Nagios – an Open Source monitoring solution and it’s deployment at QUT.
APACHE INSTALL Linux: CentOS 6.5 WHAT IS APACHE Apache is an open source application which is governed by the GNU licensing for use and alteration of.
Owen McShane Northgrid systems manager Christmas talk Dec 2006.
2008 Taipei, Taiwan An Introduction APRICOT 2008 Network Management Workshop February – Taipei, Taiwan Hervey Allen & Phil.
1 Dr. Tom Hicks Computer Science Department Trinity University 1.
Nagios FTW TriLUG 8/10/06 Presented by: Jason Faulkner Ian Kilgore.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
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.
Objects Mike Weber
Adding Objects To Nagios 3.0
Presentation transcript:

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 service or host becomes unavailable In fact, it can inform you, the Sysadmin, your best friend, and even run commands to try to bring a system back up

Nagios config The main configuration file is “nagios.cfg” in /etc –cfg_file=/etc/contactgroups.cfg –cfg_file=/etc/contacts.cfg –cfg_file=/etc/dependencies.cfg –cfg_file=/etc/escalations.cfg –cfg_file=/etc/hostgroups.cfg –cfg_file=/etc/hosts.cfg –cfg_file=/etc/services.cfg –cfg_file=/etc/timeperiods.cfg These are much like #include statements, allowing you to structure your files.

Nagios.cfg There are a number of other controls for nagios, set through flags. These are beyond the scope of my presentation Next, we must set up a plan for what nagios will monitor

Monitoring plan Our main server hosts various services: –Mail –DNS –DHCP Our second server hosts: –DNS slave –WWW – apache –NFS shares

Hosts.cfg define host{ usegeneric-host; Name of host template host_nameserver1; name of computer aliasserver1.localdomain; canonical name address ; ip address check_commandcheck-host-alive; defined in commands.cfg max_check_attempts10; used when check fails notification_interval60; how long between notification events notification_period24x7; defined in timeperiods.cfg notification_optionsd,u,r; } Note that the services are not checked in this file. When the check command fails, the services associated are not checked

Services.cfg define service{ usegeneric-service; template host_nameserver1; defined in hosts.cfg service_descriptionPING; is_volatile0 check_period24x7 max_check_attempts3 normal_check_interval5 retry_check_interval1 contact_groupspeoplewhocare;defined in contactgroups notification_interval60 notification_period24x7 notification_optionsc,r check_commandcheck_ping!100.0,20%!500.0,60% } This pings the server, and notifies if the ping fails

Commands Installed with nagios, have various formats. When they return a failure, nagios marks that against the check attempts.

Contacts.cfg define contact{ contact_namenagios aliasNagios Admin service_notification_period24x7 host_notification_period24x7 service_notification_optionsw,u,c,r host_notification_optionsd,u,r service_notification_commandsnotify-by- host_notification_commandshost-notify-by- } Note: a contact can have different notification than a host It may be a good idea to have go to an outside address

Contactgroups.cfg define contactgroup{ contactgroup_namecrit-admin aliascritical services membersRoot } define contactgroup{ contactgroup_namepeoplewhocare aliasminions membersnagios; defined in contacts } A host refers a contactgroup, which contains contacts who get notified according to their notification call

Timeperiods.cfg define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 08:00-17:00 tuesday 08:00-17:00 wednesday 08:00-17:00 thursday 08:00-17:00 friday 08:00-17:00 } This allows for anouncement only during certain times. Maybe you don’t want your pager going off at night?

Awesome tactics Oh noes, the service is down! –So, try to stop and start it –Then get a person involved Perhaps we have something like snort that should signal –We can look at the signal with a script run by nagios, which can then signal with the nagios method

Thus ends the Nagios Brief Everyone go back to their stuff which is not paying attention