Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Mise à jour du script de dump des performance serveur.

...

Utilisation : ./dump_performance.sh ( dump_performance.sh   )


Une fois exécuté, le script place les dumps dans /var/lib/shinken/performance_dump dans un répertoire du jour. Les dumps sont au format dump.14:42:45.cpu

Exemple des dumps de fichier : 

Code Block
-rw-r--r--. 1 root root 368 Apr 11 14:42 dump.14:42:45.cpu
-rw-r--r--. 1 root root 1.7K Apr 11 14:42 dump.14:42:45.dmesg
-rw-r--r--. 1 root root 11K Apr 11 14:42 dump.14:42:45.healthcheck
-rw-r--r--. 1 root root 13K Apr 11 14:42 dump.14:42:45.ps
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.top
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.iostat
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.iotop
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.df
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.slabtop
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.sysctl
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.ipcs
-rw-r--r--. 1 root root 15K Apr 11 14:42 dump.14:42:45.meminfo
[...]
-rw-r--r--. 1 root root 368 Apr 11 14:44 dump.14:44:27.cpu
-rw-r--r--. 1 root root 1.7K Apr 11 14:44 dump.14:44:27.dmesg
-rw-r--r--. 1 root root 11K Apr 11 14:44 dump.14:44:27.healthcheck
-rw-r--r--. 1 root root 15K Apr 11 14:44 dump.14:44:27.ps
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.top
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.iostat
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.iotop
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.df
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.slabtop
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.sysctl
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.ipcs
-rw-r--r--. 1 root root 16K Apr 11 14:44 dump.14:44:27.meminfo

...