build / Garde-fou (pull_request) Failing after 7s
build / Images Harbor (catalog-sync, Dockerfile.catalog-sync) (pull_request) Skipped
build / Images Harbor (web, Dockerfile) (pull_request) Skipped
build / Garde-fou (push) Failing after 8s
build / Images Harbor (catalog-sync, Dockerfile.catalog-sync) (push) Skipped
build / Images Harbor (web, Dockerfile) (push) Skipped
56 lines
3.8 KiB
YAML
56 lines
3.8 KiB
YAML
id: app-oracle
|
|
name: Oracle Database
|
|
category: application
|
|
status: to-verify
|
|
plugin: centreon_oracle.pl
|
|
description: Supervision d'une instance Oracle (connexion, tablespaces, sessions, processus, sauvegardes RMAN). Necessite un client Oracle sur le collecteur.
|
|
host_template:
|
|
name: App-DB-Oracle-custom
|
|
alias: Applicatif Oracle
|
|
parents: [generic-active-host-custom]
|
|
macros:
|
|
- {name: ORACLEPORT, value: "1521", description: "Port d'ecoute du listener"}
|
|
- {name: ORACLESID, value: "", description: "SID ou service name"}
|
|
- {name: ORACLEUSERNAME, value: "centreon", description: "Compte de supervision"}
|
|
- {name: ORACLEPASSWORD, value: "", description: "Mot de passe du compte de supervision", is_password: true}
|
|
- {name: ORACLEEXTRAOPTIONS, value: "", description: "Options supplementaires passees au plugin"}
|
|
prerequis:
|
|
notes: |
|
|
Necessite le client Oracle Instant Client et le module Perl DBD::Oracle,
|
|
tous deux absents des depots standards : suivre la procedure Oracle, puis
|
|
definir ORACLE_HOME et LD_LIBRARY_PATH pour l'utilisateur centreon-engine.
|
|
verifications:
|
|
- "/usr/lib/centreon/plugins/centreon_oracle.pl --plugin=database::oracle::plugin --list-mode"
|
|
services:
|
|
- name: Connection-Time
|
|
alias: Connection-Time
|
|
description: Temps d'etablissement de la connexion
|
|
line: "$CENTREONPLUGINS$/centreon_oracle.pl --plugin=database::oracle::plugin --mode=connection-time --hostname=$HOSTADDRESS$ --port='$_HOSTORACLEPORT$' --sid='$_HOSTORACLESID$' --username='$_HOSTORACLEUSERNAME$' --password='$_HOSTORACLEPASSWORD$' --warning='$_SERVICEWARNING$' --critical='$_SERVICECRITICAL$' $_HOSTORACLEEXTRAOPTIONS$ $_SERVICEEXTRAOPTIONS$"
|
|
macros:
|
|
- {name: WARNING, value: "1000", description: "Seuil warning en ms"}
|
|
- {name: CRITICAL, value: "5000", description: "Seuil critical en ms"}
|
|
- {name: EXTRAOPTIONS, value: "", description: "Options supplementaires"}
|
|
- name: Tablespace-Usage
|
|
alias: Tablespace-Usage
|
|
description: Occupation des tablespaces
|
|
line: "$CENTREONPLUGINS$/centreon_oracle.pl --plugin=database::oracle::plugin --mode=tablespace-usage --hostname=$HOSTADDRESS$ --port='$_HOSTORACLEPORT$' --sid='$_HOSTORACLESID$' --username='$_HOSTORACLEUSERNAME$' --password='$_HOSTORACLEPASSWORD$' --warning-usage='$_SERVICEWARNING$' --critical-usage='$_SERVICECRITICAL$' $_HOSTORACLEEXTRAOPTIONS$ $_SERVICEEXTRAOPTIONS$"
|
|
macros:
|
|
- {name: WARNING, value: "80", description: "Seuil warning en %"}
|
|
- {name: CRITICAL, value: "90", description: "Seuil critical en %"}
|
|
- {name: EXTRAOPTIONS, value: "", description: "Options supplementaires"}
|
|
- name: Sessions-Usage
|
|
alias: Sessions-Usage
|
|
description: Sessions ouvertes par rapport au maximum
|
|
line: "$CENTREONPLUGINS$/centreon_oracle.pl --plugin=database::oracle::plugin --mode=sessions-usage --hostname=$HOSTADDRESS$ --port='$_HOSTORACLEPORT$' --sid='$_HOSTORACLESID$' --username='$_HOSTORACLEUSERNAME$' --password='$_HOSTORACLEPASSWORD$' --warning='$_SERVICEWARNING$' --critical='$_SERVICECRITICAL$' $_HOSTORACLEEXTRAOPTIONS$ $_SERVICEEXTRAOPTIONS$"
|
|
macros:
|
|
- {name: WARNING, value: "80", description: "Seuil warning en %"}
|
|
- {name: CRITICAL, value: "90", description: "Seuil critical en %"}
|
|
- {name: EXTRAOPTIONS, value: "", description: "Options supplementaires"}
|
|
- name: Rman-Backup-Problems
|
|
alias: Rman-Backup-Problems
|
|
description: Erreurs remontees par RMAN
|
|
default: false
|
|
line: "$CENTREONPLUGINS$/centreon_oracle.pl --plugin=database::oracle::plugin --mode=rman-backup-problems --hostname=$HOSTADDRESS$ --port='$_HOSTORACLEPORT$' --sid='$_HOSTORACLESID$' --username='$_HOSTORACLEUSERNAME$' --password='$_HOSTORACLEPASSWORD$' $_HOSTORACLEEXTRAOPTIONS$ $_SERVICEEXTRAOPTIONS$"
|
|
macros:
|
|
- {name: EXTRAOPTIONS, value: "", description: "Options supplementaires"}
|