Monitoring Asterisk with Icinga2

Slides:



Advertisements
Similar presentations
1 Network Monitoring with Nagios Asian Internet Interconnection Initiatives Project Yan Adikusuma Nara Institute of Science and Technology
Advertisements

Nagios: An introduction and Brief Tutorial
WEB AND WIRELESS AUTOMATION connecting people and processes InduSoft Web Solution Welcome.
Icinga – Open Source Monitoring Bernd Erk – NETWAYS CeBIT Hannover.
Lucas Schill Brent Grover Ed Schilla Advisor: Danny Miller.
ActiveXperts Network Monitor Monitors servers, workstations and devices for availability Alerts and corrects.
ActiveXperts Network Monitor Monitors servers, workstations and devices for availability Alerts and corrects.
How to Monitor Ingres with Open Source Tools
1 CHEP 2000, Roberto Barbera Roberto Barbera (*) Grid monitoring with NAGIOS WP3-INFN Meeting, Naples, (*) Work in collaboration with.
MONITORING TOOLS Open Source Security Tools to monitor your network.
1 Automating Monitoring with Puppet Chris Mague Moovweb May 23, 2012.
ADMS Automatic Data Master Server
Red Hat Linux Network. Red Hat Network Red Hat Network is the environment for system- level support and management of Red Hat Linux networks. Red Hat.
1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices.
SQL Forms Engine Koifman Eran Egri Ozi Supervisor: Ilana David.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Installing and Setting up mongoDB replica set PREPARED BY SUDHEER KONDLA SOLUTIONS ARCHITECT.
R. Lange, M. Giacchini: Monitoring a Control System Using Nagios Monitoring a Control System Using Nagios Ralph Lange, BESSY – Mauro Giacchini, LNL.
© 2012 IBM Corporation Tivoli Workload Automation Informatica Power Center.
Shoes R’ Us Denean Delmundo & Jeremy Steele CST 412 Spring 2014.
rg Michael Medin SOA/Middleware Architect Michael Medin
Leveraging and Understanding Performance Data and Graphs Troy Lea
ADMINISTRATION HANDS-ON. Page 2 About the Hands-On This hands-on section is structured in a way, that it allows you to work independently, but still giving.
Passive Monitoring with Nagios Jim Prins
Your university or experiment logo here Nagios: An introduction and Brief Tutorial Chris Brew SciTech/PPD.
WhatsUp Gold v15 – WhatsUp Companion 3.7 WhatsUp Companion Extended
Josh Riggs Utilizing Open Source Network Monitoring.
Inventory:OCSNG + GLPI Monitoring: Zenoss 3
1 Version 3.0 Module 11 TCP Application and Transport.
Nagios in Wind Telecom World Luis Contreras
INFN-GRID Testbed Monitoring System Roberto Barbera Paolo Lo Re Giuseppe Sava Gennaro Tortone.
Network Monitoring System for the UNIX Lab Bradley Kita Capstone Project Mentor: Dr C. David Shaffer Fall 2004/Spring 2005.
Mr C Johnston ICT Teacher BTEC IT Unit 05 - Lesson 05 Network Protocols.
Avira Endpoint Security. Introduction of Avira Management Center (AMC)
Alerting With MySQL and Nagios Sheeri Cabral Senior DB Admin/Architect
Introduction To Nagios A Linux-based Monitoring System.
Network Monitoring Manage your business without blowing your budget. Learn how the Calhoun ISD utilizes free “Open Source” tools for real-time monitoring.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
Nagios Network Monitoring Andrew Hamilton TJ IT Technician.
Master thesis Analysis and implementation of monitoring systems of active network equipment. Scientific advisor: Univ. Prof., Dr. Hab., Pavel TOPALA Master.
Linux Operations and Administration
SIS - Security Lab Introductory Session University of Pittsburgh 2008.
Software Architecture in Practice Mandatory project in performance engineering.
FlowLevel Client, server & elements monitoring and controlling system Message Include End Dial Start.
Monitoring Alfresco with Nagios/Icinga Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com
Alerting With MySQL and Nagios Sheeri Cabral Senior DB Admin/Architect
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.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Nagios FTW TriLUG 8/10/06 Presented by: Jason Faulkner Ian Kilgore.
S. Bancal / rev. 28 oct 2009 Page 1 ENAC-IT Nagios 3 - “Basics” EPFL – Espace Logiciel Libre à l'École Nagios 3 Meeting 1 “Basics”
'08 Rabat An Introduction AfNOG 2008 Network Management Workshop June 1-2 – Rabat, Morocco Hervey Allen & Phil Regnauld.
Administering the SOWN Network David R Newman & Chris Malton.
Metrics data published Via different methods Monitoring Server
Network Management Workshop March – Bangkok, Thailand
10 Minutes to Migrate Nagios to BMC TrueSight Operations Management
Rhapsody Design Manager 4.0.1
NGI and Site Nagios Monitoring
What is nagios? Version 2 8/ M.A.Newhall.
Network Commands 2 Linux Ubuntu A.S.
INFNGRID Monitoring Group report
Section 13 - Integrating with Third Party Tools
NCAR-Developed Tools Bill Anderson and Marc Genty
Campus Monitoring Service
Monitoring with Nagios
Network Monitoring System
Adding Objects To Nagios 3.0
Introduction to Ansible
Presentation transcript:

Monitoring Asterisk with Icinga2

Main What is Icinga? How it works? Monitoring agents. Existing Plugins. Create custom plugins. Preference Data from plugins.

Icinga is… Icinga 2 is an open source monitoring system which checks the availability of your network resources. Icinga both sends queries to devices/services and receives status updates. Icinga 1 is a Nagios fork and it is compatible with Nagios Plugins. Icinga 2 is rewritten from scratch and is still compatible Nagios Plugins. Icinga is very flexible and extensible. Multithreaded and scalable for small embedded systems as well as large scale environments. A lot of plugins already exists and it is very simple to create your custom plugin.

Icinga 2 Packages Debian Upstream, DebMon, Icinga Repository Ubuntu Upstream, Icinga PPA, Icinga Repository RHEL/CentOS Icinga Repository OpenSUSE Icinga Repository, Server Monitoring Repository SLES Gentoo Upstream FreeBSD ArchLinux

Icinga UI. Three kind of UI exist today. Classic UI. Icinga Web.

How it works? Icinga server and Modules. Agent less plugins. Compatible with Icinga 2 check agents. Plugins. Nagios plugins and custom plugins.

Icinga 2 Multithreaded and scalable for small embedded systems as well as large scale environments. Real-time monitoring capabilities. Can run checks every second. Modularity just enable or disable module and run reload. Live Status add-on . You can query Icinga to get info. DB IDO Module (Database Icinga Data Output).

Icinga Checks Agent less checks. Http, Ping, SSH and more. (Usually every check that uses known protocol). Agent Based Checks. Plugins on remote host that can’t use protocol, use Agents.

Icinga Compatible Agents NRPE (Nagios Remote Plugin Executor). NSClient++ (For Windows and Linux). SNMP daemon (Cisco routers, not only). SSH can use ssh automatic connection to fetch information from plugins on remote host. Icinga 2 Agent under development now. There are more (can be found in Icinga 2 docs).

Check by ssh check_by_ssh plugin Asterisk inbound Asterisk outbound Icinga2 server Asterisk outbound Nagios Plugins ssh server ssh server CheckCommand “by_ssh” Nagios Plugins ssh automatic connection ssh automatic connection check_by_ssh plugin ssh automatic connection ssh server Nagios plugins Asterisk ss7

CheckCommand “by_nrpe” Check by nrpe CheckCommand “nrpe” Asterisk inbound Asterisk outbound Icinga 2 server Nagios plugins CheckCommand “by_nrpe” Nagios plugins Nrpe server xinetd Nrpe server xinetd Nrpe check Nrpe check check_nrpe plugin

Icinga Plugins Nagios Plugins Icinga Plugins http://exchange.nagios.org/ https://www.monitoringexchange.org/ Icinga Plugins https://exchange.icinga.org/ There are also Custom Plugins.

Custom Plugins. Plugin Directory. Usually is /usr/lib64/nagios/plugins/ on remote host. Plugin in directory “check_mycheck”. Command inside /etc/nagios/nrpe.cfg (on remote host). NRPE agent (could be other agents).

Custom Plugin If(UNKNOWN STATE){ echo “UNKNOWN: Unknown alert or command| ‘unknownt‘=-1 'curcalls‘ = ?”; exit(3); }else If (CRITICAL STATE){ echo "CRITICAL: Current calls 60 and critical alert is 55 | 'critlimit‘=55 'curcalls‘ = 60” ; exit(2); } else If (WARNING STATE){ echo “WARNING: Current calls 45 and warning alert is 40 | ‘warnlimit‘=40 'curcalls‘ = 45” ; exit(1); }else { echo "OK - Current calls 15 | 'calls'= 15”; exit(0); }

Performance Data Icinga2-enable-future prefdata. Spool Dir /var/spool/icinga2/prefdata/ File name for host data: host- perfdata.<timestamp> File name for Service data : service- perfdata.<timestamp> Plugins pass performance data to Icinga server this data can be saved in files and can be red by some Add-ons to presenting it as stats and graphs. In the example above all data that comes after “|” pipe is performance data.

Graphing Add-ons Performance data can be used for statistic and graphic presentations. Icinga 2 needs additional modules for saving this data in files. PNP4nagios uses data written by PrefdataWriter Icinga module. InGraph same (PrefdataWriter ). Graphite (GraphiteWriter Icinga 2 Module).

The End David Bereslavich DevOps Engineer Greenfieldtech.net Email: david.bereslavich@reenfieldtech.net