New SA Training Topic 9: Logging, Monitoring, and Performance  Logging  Windows – “Auditing”  Linux – syslog  Monitoring  MRTG  Big Brother  Performance.

Slides:



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

Unix Systems Performance Tuning Project of COSC 513 Name: Qinghui Mu Instructor: Prof. Anvari.
ESafe Reporter V3.0 eSafe Learning and Certification Program February 2007.
ActiveXperts Network Monitor Monitors servers, workstations and devices for availability Alerts and corrects.
SYSTEM ADMINISTRATION Chapter 19
NetComm Wireless Logging Architecture Feature Spotlight.
Syslog and log files1-1 Syslog and Log Files  From logfiles, you can find m important information m History m Errors/warnings  Logging policies m Reset.
CIS 193A – Lesson3 Vigilance! Logging & Monitoring Syslog Logrotate Logwatch Accounting.
Troubleshooting.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
13.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft® Windows® Server 2003 Active Directory Infrastructure.
Chapter 11 Monitoring and Analyzing the Web Environment.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 10: Collect and Analyze Performance Data.
Syslogd Tracking system events. Log servers Applications are constantly encountering events which should be recorded –users attempt to login with bad.
Measuring Performance Chapter 12 CSE807. Performance Measurement To assist in guaranteeing Service Level Agreements For capacity planning For troubleshooting.
11 MONITORING MICROSOFT WINDOWS SERVER 2003 Chapter 3.
Simple Comparison By Akhyari Nasir. Intro  Network monitoring and measurement have become more and more important in a modern complicated network. 
Maintaining and Updating Windows Server 2008
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Module 14 Monitoring and Maintaining Windows Server® 2008 Servers.
NOC TOOLS syslog AfNOG Cairo, SI-E, 2 of 5 Sunday Folayan.
AfChix 2011 Blantyre, Malawi Log management. Log management and monitoring ■ What is log management and monitoring ? ● It's about keeping your logs in.
Intrusion Prevention, Detection & Response. IDS vs IPS IDS = Intrusion detection system IPS = intrusion prevention system.
M ONITORING SERVER PERFORMANCE Unit objectives Use Task Manager to monitor server performance and resource usage Use Event Viewer to identify and troubleshoot.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
Network and Active Directory Performance Monitoring and Troubleshooting NETW4008 Lecture 8.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Characterizing the Existing Internetwork PART 1
CIS 218 Advanced UNIX 1 User and System Information CIS 218.
System Monitoring and Automation CSCI N321 – System and Network Administration Copyright © 2000, 2011 by Scott Orr and the Trustees of Indiana University.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 13.
Ripple Technologies, Inc 7/98 LogCaster. Ripple Technologies, Inc 7/98 LogCaster NT Real Time System Monitoring.
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
Module 7: Fundamentals of Administering Windows Server 2008.
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Vodafone MachineLink 3G
2440: 141 Web Site Administration Web Server Monitoring and Analysis Instructor: Enoch E. Damson.
System Monitoring and Automation. 2 Section Overview Automation of Periodic Tasks Scheduling and Cron Syslog Accounting.
TELE 301 Lecture 10: Scheduled … 1 Overview Last Lecture –Post installation This Lecture –Scheduled tasks and log management Next Lecture –DNS –Readings:
Day 11 SAMBA NFS Logs Managing Users. SAMBA Implements the ability for a Linux machine to communicate with and act like a Windows file server. –Implements.
Backups, Logging, Troubleshooting. Dates for Last Week of Class Homework 7 – Due Tuesday 5/1 by midnight Labs 7 & 8 – 8 is extra credit – Due Thursday.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Network Monitoring Manage your business without blowing your budget. Learn how the Calhoun ISD utilizes free “Open Source” tools for real-time monitoring.
Module 14 Monitoring and Optimizing SharePoint Performance.
Maintaining and Updating Windows Server Monitoring Windows Server It is important to monitor your Server system to make sure it is running smoothly.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Ch11: Syslog and Logfiles Presented by: Apichana Thiantanawat 06/11/02.
1 Periodic Processes and the cron Daemon The cron daemon is where all timed events are initiated. The cron system is serviced by the cron daemon. What.
Module 13: Performing Preventive Maintenance. Overview Performing Daily Exchange Maintenance Performing Scheduled Exchange Maintenance Performing On-Demand.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration System Monitoring.
POSTECH DP&NM Lab. (1)(1) Web-based Internet/Intranet Network Traffic Monitoring System Introduction –Web-based Network Traffic Monitoring,
Monitoring and Managing Server Performance. Server Monitoring To become familiar with the server’s performance – typical behavior Prevent problems before.
NetLogger Using NetLogger for Distributed Systems Performance Analysis of the BaBar Data Analysis System Data Intensive Distributed Computing Group Lawrence.
Windows Server 2003 系統效能監視 林寶森
Web Server Administration Chapter 11 Monitoring and Analyzing the Web Environment.
Maintaining and Updating Windows Server 2008 Lesson 8.
Web Server Administration Chapter 11 Monitoring and Analyzing the Web Environment.
SQL Database Management
COP 4343 Unix System Administration
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008
ITIS 3110 IT Infrastructure II
Chapter 2: System Structures
MONITORING MICROSOFT WINDOWS SERVER 2003
Log management AfNOG 2008 Rabat, Morocco.
Presentation transcript:

