Peter Helin, ABB Crane Systems Stefan Löfgren, Mälardalen
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Josh Malone Systems Administrator National Radio Astronomy Observatory Charlottesville, VA
heck What the #%!@ is wrong ^ with my server?!? Josh Malone Systems Administrator National Radio Astronomy Observatory Charlottesville, VA 1 Agenda • Intro to Monitoring • Internet protocols 101 • • Nagios SMTP • IMAP • Install/Config • HTTP • Usage • Custom plugins • Packet sniffing for dummies • Intro to Troubleshooting • Tools • telnet, openssl • grep, sed • ps, lsof, netstat 2 MONITORING 3 Automated Monitoring Workflow 4 Monitoring Packages: Open Source • • Pandora FMS • Opsview Core • Naemon • • • • • • Captialware ServerStatus • Core • Sensu All Trademarks and Logos are property of their respective trademark or copyright holders and are used by permission or fair use for education. Neither the presenter nor the conference organizers are affiliated in any way with any companies mentioned here. 5 Monitoring Packages: Commercial • Nagios XI • Groundwork • PRTG network monitor • CopperEgg • WhatsUp Gold • PRTG network monitor • op5 (Naemon) All Trademarks and Logos are property of their respective trademark or copyright holders and are used by permission or fair use for education. Neither the presenter nor the conference organizers are affiliated in any way with any companies mentioned here. 6 Why Automatic Service Monitoring? • Spot small problems before they become big ones • Learn about outages before your users do • Checklist when restoring from a power outage • Gives you better problem reports than users • Problems you might never spot otherwise • Failed HDDs in RAIDs • Full /var partitions • Logs not rotating • System temperature rising 7 Why Automatic Service Monitoring? • Capacity planning • Performance data can generate graphs of utilization • RAM, Disk, etc. • Availability reports - CAUTION • Easy to generate -- even easier to generate wrong • Make sure your configurations actually catch problems • Will also include problems with Nagios itself :( • If you’re going to quote your availability numbers (SLAs, etc.) make sure you understand what you’re actually monitoring. -
Pynag Documentation Release 0.9.0
pynag Documentation Release 0.9.0 Pall Sigurdsson and Tomas Edwardsson July 23, 2014 Contents 1 Introduction 3 1.1 About pynag...............................................3 2 The pynag module 5 2.1 pynag Package.............................................5 2.2 Subpackages...............................................5 3 The pynag command line 85 3.1 NAME.................................................. 85 Python Module Index 89 i ii pynag Documentation, Release 0.9.0 Release 0.9.0 Date July 23, 2014 This document is under a Creative Commons Attribution - Non-Commercial - Share Alike 2.5 license. Contents 1 pynag Documentation, Release 0.9.0 2 Contents CHAPTER 1 Introduction 1.1 About pynag Pynag is a all around python interface to Nagios and bretheren (Icinga, Naemon and Shinken) as well as providing a command line interface to them for managing them. 3 pynag Documentation, Release 0.9.0 4 Chapter 1. Introduction CHAPTER 2 The pynag module 2.1 pynag Package 2.2 Subpackages 2.2.1 Control Package Control Package The Control module includes classes to control the Nagios service and the Command submodule wraps Nagios com- mands. class pynag.Control.daemon(nagios_bin=’/usr/bin/nagios’, nagios_cfg=’/etc/nagios/nagios.cfg’, na- gios_init=None, sudo=True, shell=None, service_name=’nagios’, na- gios_config=None) Bases: object Control the nagios daemon through python >>> from pynag.Control import daemon >>> >>> d= daemon() >>> d.restart() SYSTEMD = 3 SYSV_INIT_SCRIPT = 1 SYSV_INIT_SERVICE = 2 reload() Reloads Nagios. Returns Return code of the reload command ran by pynag.Utils.runCommand() Return type int restart() Restarts Nagios via it’s init script. Returns Return code of the restart command ran by pynag.Utils.runCommand() Return type int 5 pynag Documentation, Release 0.9.0 running() Checks if the daemon is running Returns Whether or not the daemon is running Return type bool start() Start the Nagios service. -
Supervision Utilisation De Check-MK
Supervision Utilisation de Check-MK Réseau Min2Rien Journée Thématique « retour d’expériences » - 13/02/2014 NICOLAS JAMIN – Administrateur Système – DSI de l’Académie de LILLE Supervision: Utilisation de Check-MK Plan . Présentation . Fonctionnement / Configuration . Création de scripts (Présentation et exemple) . Utilisation / Capture d’écran . Livestatus / Multisite Nicolas JAMIN – DSI de l’Académie de LILLE 14/02/2014 2 Supervision: Utilisation de Check-MK Presentation . Check-MK : add-on de supervision écrit en python . Nagios utilise des plugins de type actif 1 plugin = 1 service Exécution côté Nagios • Exemple: check_disk = test de l’espace disque . Check-MK utilise des plugins de type passif 1 plugin ~ 30 tests de base Exécution côté Client • Exemple: check_mk = check_disk + check_mem + check_ps + … . Forte baisse du taux d’utilisation des CPUs sur Nagios grâce à Check-MK . Remplace les plugins de type NRPE, NSCLIENT ++ Nicolas JAMIN – DSI de l’Académie de LILLE 14/02/2014 3 Supervision: Utilisation de Check-MK Fonctionnement Nicolas JAMIN – DSI de l’Académie de LILLE 14/02/2014 4 Supervision: Utilisation de Check-MK Configuration (sur le serveur NAGIOS) . Fichier main.mk Contient la configuration générale (seuil d’alerte, exclusions des services …) • Inventory_df_exclude_mountpoints = [‘/dev’,’/mnt/vzsnap0’] • Filesystem_default_level[‘levels’] = (90.0, 95.0) . Fichier tcp_hosts.mk Contient les hosts et hostgroups des serveurs auxquels ils appartiennent. • template124.expr.in.ac-lille.fr|linux|apt|openvz|ubuntu12 . Fichier hostgroups.mk Contient la définition des hostgroups. • (‘Serveurs Ubuntu 12.04’, [ ‘ubuntu12’ ], ALL_HOSTS), Nicolas JAMIN – DSI de l’Académie de LILLE 14/02/2014 5 Supervision: Utilisation de Check-MK Configuration (sur le serveur NAGIOS) . Plus aucune configuration côté Nagios Core • /etc/nagios/host.cfg, /etc/nagios/hostgroup.cfg … . -
Pandora FMS: User Administration Guide
Pandora FMS 1.3.1 User Guide to Pandora FMS Administration Pandora FMS 1.3.1 User documentation April, 2008 Page 1 of 135 Pandora FMS 1.3.1 User Guide to Pandora FMS Administration Index 1 . Introduction to Pandora FMS ..................................................................................... 6 1.1. What is Pandora FMS? .............................................................................................. 6 1.2. What else can Pandora FMS do? ............................................................................... 6 1.2.1. Using agents ......................................................................................................7 1.3. Pandora FMS Architecture ........................................................................................ 9 1.4. Pandora FMS Agents................................................................................................ 10 1.4.1. Satellite Agents ............................................................................................... 12 1.4.2. XML data file ..................................................................................................12 1.5. Pandora FMS Servers............................................................................................... 14 1.6. Pandora FMS console...............................................................................................15 1.7. Database....................................................................................................................15 1.7.1. Compacting data ........................................................................................... -
1.3 SNMP Traps
PANDORA FMS NETWORK DEVICE MONITORING NETWORK DEVICE MONITORING PANDORA FMS pag. 2 INTRODUCTION 1. SNMP This document aims to explain how Pandora FMS is When we talk about SNMP Monitoring, the most able to monitor all network devices available on the important thing is to separate two concepts: Tests marke such as Routers, Switches, Modems, Access (polling) and Traps. points, etc. SNMP testing involves ordering Pandora FMS to execute a snmpget command to the SNMP device Pandora FMS can measure your network bandwidth such as a router or a switch or even a computer by consulting your router/switch through SNMP or with a SNMP agent installed. This is a synchronous by processing the network statistics sent by your operation (every X seconds). routers. Getting the correct information about the bandwidth and the consumption of the network In the opposite, receiving a SNMP trap is an asyn- devices is crucial to achieve a better network ma- chronous operation, that could happen or not, nagement. usually applied to get alerts coming from the device like, for example, when your switch drops a connec- These are some of the main things that Pandora tion with a port, or when your device gets too hot. FMS can do with your network: * Avoid bottlenecks in the network bandwidth and Pandora FMS works with SNMP using individual the server. OID’s. To Pandora FMS, each OID is a network mo- * Localize what applications and which servers are dule. So, if you want to monitor a 24 port Cisco Ca- consuming your bandwidth. talyst Switch, and be aware of the operative status * Provide better quality services to the users by of each port as well as the incoming and outgoing being proactive. -
Ausreißer Check Mk
05/2014 Check_mk als Nagios-Alternative Titelthema Ausreißer Check_mk 34 Check_mk hat zurzeit Rückenwind: Es gilt nicht mehr als schnödes Nagios-Plugin und seine Oberfläche Multi- site lässt die Konkurrenz alt aussehen. Doch wird Check_mk diesem Ruf in der Praxis gerecht? Holger Gantikow www.linux-magazin.de wachen will und wie er alle Ergebnisse in einem Rutsch zurück. dies möglichst optimal Das erfordert nur eine einzige Verbin- mittels Hostgruppen und dung (Abbildung 1, rechts). Templates abbildet, da- Auch Nagios wertet anders aus: Mit dem mit seine Konfiguration Nagios Remote Plugin Executor (NRPE) wartbar bleibt. Zugleich stupst es in der Regel ein Plugin auf dem wächst aber die Last auf Host an, das etwa die RAM-Auslastung dem Nagios-Server mit je- misst. Das Plugin erhält einige Schwel- der Erweiterung: Je mehr lenwerte und liefert einen Status zurück Dienste und Hosts dieser (»OK«, »Warning«, »Critical«). überwacht, desto mehr Check_mk bewertet die Ergebnisse hin- wird die Serverhardware gegen erst auf dem Server. Dies hat den zum Engpass. Die Anzahl positiven Nebeneffekt, dass die Agents der „aktiven Checks“ pro auf den zu überwachenden Hosts keine Prüfintervall bestimmt, weitere Konfiguration benötigen. Der wie leistungsfähig der Check_mk-Server filtert die von den Server sein muss (Abbil- Agenten gelieferten Daten mit Hilfe der © Ljupco Smokovski, 123RF Smokovski, © Ljupco dung 1, links). Konfigurationsparameter und Schwellen- werte, die der Admin festgelegt hat, und Wer den Zustand von mehr als einer Check_mk am Start schickt die Ergebnisse an Nagios weiter. Handvoll Systeme im Blick behalten möchte, muss auf handgestrickte Shell- Speziell gegen diese beiden Probleme, Testlauf skripte oder gelegentliche Kontrollen gegen die komplexe Konfiguration und verzichten und braucht ein vollwertiges die hohe Serverlast, möchte Check_mk Ob Check_mk hält, was es verspricht, Monitoring. -
Supervision De Matériel Informatique Avec Shinken Epreuve E6
2017-2018 Supervision de matériel informatique avec Shinken Epreuve E6 Raphaël Andrieu ARCONIC Table des matières Shinken .................................................................................................................................................... 1 Prérequis ................................................................................................................................................. 1 Installation de Shinken ............................................................................................................................ 1 Supervision .............................................................................................................................................. 4 Installation de Nagios .......................................................................................................................... 4 Supervision d’un serveur Debian ........................................................................................................ 4 Ajout d’hôte ..................................................................................................................................... 5 Ajout du groupe de Serveur Linux ................................................................................................... 6 Ajout des services ............................................................................................................................ 6 Supervision d’un serveur Windows .................................................................................................... -
Design of a Self-Healing Federated Event Processing Management System at the Edge
Design of a self-healing federated event processing management system at the edge Modelling and Orchestrating heterogeneous Executive summary Resources and Polymorphic applications for The constant upsurge of the connected devices and services along Holistic Execution and adaptation of Models with the ample numbers of heterogeneous data streams and their relay In the Cloud among different processing and persistence architectures, has augmented the demand for adequate and cost-efficient infrastructures H2020-ICT-2018-2020 to host them. This need is covered by Cloud computing as a paradigm Leadership in Enabling and Industrial that offers on-demand resources and enables its users to seamlessly Technologies: Information and adapt applications to the current demand. More recently, this has been Communication Technologies extended to using multiclouds as a means to vest on the true power of resources or services provided independently to the cloud service Grant Agreement Number vendor. Of course, this has further increased the complexity but also 871643 the importance of monitoring and analysis software solutions. The gravity of efficient monitoring of multicloud applications is Duration highlighted by the fact that it serves as a knowledge-base for deriving 1 January 2020 – corrective actions like scaling. 31 December 2022 In this deliverable, we first report on the analysis of the most prominent open-source tools used for monitoring and we describe a www.morphemic.cloud time-series based approach for persisting such data to be used in the future for forecasting purposes. Secondly, we introduce the design of Deliverable reference a configurable near real-time federated monitoring mechanism called D2.1 EMS. -
SISR5 Supervision Des Réseaux Mise En Place D'un Outil De Supervision – Deuxième Partie
FAMEL Yoan 02/12/2015 PAYET Yoann BTS SIO – SISR SISR5 Supervision des réseaux Mise en place d'un outil de supervision – Deuxième partie Table des matières Introduction..........................................................................................................................................2 Infrastructure réseau.............................................................................................................................3 Supervision de serveurs sous Windows................................................................................................4 Mise en place de contrôles (sondes) de supervision d'un serveur sous Windows..........................4 Configuration de Shinken.............................................................................................................10 Supervision de matériels.....................................................................................................................15 Supervision d'une imprimante réseau...........................................................................................15 Supervision d'un routeur...............................................................................................................16 Supervision d'un commutateur.....................................................................................................20 Utilisation d'indications métrologiques graphiques............................................................................24 Notifications des alertes.....................................................................................................................34 -
Monitoring Kubernetes with OMD Labs Edition and Prometheus
Monitoring Kubernetes with OMD Labs Edition and Prometheus Michael Kraus - FOSDEM 2017 About me Doing monitoring for 12 years, mainly with plain old Nagios, open-source only. About me Michael Kraus Senior Monitoring Consultant @ ConSol. Background Implementation of Kubernetes PoC at $customer: Why We have … Kubernetes in a ● already running some classical enterprise monitoring instances there. ● but no idea about monitoring Kubernetes. Natural choice for kubernetes monitoring: ● Integrated service With discovery Enter Prometheus ● Labels are retained between Kubernetes and Prometheus There are excellent tutorials and blog posts available as a starting point, for example by ● coreos.com/blog/ How ( Fabian Reinartz ) Where to start ● robustperception.io/blog/ ( Brian Brazil ) ● … many examples on GitHub Implementation ● kubernetes_sd_configs - role: endpoints ● kubernetes_sd_configs - role: node Implementation ● kubernetes_sd_configs - role: pod Prometheus kubernetes_sd prometheus-kubernetes.yml from prometheus/examples. Metrics: ● apiserver_* ● container_cpu_* Implementation ● container_fs_* ● deployment_* Prometheus ● etcd_* kubernetes_sd ● kubelet_* ● ... Prometheus exporter for hardware and OS metrics exposed by the kernel. Implementation node_exporter ● DaemonSet ● prometheus.io/scrape: 'true' Metrics: ● node_cpu ● node_disk_* Implementation ● node_filesystem_* node_exporter ● node_netstat_* ● node_vmstat_* ● ... “... focused … on the health of the various objects inside, such as deployments, nodes and Implementation pods.” kube-state-metrics -
Lucas Nussbaum [email protected]
Supervision - Monitoring Lucas Nussbaum [email protected] Licence professionnelle ASRALL Administration de systèmes, réseaux et applications à base de logiciels libres Lucas Nussbaum Supervision - Monitoring 1 / 51 Administrative stuff I Yes, this course is in English I will speak in French though Goal: get you used to reading technical documentation in English I This module: 6 slots of 3 hours Evaluation: practical work (TPs) + possibly exam Goals: F General knowledge of infrastructure monitoring F Master standard tools of the field F Know about the current trends in this field (e.g. impact of cloud and elasticity) I The other part of this module (Supervision - Annuaire) is totally independent (and with a different tutor: Fabien Pascale) Lucas Nussbaum Supervision - Monitoring 2 / 51 Introduction I Success criteria for sysadmins: infrastructure that just works Avoid incidents if possible If not possible, minimize downtime I How? Well-designed infrastructure Choose reliable technologies and software Add HA (high-availability), failover, redundancy, etc. I Not enough: Murphy’s law (Anything that can go wrong will go wrong) I Monitoring: Collect information about the state of the infrastructure Detect problems (before users have to report them) Predict problems Usual components: ; Probes to acquire data Database to store all measurements Dashboard to show results Notification system (email, SMS, etc.) Lucas Nussbaum Supervision - Monitoring 3 / 51 Example: Icinga https://nagios.debian.org/icinga/ – login: dsa-guest / password: dsa-guest Lucas Nussbaum Supervision - Monitoring 4 / 51 Example: graph from Munin I Disk usage on a server Lucas Nussbaum Supervision - Monitoring 5 / 51 Two sides of the same coin: Metrology Goal: collect lots of metrics about how the system behaves to track performance of the system over time telemetry I Example: collect statistics about; network traffic, HTTP req/s, disk I/Os, .. -
Matello Iq | Installation and Upgrade Guide
Savision iQ INSTALLATION AND UPGRADE GUIDE RELEASE 2.7 DOCUMENT DATE: NOVEMBER 7, 2019 NOTICE The information contained in this document is believed to be accurate in all respects but is not warranted by Martello Technologies Corporation. The information is subject to change without notice and should not be construed in any way as a commitment by Martello Technologies or any of its affiliates or subsidiaries. Martello Technologies and its affiliates and subsidiaries assume no responsibility for any errors or omissions in this document. Revisions of this document or new editions of it may be issued to incorporate such changes. No part of this document can be reproduced or transmitted in any form or by any means - electronic or mechanical - for any purpose without written permission from Martello Technologies. Trademarks MarWatch™, Elfiq, Savision, Martello Technologies, and the Martello Technologies logo are trademarks of Martello Technologies Corporation. Windows and Microsoft are trademarks of Microsoft Corporation. Other product names mentioned in this document may be trademarks of their respective companies and are hereby acknowledged. © Copyright 2019, Martello Technologies Corporation All rights reserved Installation and Upgrade Guide Release 2.7 - November 7, 2019 Table of Contents Contents CHAPTER 1 Introduction 5 Document Purpose and Intended Audience 5 Revision History 5 CHAPTER 2 About Savision iQ 6 CHAPTER 3 Planning 7 Server Requirements 7 IIS Roles and Features 8 Java 9 SQL Database 10 Elasticsearch 10 Active Directory 10