Network Management with Nagios

Similar documents
Nagios User Guide. You can use apt-get to install these packages by running the following commands:

Red Hat Ceph Storage 3

Red Hat Ceph Storage 3

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier.

WMLUG July Nagios, PNP4Nagios, and NConf by Patrick TenHoopen

Wandati Richard Kagia. Open source network management

功能強大 開源免費之網路管理軟體 Nagios 安裝與應用實務介紹 中山大學 ( 高屏澎區網中心 ) 王聖全

NRPE DOCUMENTATIOND. Copyright (c) Ethan Galstad. Last Updated: 17 November Contents

Interested in learning more? Global Information Assurance Certification Paper. Copyright SANS Institute Author Retains Full Rights

Using RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid...

We want to install putty, an ssh client on the laptops. In the web browser goto:

Implementation of multi-router traffic monitring

Exercises. Cacti Installation and Configuration

Exercises. Cacti Installation and Configuration

Exercises. Notes: Exercise 1. Install the Cacti Plugin Architecture (Cacti PA)

Purpose. Target Audience. Summary. Automation Overview. Nagios XI. Automated Host Management

P3AM ENZ0. ETERNUS Nagios Plugin 1.1. User's Guide

These instructions cover how to install and use pre-compiled binaries to monitor AIX 5.3 using NRPE.

Cacti monitoring tool

Monitoring Netflow with NFsen

Download and install MySQL server 8 in Windows. Step1: Download windows installer

VMware Monitoring Using Unnoc - Setup Instructions

If you re the administrator on any network,

GNU/Linux: An Essential Guide for Students Undertaking BLOSSOM

Article Number: 801 Rating: Unrated Last Updated: Tue, Mar 13, 2018 at 9:19 PM

Monitoring Apache Tomcat Servers With Nagios XI

DogeCash Masternode Setup Guide Version 1.2 (Ubuntu 16.04)

Nagios Version 2.x Documentation. Copyright Ethan Galstad Last Updated: [ Table of Contents ]

Nagios Version 2.x Documentation. Copyright Ethan Galstad Last Updated: [ Table of Contents ]

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

Offloading NDO2DB To Remote Server

Interested in learning more about security? Network Monitoring with Nagios. Copyright SANS Institute Author Retains Full Rights

UDS Enterprise Free & Evaluation Edition. Lab UDS Enterprise + VMware vsphere + RDP/XRDP

Interested in learning more about cyber security training? Network Monitoring with Nagios. Copyright SANS Institute Author Retains Full Rights

UDS Enterprise Free & Evaluation Edition. Lab UDS Enterprise + VMware vsphere + RDP/XRDP

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa

Some Ubuntu Practice...

Network and Server Statistics using Cacti

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

Compiling Software on UNIX. System Administration Decal Spring 2009 Lecture #4 George Wu Slides prepared by Joshua Kwan

Managing Xen With Xen-Tools, Xen-Shell, And Argo

Network and Server Statistics Using Cacti

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

HANDS UP IF YOU DON T HAVE A VM OR IF YOU DON T REMEMBER YOUR PASSWORDS. Or something broke

Nexus Application Development - SDK

Backing Up And Restoring Your Nagios XI System

Nagios Start Up Guide

This document is intended for use by Nagios XI Administrators who need a boost in I/O performance.

LENS Server Maintenance Guide JZ 2017/07/28

Illustrated Steps to create greggroeten.net with AWS

How to force automatic removal of deleted files in nextcloud

Creating a Yubikey MFA Service in AWS

Application Management

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

Tableau Server on Linux 2018 Update

Using The Core Config Manager For Service Management

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

How To Monitor Apache Cassandra Distributed Databases

Step 1 - Install Apache and PostgreSQL

Contents. Crave Masternode Setup Guides. Single / Multiple Local Masternode(s) Single Masternode using a VPS. Multiple Masternodes using a VPS

MITEL PERFORMANCE ANALYTICS

An Introduction APRICOT 2008 Network Management Workshop February Taipei, Taiwan

Post Ubuntu Install Exercises

Labs Workbench on AWS

GestióIP IPAM. v3.2. Installation Guide. v0.12. IP address management software.

SIMICART USER GUIDE SERIES. SimiCart Install SimiConnector

Manually Password Protect Directories Apache Ubuntu

Purpose. Target Audience. Install SNMP On The Remote Linux Machine. Nagios XI. Monitoring Linux Using SNMP

Microprocessor-Based Systems (E155)

Bitnami Pimcore for Huawei Enterprise Cloud

L.A.M.P. Stack Part I

How To Start Mysql Using Linux Command Line Client In Ubuntu

Installing FreePBX 2.11 on Ubuntu Server (Precise Pangolin)

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide

Network and Server Statistics using Cacti

Running Kmeans Spark on EC2 Documentation

Installation of Apache OpenMeetings on Ubuntu LTS. This tutorial is made based on a fresh installations of

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat)

Ministry of Education of the Republic of Moldova. "Alecu Russo" Balti State University. Faculty of Exact, Economic and Environmental Sciences

