Network Management & Monitoring



Similar documents
Network Monitoring & Management Measuring Delay with Smokeping

Apache and Virtual Hosts Exercises

INASP: Effective Network Management Workshops

AfNOG Monitoring of IP Services. Ayitey Bulley Material generously borrowed from the NSRC NME course

Monitoring Netflow with NFsen

Network Management & Monitoring Request Tracker (RT) Installation and Configuration

Lab Configuring Access Policies and DMZ Settings

Lab Configuring the PIX Firewall as a DHCP Server

Ulteo Open Virtual Desktop Installation

Installation documentation for Ulteo Open Virtual Desktop

5.6.2 Optional Lab: Restore Points in Windows Vista

Network and Server Statistics Using Cacti

Network and Server Statistics Using Cacti

Building a Penetration Testing Virtual Computer Laboratory

Security Workshop. Apache + SSL exercises in Ubuntu. 1 Install apache2 and enable SSL 2. 2 Generate a Local Certificate 2

Local Caching Servers (LCS): User Manual

SETTING UP A LAMP SERVER REMOTELY

SNMP exercises. 2 Installing client (manager) tools 2. 3 Configure SNMP on Your Router 3

Digital Signatures. Digital Signatures - How to enable validation of Siemens PKI signatures in Adobe Reader? Issued by: Date 01/2016

SETTING UP REMOTE ACCESS ON EYEMAX PC BASED DVR.

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above.

Lab Configuring Access Policies and DMZ Settings

Linux Development Environment Description Based on VirtualBox Structure

Transferring AIS to a different computer

APPENDIX 8 EAZY NETWORKING

PT Activity: Configure Cisco Routers for Syslog, NTP, and SSH Operations

Device Integration: Cisco Wireless LAN Controller (WLC)

Manual Wireless Extender Setup Instructions. Before you start, there are two things you will need. 1. Laptop computer 2. Router s security key

Wireless G Broadband quick install

CSIS 3230 Computer Networking Principles, Spring 2012 Lab 7 Domain Name System (DNS)

Network Monitoring & Management Log Management

User and Programmer Guide for the FI- STAR Monitoring Service SE

Lab Configure IOS Firewall IDS

OpenCanary Documentation

D-Link Central WiFiManager Configuration Guide

Intrusion Detection and Prevention: Network and IDS Configuration and Monitoring using Snort

Lab Configure Syslog on AP

Using Cisco UC320W with Windows Small Business Server

INSTALLING KAAZING WEBSOCKET GATEWAY - HTML5 EDITION ON AN AMAZON EC2 CLOUD SERVER

Changing Your Cameleon Server IP

Network Monitoring & Management Log Management

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Solr Bridge Search Installation Guide

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

LAB THREE STATIC ROUTING

TEL 500 WRITE UP WEEK 8 FREE PBX SIP LAB SUBMITTED TO: PROF. RONNY BULL BY: ANUSHA ALIGAPALLY

Application Notes for Configuring Dorado Software Redcell Enterprise Bundle using SNMP with Avaya Communication Manager - Issue 1.

Details. Some details on the core concepts:

Acellus Lab Cart. User s Manual. Version 4B. Acellus Corporation Copyright 2010 Acellus Corporation. All Rights Reserved.

Server Configuration and Deployment (part 1) Lotus Foundations Essentials

Network Monitoring & Management Log Management

Network Setup Guide. 1 Glossary. 2 Operation. 1.1 Static IP. 1.2 Point-to-Point Protocol over Ethernet (PPPoE)

Motorola TEAM WS M Configuring Asterisk PBX Integration

External Device Management - Using SNMP - Enabling the Next Wave of Connectivity

Remote Access Using The New York Eye & Ear Infirmary of Mount Sinai Secure Web VPN

Hands-on MESH Network Exercise Workbook

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

Parallels Plesk Panel

Using Protection Engine for Cloud Services for URL Filtering, Malware Protection and Proxy Integration Hands-On Lab

Knowledge Base Articles

School of Information Technology and Engineering (SITE) CEG 4395: Computer Network Management. Lab 4: Remote Monitoring (RMON) Operations

Adafruit's Raspberry Pi Lesson 6. Using SSH

Appendix B Lab Setup Guide

NETWORK SETUP GLOSSARY

EventSentry Overview. Part I About This Guide 1. Part II Overview 2. Part III Installation & Deployment 4. Part IV Monitoring Architecture 13

Department of Engineering Science. Understanding FTP

Zimbra :: The Leader in Open Source Collaboration. Administrator's PowerTip #3: June 21, 2007 Zimbra Forums - Zimbra wiki - Zimbra Blog

