Outils pour utilisateurs

Outils du site


tech:notes_supervision_nagios

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:notes_supervision_nagios [2026/01/14 15:44] Jean-Baptistetech:notes_supervision_nagios [2026/01/16 14:51] (Version actuelle) Jean-Baptiste
Ligne 60: Ligne 60:
 ~~~bash ~~~bash
  
-define service{+define service {
         service_description     Memory         service_description     Memory
         hostgroup_name          WEB_APP1         hostgroup_name          WEB_APP1
Ligne 79: Ligne 79:
 ~~~bash ~~~bash
  
-define command{+define command {
         command_name    check_snmp_mem_cpu         command_name    check_snmp_mem_cpu
         command_line    $USER1$/check_snmp_mem.sh -H $HOSTADDRESS$ -t $ARG1$ -w $ARG2$ -c $ARG3$         command_line    $USER1$/check_snmp_mem.sh -H $HOSTADDRESS$ -t $ARG1$ -w $ARG2$ -c $ARG3$
Ligne 107: Ligne 107:
 # 'check_dummy' command definition # 'check_dummy' command definition
 # NOTE: This command always returns an 'OK' result no matter what. # NOTE: This command always returns an 'OK' result no matter what.
-define command{+define command {
         command_name    check_dummy         command_name    check_dummy
         command_line    $USER1$/check_dummy 0         command_line    $USER1$/check_dummy 0
Ligne 116: Ligne 116:
 ''remotes.cfg'' ''remotes.cfg''
 ~~~c ~~~c
-define host{+define host {
         host_name     generic         host_name     generic
         use                 generic-host         use                 generic-host
Ligne 124: Ligne 124:
 } }
  
-define service{+define service {
         service_description plop         service_description plop
         use generic-service         use generic-service
Ligne 177: Ligne 177:
 ''etc/objects/servers.cfg'' ''etc/objects/servers.cfg''
 ~~~c ~~~c
-define service{+define service {
     use generic-service     use generic-service
     hostgroup linux-remotes-servers     hostgroup linux-remotes-servers
Ligne 192: Ligne 192:
  
 ~~~c ~~~c
-define service{+define service {
         service_description     CPU Stats         service_description     CPU Stats
         servicegroups   sysres         servicegroups   sysres
tech/notes_supervision_nagios.1768401894.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki