10 Quick Steps To Disaster Mike Weber

Slides:



Advertisements
Similar presentations
Nagios XI 2012 Mike Guthrie Twitter: mguthrie88 Projects:
Advertisements

Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Windows Monitoring Yancy Ribbens
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
Installing and running COMSOL on a Windows HPCS2008(R2) cluster
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Printing Terminology. Requirements for Network Printing At least one computer to operate as the print server Sufficient RAM to process documents Sufficient.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Chapter 2: Installing and Upgrading to Windows Server 2008 R2 BAI617.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Introduction to Windows XP Professional Chapter 2 powered by dj.
Passive Monitoring with Nagios Jim Prins
Week 9 Objectives Securing Files and Folders Protecting Shared Files and Folders by Using Shadow Copies Configuring Network Printing.
Implementing File and Print Services
Hands-On Virtual Computing
Chapter Fourteen Windows XP Professional Fault Tolerance.
Module 13: Maintaining Software by Using Windows Server Update Services.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
Advanced Features of Nagios XI Sam Lansing -
Module 7: Fundamentals of Administering Windows Server 2008.
Computer Emergency Notification System (CENS)
1 Chapter Overview Creating Drive and Folder Shares Using Distributed File System Installing Network Printers Administering Network Printers Managing Share.
A Brief Documentation.  Provides basic information about connection, server, and client.
Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs.
Module 5: Implementing Group Policy
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
1 Installation Training Everything you need to know to get up and running.
Vulnerability Scanning Vulnerability scanners are automated tools that scan hosts and networks for known vulnerabilities and weaknesses Credentialed vs.
Core 3: Communication Systems. Network software includes the Network Operating Software (NOS) and also network based applications such as those running.
NetTech Solutions Security and Security Permissions Lesson Nine.
1 Terminology. 2 Requirements for Network Printing Print server Sufficient RAM to process documents Sufficient disk space on the print server.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
Copy to Tape TOI. 2 Copy to Tape TOI Agenda Overview1 Technical Feature Implementation2 Q&A3.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
1 Chapter Overview Understanding Shared Folders Planning, Sharing, and Connecting to Shared Folders Combining Shared Folder Permissions and NTFS Permissions.
Microsoft ® Official Course Module 6 Managing Software Distribution and Deployment by Using Packages and Programs.
1 Introduction to Shared Folders Shared folders provide network users access to files. Users connect to the shared folder over the network. Users must.
VMware Certified Professional 6-Data Center Virtualization Beta 2V0-621Exam.
Queensland University of Technology Nagios – an Open Source monitoring solution and it’s deployment at QUT.
Proctor Caching Overview. 2 Proctor Caching Diagram.
Lecture 19 Page 1 CS 236 Online 6. Application Software Security Why it’s important: –Security flaws in applications are increasingly the attacker’s entry.
Ethan Galstad What Is Nagios? What Nagios Is IT Infrastructure Monitoring.
High Availability For Nagios Mike Weber
Distributed Monitoring with Nagios: Past, Present, Future Mike Guthrie
Software Version: DSS ver up45 Presentation updated: September 2010 Backup of data residing on Open-E Data Storage Software with Backup Exec.
Network Management Workshop March – Bangkok, Thailand
Chapter Objectives In this chapter, you will learn:
Pilot Watcher Product Overview V5.3
Version Control with Subversion
Securing the Network Perimeter with ISA 2004
Common SQL Server Mistakes and How to Avoid Them
Objects Mike Weber
Download dumps - Microsoft Real Exam Questions Dumps4download
How to monitor the $H!T out of Hadoop
Based on work by DoIT Network Services, UW-Madison
Goals Identify pre-installation tasks
Managing Data by Using NTFS
Managing Data by Using NTFS
Bethesda Cybersecurity Club
6. Application Software Security
IBM Tivoli Storage Manager
Presentation transcript:

10 Quick Steps To Disaster Mike Weber

2011 Nagios World Conference 2 Inheriting Aberrations with Objects

20123 Where are those settings coming from? Object Inheritance Object Priorities Object Chaining Incomplete Objects Canceling Inheritance Additive Inheritance

20124 Object Inheritance

20125 Object Inheritance: Templates

20126 Object Inheritance: No Hostgroups?

20127 Object Inheritance: From Hostgroup

20128 Object Inheritance: Info Option

20129 Object Priorities: Local then Inheritance

Object Priorities: Order in List (Chaining)

Incomplete Object: Only Lists One Image

Canceling Inheritance: Object Contains Parents

Canceling Inheritance: Wrong Parents

Canceling Inheritance: Cancel Parents

Canceling Inheritance: Canceled Parents

Additive Inheritance: Append Object Contents

Additive Inheritance: Append Object Contents

2011 Nagios World Conference 18 Hoping BAD Things Won't Happen

Real BAD Things Will Happen Backups Updates Dependencies

XI: Automated Backup /etc/cron.d/nagiosxi 0 7 * * * root /root/scripts/automysqlbackup 0 8 * * * root /root/scripts/autopostgresqlbackup /store/backups/mysql daily weekly monthly /store/backups/postgresql daily weekly monthly