Deploy the ExtraHop Discover Appliance with Hyper-V

Load Balancing/High Availability Configuration for neoninsight Server

Back Up Linux And Windows Systems With BackupPC

Installing OptiRain Open on Macintosh OS X 10.6 (Snow Leopard)

How to Set Up a Wireless Network. How to configure a wireless network for a computer science programming contest using PC 2

Accessing the Media General SSL VPN

Installing an open source version of MateCat

In this lab you will explore the Windows XP Firewall and configure some advanced settings.

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

estadium Project Lab 8: Wireless Mesh Network Setup with DD WRT

Linux Squid Proxy Server

Setup a Virtual Host/Website

Exercises: FreeBSD: Apache and SSL: pre SANOG VI Workshop

BioWin Network Installation

Hadoop Data Warehouse Manual

Cloud Homework instructions for AWS default instance (Red Hat based)

[D-View 7 Advanced Hands-On Practice] Version 1.0

One Drive for Business User Guide

Building Website with Drupal 7

Summer Webinar Series Network Monitoring Probe Virtual Appliance

SI455 Advanced Computer Networking. Lab2: Adding DNS and Servers (v1.0) Due 6 Feb by start of class

Printing Options. Netgear FR114P Print Server Installation for Windows XP

Maintaining the Content Server

How to Install Multiple Monitoring Agents on a Microsoft Operating System. Version StoneGate Firewall/VPN 2.6 and SMC 3.2

CO Web Server Administration and Security. By: Szymon Machajewski

Software Installation Guide

Lab - Configure a Windows XP Firewall

Step One: Installing Rsnapshot and Configuring SSH Keys

HP OpenView Network Node Manager

50.XXX is based on your station number

1 PC to WX64 direction connection with crossover cable or hub/switch

JAMF Software Server Installation Guide for Linux. Version 8.6

Transcription:

Network Management & Monitoring Smokeping - Part I Contents 0.1 Exercises............................... 1 0.2 1. Install Smokeping......................... 1 0.3 2. Initial Configuration........................ 2 0.4 3. Configure monitoring of devices................. 3 0.5 4. Configure monitoring of routers and switches.......... 7 0.1 Exercises In this exercise you will install Smokeping and get it to monitor various devices in the class netework. Since most of the tasks in this exercise require you to be root, the first thing you should do is to connect to your PC and start a root shell. $ sudo -s 0.2 1. Install Smokeping apt-get install smokeping For Ubuntu 14.04: you need to install a symlink to the apache2 config ln -s /etc/smokeping/apache2.conf /etc/apache2/conf-enabled/smokeping.conf service apache2 reload Then point your web browser at http://pcn.ws.nsrc.org/cgi-bin/smokeping.cgi (replace pcn with your own PC) to check that it is running. 1

0.3 2. Initial Configuration cd /etc/smokeping/config.d ls -l -rwxr-xr-x 1 root root 578 2010-02-26 01:55 Alerts -rwxr-xr-x 1 root root 237 2010-02-26 01:55 Database -rwxr-xr-x 1 root root 413 2010-02-26 05:40 General -rwxr-xr-x 1 root root 271 2010-02-26 01:55 pathnames -rwxr-xr-x 1 root root 859 2010-02-26 01:55 Presentation -rwxr-xr-x 1 root root 116 2010-02-26 01:55 Probes -rwxr-xr-x 1 root root 155 2010-02-26 01:55 Slaves -rwxr-xr-x 1 root root 8990 2010-02-26 06:30 Targets The files that you ll need to change, at a minimum, are: Alerts General Probes Targets Now open the General file (note the first capital letter) editor General Change the following lines: owner = NOC contact = sysadm@localhost mailhost = localhost cgiurl = http://localhost/cgi-bin/smokeping.cgi specify this to get syslog logging syslogfacility = local5 Save the file and exit. Now let s restart the Smokeping service to verify that no mistakes have been made before going any further: service smokeping stop service smokeping start A quicker way to do this is: service smokeping restart 2

We ll use this for the rest of the exercises, or we ll just use the reload directive as this is all you need for Smokeping to see configuration file changes. Now open the Alerts file (note the first capital letter) editor Alerts Change the following lines: to = root@localhost from = smokeping-alert@localhost Save the file and exit. Restart Smokeping: service smokeping reload 0.4 3. Configure monitoring of devices The majority of your time and work configuring Smokeping will be done in the file /etc/smokeping/config.d/targets. For this class please do the following: Use the default FPing probe to check: some of the student PCs classroom NOC switches routers You can use the classroom Network Diagram on the classroom wiki to figure out addresses for each item, etc. Create some hierarchy to the Smokeping menu for your checks. For example, the Targets file is already partially preconfigured. To start we are going to add some entries to this file. Start with: cd /etc/smokeping/config.d editor Targets You can take the section from *** Targets *** to the end of the LocalMachine and make it look something like this. Feel free to use your own remark, 3