New SA Training Topic 9: Logging, Monitoring, and Performance  Logging  Windows – “Auditing”  Linux – syslog  Monitoring  MRTG  Big Brother  Performance  Perfmon  Sysstat

Logging Windows Logging is usually dealt with as “Auditing”, this information is reviewable in the Event Viewer Many items are NOT audited by default, this must be enabled Logging is often incomplete as compared to that done by Linux IIS logs to %systemdir%\system32\LogFiles\ These can be set to store elsewhere though The content and form is to some degree configurable

Logging (cont.) Linux Syslog – syslogd collects messages from processes and routes them as needed Syslog.conf entry format facility.levelaction Facilities – kern, user, lpr, daemon, auth, authpriv, mail, cron, syslog, mark, local* (0-7) Levels – emerg, alert, crit, err, warning, notice, info, debug, none, mark (selected or higher) Action – write to file (often /var/log/messages), message a user (or list of users), syslog on another host etc.

Logging (cont.) # Sample syslog.conf – This prints most sys. events to the console, # emergencies to everyone, alerts to root, and auth.info and all # warnings to otherhost kern.warn;*.err;authpriv.none /dev/console *.emerg * *.alertroot # send mail and kernel/firewall messages to their respective logfiles mail.* /var/log/mail kern.* /var/log/kernel_n_firewall # operators: “=“ only this, “!=“ all but this, “!” log levels below kern.=alert/var/log/kernel_alerts # save the rest in one file, but exclude mail from these (.none) *.*;mail.none /var/log/messages

Monitoring A service is not in production until it's monitored Level 1 - would include things like viewing Windows processes, Linux “top” command, netstat (both platforms), etc. Level 2 - might be packet sniffers such as tcpdump and Ethereal Level 3 - might included SNMP based utilities You should already be familiar with the first two levels

MRTG Multi Router Traffic Grapher (MRTG) A tool to monitor the traffic load on network-links Runs from cron (Windows - scheduler?) Generates HTML pages and images that provide a LIVE visual representation of this traffic Based on Perl and C and works under UNIX and Windows NT RRDtool New product by same author Improved data consolidation and graphing Needs additional software to collect data (Cricket)

MRTG (cont.) GREEN ###Incoming Traffic in Bits per Second BLUE ###Outgoing Traffic in Bits per Second

MRTG (cont.) GREEN ###Incoming Traffic in Bits per Second BLUE ###Outgoing Traffic in Bits per Second

Big Brother Monitors System and Network-delivered services for availability An almost real-time indication of network status is displayed on a color-coded web page Can handle notification via , pager, or text messaging

Big Brother (cont.)

Performance Performance is a huge topic Three step cyclic process of managing performance Measure - determine current performance levels Estimate - required/best case performance levels Tune system - to meet requirements/best case levels

Perfmon Lets you keep an eye on just about anything Things are grouped into “objects” and objects are divided into “counters” Example: things related to the CPUs are in an object called “processor” Lets you either log info long-term or view in real time Start/run/perfmon Start/Programs/Admin Tools/Performance

Perfmon (cont.)

Counter logs Create a log based on Objects and/or Counters (same items viewable in Performance Monitor) Store the collected information for later viewing and evaluation Trace logs Event Tracing for Windows (ETW) is a tool for performance- testing and diagnostics Gives developers a mechanism with which to determine their applications' performance effects on Windows Server 2003, Windows XP, and Windows 2000 platforms Administrators can use ETW to find out what's happening in their internal Windows systems, Microsoft applications (e.g., Microsoft IIS), and third-party applications and troubleshoot any problems they might find ETW can also help administrators with capacity planning by letting them monitor a system under real workloads to see how it performs for a given set of transactions

Perfmon (cont.) Alerts Give notice when “something” happens Can alert by Adding log entries Network messaging Running a program Some examples free disk space (logical disk/free megabytes) general network congestion (network percent network utilization) – requires Monitor Agent logon attempts for ftp or http servers logon errors (Server/errors logon)

sysstat A set of commands for Linux sar - collects and reports system activity information The information collected by sar can be saved in a file in a binary format for future inspection The statistics reported include I/O transfer rates, paging activity, process-related activities, interrupts, network activity, memory and swap space utilization, CPU utilization, kernel activities and TTY statistics, etc. sadf - used to display data collected by sar in various formats (XML, database-friendly, etc.) iostat - reports CPU utilization and I/O statistics for disks mpstat - reports global and per-processor statistics Both single and mulit-processor machines are fully supported

sysstat (cont.) Apple’s Dashboard Widget for Sysstat