XI: Upgrade Backup #!/bin/bash ##### BackUp Of Nagios Before Upgrade ##### # Timestamp Backups TIMESTAMP=$(date +%Y%m%d_%H%M); echo $TIMESTAMP service nagiosxi stop service npcd stop service ndo2db stop service nagios stop mkdir /bk/upgrade_$TIMESTAMP tar cjf /bk/upgrade_$TIMESTAMP/nagios_$TIMESTAMP.tar.bz2 /usr/local/nagios tar cjf /bk/upgrade_$TIMESTAMP/nagiosxi_$TIMESTAMP.tar.bz2 /usr/local/nagiosxi pg_dump -U nagiosxi -c -F p nagiosxi | bzip2 -c > /bk/upgrade_$TIMESTAMP/pg_nagiosxi_$TIMESTAMP.sql.bz2 mysqldump -u root -pnagiosxi nagios | bzip2 -c > /bk/upgrade_$TIMESTAMP/my_nagios_$TIMESTAMP.sql.bz2 mysqldump -u root -pnagiosxi nagiosql | bzip2 -c > /bk/upgrade_$TIMESTAMP/my_nagiosql_$TIMESTAMP.sql.bz2 service nagios start service ndo2db start service npcd start service nagiosxi start

Core: Backup #!/bin/sh # Timestamped Back Up TIMESTAMP=`date +%Y%m%d_%H%M%S`; echo $TIMESTAMP tar czvf /bk/nagios_dir_$TIMESTAMP.tar.gz /usr/local/nagios tar czvf /bk/pnp4nagios_dir_$TIMESTAMP.tar.gz /usr/local/pnp4nagios

2011 Nagios World Conference 23 Ignoring/Encouraging System Warnings

Configuration Errors: Service Checks

Solution: Service Template Management

Service Template: Check Settings

Service Template: Alert Settings

Service Template: Add Hostgroup

Solution: Service Template Management

Max Concurrent Service Checks

Maximum Concurrent Checks Edit nagios.cfg to avoid latency issues. max_concurrent_checks=0

2011 Nagios World Conference 32 Mangling Users and Contacts

Managing Users and Contacts Users (access to the web interface) Contacts (notifications)

Creating Users: Web Interface

Creating Users: Web Interface

Creating Users: Restricted

Creating Users: Restricted

Managing Administrators: Full Access

Managing Administrators: Full Access

Core: cgi.cfg authorized_for_system_information=nagiosadmin,john,sue,mark,tom,mary,ralph authorized_for_configuration_information=nagiosadmin,john,sue,mark,tom,mary,ralph authorized_for_system_commands=nagiosadmin,john,sue,mark,tom,mary,ralph authorized_for_all_services=nagiosadmin,management,john,sue,mark,tom,mary,ralph authorized_for_all_hosts=nagiosadmin,management,john,sue,mark,tom,mary,ralph authorized_for_all_service_commands=nagiosadmin,john,sue,mark,tom,mary,ralph authorized_for_all_host_commands=nagiosadmin,john,sue,mark,tom,mary,ralph authorized_for_read_only=management

Contacts

2011 Nagios World Conference 42 Monitoring Non-Existent Ports on Switches

Save Resources Use AdminDown on Ports * Administratively set unused ports as AdminDown * Modify ifoperstatus Turn Off Monitoring on Used Ports Remove the Checks

Unused Switch Ports: Wasting Resources * check port status * check bandwidth * send notifications * ignore notifications

Modify check_ifoperstatus Here is the code the affects output. You need to modify the line: if ( not defined $adminWarn or $adminWarn eq "w" ) { $state = 'WARNING'; to $state = 'OK'; It is highlighted in the example. ## if ( not ($response->{$snmpIfAdminStatus} == 1) ) { $answer = "Interface $name (index $snmpkey) is administratively down."; if ( not defined $adminWarn or $adminWarn eq "w" ) { $state = 'OK'; } elsif ( $adminWarn eq "i" ) { $state = 'OK'; } elsif ( $adminWarn eq "c" ) { $state = 'CRITICAL'; } else { # If wrong value for -a, say warning $state = 'WARNING'; }

Administratively Down Ports

Disable Port Checks * 790 port checks disabled * 1.5 GB of RAM saved * 18% reduction in max service check execution time

2011 Nagios World Conference 48 Encouraging Non-Accountability for Changes

Who Makes Changes on Your Nagios? Limit Admin Access Require Training Create Policy for Changes Use a Test Server

Audit Log

2011 Nagios World Conference 51 Abusing Nagios XI Wizards

Wizard or Manual Creation: Assessment Installation Which method provides the most efficient installation? Example: Using a wizard for a switch is most efficient. Example: Manually creating a service check to be used on 100 servers is most efficient. Visibility Will it provide access to view the grouping of devices? Example: Can effective reports be created from visible devices? Management Does it make management easier in the long run? Example: The use of templates is an efficient method to manage multiple devices that are similar.

Template Management

2011 Nagios World Conference 54 Disregarding Network Relationships

Reachability

Host: Manage Parents

Host: Manage Parents

Network Relationships: Parents

2011 Nagios World Conference 59 Importing Infectious Diseases

GUI Infection: Lack of Command Line Skills Backups * cron jobs * manual backups * verification Analysis * disk space * logs Troubleshooting * finding stuff * processes * permissions Edit Files * learning vi or nano

Short Cut Infection: Auto-Discovery

2011 Nagios World Conference 62 Overestimating Human Intelligence

2011 Nagios World Conference 63 Some of the Things We Do as Humans Defies Logic