menu text and titles. Note that we remove the commented lines parents = owner:/test/james location:/, and the Alerts line. NOTE: We strongly recommend that you COPY and PASTE text from these exercises directly in to the Targets file. Typing all this by hand will take too long. *** Targets *** probe = FPing menu = Top title = Network Latency Grapher remark = Smokeping Latency Grapher for Network Monitoring \ and Management Workshop. +Local menu = Local Network Monitoring and Management title = Local Network ++LocalMachine menu = Local Machine title = This host host = localhost Now, below the localhost we start with the configuration of items for our class. We can start simple and add just the first 4 PCs that are in Group 1 as well as an entry for our classroom NOC. ********* Classroom Servers ********** +Servers menu = Servers title = Network Management Servers ++noc menu = noc title = Workshop NOC host = noc.ws.nsrc.org 4

******** Student Machines (VMs) *********** +PCs menu = Lab PCs title = Virtual PCs Network Management ++pc1 menu = pc1 title = Virtual Machine 1 host = pc1.ws.nsrc.org ++pc2 menu = pc2 title = Virtual Machine 2 host = pc2.ws.nsrc.org ++pc3 menu = pc3 title = Virtual Machine 3 host = pc3.ws.nsrc.org ++pc4 menu = pc4 title = Virtual Machine 4 host = pc4.ws.nsrc.org OK. Let s see if we can get Smokeping to stop and start with the changes we have made, so far. Save and exit from the Targets file. Now try doing: service smokeping reload If you see error messages, then read them closely and try to correct the problem in the Targets file. In addition, Smokeping is now sending log message to the file /var/log/syslog. You can view what Smokeping is saying by typing: tail /var/log/syslog 5

If you want to see all smokeping related messages in the file /var/log/syslog you can do this: grep smokeping /var/log/syslog If there are no errors you can view the results of your changes by going to: http://pcn.ws.nsrc.org/cgi-bin/smokeping.cgi When you are ready you can edit the Targets file again and continue to add machines. At the bottom of the file you can add the next group of PCs: ++pc5 menu = pc5 title = Virtual Machine 5 host = pc5.ws.nsrc.org ++pc6 menu = pc6 title = Virtual Machine 6 host = pc6.ws.nsrc.org ++pc7 menu = pc7 title = Virtual Machine 7 host = pc7.ws.nsrc.org ++pc8 menu = pc8 title = Virtual Machine 8 host = pc8.ws.nsrc.org Add as many PCs as you want, then Save and exit from the Targets file and verify that the changes you have made are working: service smokeping reload 6

You can continue to view the updated results of your changes on the Smokeping web page. It may take up to 5 minutes before graphs begin to appear. http://pcn.ws.nsrc.org/cgi-bin/smokeping.cgi 0.5 4. Configure monitoring of routers and switches Once you have configured as many PCs as you want to configure, then it s time to add in some entries for the classroom routers and switch(es). cd /etc/smokeping/config.d (just to be sure :-)) editor Targets Go to the bottom of the file and add in some entries for routers and switches: ********** Classroom Backbone Switch ********* +Switches menu = Switches title = Switches Network Management ++sw menu = sw title = Backbone Switch host = sw.ws.nsrc.org ********** Virtual Routers: Cisco 7200 images ********* +Routers menu = Routers title = Virtual and Physical Routers Network Management ++gw menu = gw title = Gateway Router host = gw.ws.nsrc.org 7

++router1 menu = router1 title = Virtual Router 1 host = rtr1.ws.nsrc.org ++router2 menu = router2 title = Virtual Router 2 host = rtr2.ws.nsrc.org ++router3 menu = router3 title = Virtual Router 3 host = rtr3.ws.nsrc.org If you wish you can continue and add in entries for routers 4 to 6, or up to 9 if there are that many in your class. When you are ready Save and Exit from the Targets file and verify your work: service smokeping reload If you want you might consider adding the Wireless Access Point: editor Targets Classrom Wireless Access Point ++ap1 menu = ap1 title = Wireless Access Point 1 host = ap1.ws.nsrc.org Save and Exit from the file and reload the Smokeping service: service smokeping reload 8