Outils pour utilisateurs

Outils du site


Server Monitoring


  • htop permet de monitorer l’activité de son serveur comme top, mais avec une interface plus ergonomqie et amélioré. Il liste les processus, le load average, l’utilisation RAM / SWAP…
  • atop permet également de monitorer l’activité de se serveur linux. atop permet de monitorer les processus, l’activité des disques, la charge processeur, l’utilisation du réseau ou de la mémoire (vive et swap).
  • apachetop fonctionne sur le même principe que top, mais lui concerne le serveur web apache. Il permet de voir les requêtes par seconde, les bytes par seconde l’url la plus populaire… sur un serveur web.
  • mytop permet de surveiller les requêtes et la performance MySQL Il supporte les serveurs aux versions 3.22.x, 3.23.x, 4.x et 5.x. Abandonné ?
  • mtop permet de tracer et de diagnostiquer des requêtes en cours et leur déroulement, ce qui aidera à la résolution d’éventuelles requêtes mal écrites. Abandonné ?
  • ptop ou pg_top est similaire à top pour postgresql. Il va permettre de voir les requêtes en cours, voir le plan d’exécution des requêtes SQL, voir les locks, voir les statistiques
  • dnstop permet de visualiser le trafic de son serveur dns, il permet notamment d’identifier les requêtes indésirables.
  • iftop permet de visualiser l’état de la bande passante sur une interface réseau.
  1. top - Process Activity Command
  2. vmstat - System Activity, Hardware and System Information
  3. w - Find Out Who Is Logged on And What They Are Doing
  4. uptime - Tell How Long The System Has Been Running
  5. ps - Displays The Processes
  6. free - Memory Usage
  7. mpstat - Multiprocessor Usage (package “sysstat”)
  8. pmap - Process Memory Usage
  9. netstat - Network Statistics
  10. ss - Network Statistics
  11. iptraf - Real-time Network Statistics (package “iptraf”)
  12. tcpdump - Detailed Network Traffic Analysis
  13. strace - System Calls
  14. /Proc file system - Various Kernel Statistics
  15. lsof - list open files, network connections and much more.
  16. nmap - scan your server for open ports.
  17. ntop web based tool - ntop is the best tool to see network usage in a way similar to what top command does for processes i.e. it is network traffic monitoring software. You can see network status, protocol wise distribution of traffic for UDP, TCP, DNS, HTTP and other protocols.
  18. mtr - mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool. Finding out a bad or simply overloaded network link with Linux/UNIX oses

Présentation de ces outils:

Status page



The open source status page system. Beautifully crafted, Translated, JSON API, Scheduled maintenance, Metrics, Two-factor authentication.


Using sar you can monitor performance of various Linux subsystems (CPU, Memory, I/O..) in real time. You can also collect all performance data on an on-going basis, store them, and do historical analysis to identify bottlenecks. Sar is part of the sysstat package.

À lire:

Sur Debian

sudo apt-get install sysstat

Default settings for

  • /etc/init.d/sysstat
  • /etc/default/sysstat
  • /etc/cron.d/sysstat
  • /etc/cron.daily/sysstat

Activer la collecte:

sudo vi /etc/default/sysstat
# Should sadc collect system activity informations? Valid values
# are "true" and "false". Please do not put other values, they
# will be overwritten by debconf!

Mettre ENABLED=“true”


Server And Network Monitoring. Nagios is a popular open source computer system and network monitoring application software. You can easily monitor all your hosts, network equipment and services. It can send alert when things go wrong and again when they get better.

FAN is “Fully Automated Nagios”. FAN goals are to provide a Nagios installation including most tools provided by the Nagios Community. FAN provides a CDRom image in the standard ISO format, making it easy to easilly install a Nagios server. Added to this, a wide bunch of tools are including to the distribution, in order to improve the user experience around Nagios.

Voir /informatique/MRTG




netdata is a scalable, distributed, real-time, performance and health monitoring solution for Linux, FreeBSD and MacOS. It is open-source too. Out of the box, it collects 1k to 5k metrics per server per second. It is the corresponding of: top, vmstat, iostat, iotop, sar, systemd-cgtop and a dozen more console tools running in parallel. netdata is very efficient in this: the daemon needs just 1% to 3% cpu of a single core, even when it runs on IoT.

Many people view netdata as a collectd + graphite + grafana alternative, or compare it with cacti or munin. All these are really great tools, but they are not netdata. Let's see why.

My primary goal when I was designing netdata was to help us find why our systems and applications are slow or misbehaving. To provide a system that could kill the console for performance monitoring.

To do this, I decided that:

  • high resolution metrics is more important than long history
  • the more metrics collected, the better - we should not fear to add 1k metrics more
  • effective monitoring starts with monitoring everything about each node




  • Monitoring Exim (Exim4) with grok_exporter. The grok_exporter aims at porting Grok from the ELK stack to Prometheus monitoring. The goal is to use Grok patterns for extracting Prometheus metrics from arbitrary log files.
  • blackbox_exporter The blackbox exporter allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP.
  • Articles du lead developper


Glances est un logiciel libre (distribué sous licence LGPL) permettant de surveiller votre système d'exploitation GNU/Linux ou BSD à partir d'une interface texte. Glances utilise la librairie libstatgrab pour récupérer les informations de votre système. Il est développé en langage Python.


A Python Nagios® Core total rewrite.


Il existe aussi shinken, mais ça marche un peu comme ça veut et quand ça veut. Depuis, ça prend énormément de RAM pour le service rendu.



(sd-basic@ml.ovh.net) Ca marche plutôt bien mais les anciennes versions consomment énormément de CPU sur le serveur (a priori réglé dans la 1.6, mais j’ai pas encore testé)
  • zabbix-nexmo Simple bash scripts for sending Zabbix alerts to SMS and telephone via Nexmo.



Web-based Monitoring Tool. Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices. It can provide data about network, CPU, memory, logged in users, Apache, DNS servers and much more. See how to install and configure Cacti network graphing tool under CentOS / RHEL.






Snort SP

Snort RNA



This web user interface allow you to view in a single page almost everything about nagios and icinga : alert, ack, downtime, comment. You can also interact with nagios and icinga through ack, downtime, comment, disable and reset buttons.






Server Density


  • Graphical Data
  • Server resource usage (lightweight python agent)
  • Email / SMS alert
  • iPhone application


  • Free pour 1 server
  • 10 to 15£ / server / month





informatique/system_admin/server_monitoring.txt · Dernière modification: 13/08/2019 07:59 de cyrille