Wallet Installation Guide for Staking on Raspberry PI

How To Start Mysql Use Linux Command Line Client In Ubuntu

Real-Time Monitoring Configuration Utility

Being a puppet master

Real-Time Monitoring Configuration Utility

HWg-SMS-GW manual. HW group. HWg-SMS-GW. SMS gateway for HW group products. 1

Manual to install experimental firmware on a TYTERA MD380

Centreon SSH Connector Documentation

The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN).

Getting Familiar with the C-BGP Simulator

Install Cacti on Debian, CentOS, SuSE and Gentoo Linux - Tracking graphically server performance

Monitoring a HPC Cluster with Nagios

Network Monitoring & Management. A few Linux basics

LOCAL WALLET (COLD WALLET):

Installing SeisComP3

GestióIP IPAM v3.0 IP address management software Installation Guide v0.4

LAN Setup Reflection. Ask yourself some questions: o Does your VM have the correct IP? o Are you able to ping some locations, internal and external?

Nagios Core AMI Setup Guide

BitcoinMonster Masternode Linux VPS Tutorial - Vultr VPS Created By : Samshak Donet Mon: MKX8PFz1uvBkwNDTXtUuj6KinudhsKZh1K

CazCoin VPS Masternode Setup May 2018

Transcription:

Network Management with Nagios, wire.less.dk edit: October 2008 @ Sengerema Telecentre, Tanzania http://creativecommons.org/licenses/by-nc-sa/3.0/ 1

Agenda What is it? Why use it? Installing Configuring Introduction to the Nagios web interface Lab & Exercises: Using Nagios monitor a server/gateway Lab & Exercises: Using plugins 2

Nagios What is it? Why use it? Nagios is a great network monitoring and management tool. It provides a valuable management dashboard. It's open source / free software. Similar systems and alternatives (partly overlapping with Nagios) include: Cacti, mrtg / rrdtools, nedi 3

Installing Prerequisites Apache 2 GCC compiler and development libraries GD development libraries Ubuntu: You can use apt-get to install these packages by running the following commands: > sudo apt-get install apache > sudo apt-get install build-essential 4

Installing Steps Get sources, currently: nagios-3.0.4.tar.gz > wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.4.tar.gz > wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.12.tar.gz Depending on where you are, you might want to use a mirror closer to you! Start here: http://www.nagios.org/download/ > tar -xzvf nagios-_._._.tar.gz Follow <nagios-dir>/html/docs/quickstartubuntu.html... or the guides for other linux distros, if you are on another one 5

Installing Creating user and group As root, run the following commands to create the nagios user and group: /usr/sbin/useradd -m nagios passwd nagios /usr/sbin/groupadd nagios /usr/sbin/usermod -G nagios nagios /usr/sbin/groupadd nagcmd /usr/sbin/usermod -G nagcmd nagios /usr/sbin/usermod -G nagcmd www-data 6

Installing Configuring and building Run the Nagios configure script, passing the name of the group you created earlier like so: >./configure --with-command-group=nagcmd Compile the Nagios source code. > make all Install binaries, init script, sample config files and set permissions on the external command directory. >make install >make install-init >make install-config > make install-commandmode View and edit config files in /usr/local/nagios/etc Install the Nagios web config file in the Apache conf.d directory. >make install-webconf Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account - you'll need it later. > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin Restart Apache to make the new settings take effect. >/etc/init.d/apache2 reload 7

Web interface Introduction If everything went well, now go to: http://localhost/nagios 8

Using Nagios Monitoring a server Task: Monitoring your gateway or main server 2 kinds of monitoring: Publicly available services Internal services (via ssh / plugins) Nagios relies on objects (hosts, groups, services,...) and their configuration Start by creating a host configuration Example config files are in /usr/local/nagios/etc/objects/ 9

Using Nagios Monitoring a server Example of a host definition define host{ use generic host ; Inherit default values from a template host_name wimbo ; The name we're giving to this host alias my own laptop ; A longer name associated with the host address 127.0.0.1 ; IP address of the host hostgroups allhosts ; Host groups this host is associated with } 10

Using Nagios Monitoring a server Example of a service definition monitoring ssh on our gateway, using the check_ssh plugin define service{ use generic service ; Inherit default values from a template host_name wimbo service_description SSH check_command check_ssh } 11

Using Nagios Monitoring a server Whenever you are done adding a host or service, or have made any change, check the config by >/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Remember that your new files need to be enabled in nagios.cfg, by a cfg_file or cfg_dir directive! And restart Nagios like so >/etc/init.d/nagios start 12

Using Nagios Becoming a Nagios expert The secret to using Nagios at its full potential is: Learn to work with configuration files (services) and plugins. There are many websites with plugin repositories. All documenation for Nagios is included in what you have installed on your system, so use it :) 13

That was it... Thank you! sebastian@less.dk http://wire.less.dk, wire.less.dk edit: October 2008 http://creativecommons.org/licenses/by-nc-sa/3.0/ Sources: 14