###################################################################
#                                                                 #
#                       GENERATED BY CENTREON                     #
#                                                                 #
#               Developed by :                                    #
#                   - Julien Mathis                               #
#                   - Romain Le Merlus                            #
#                                                                 #
#                           www.centreon.com                      #
#                For information : contact@centreon.com           #
###################################################################
#                                                                 #
#         Last modification 2024-11-22 16:41                      #
#         By admin                                                #
#                                                                 #
###################################################################

define service {
    service_description            generic-active-service 
    name                           generic-active-service 
    check_period                   24x7 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    is_volatile                    0 
    active_checks_enabled          1 
    passive_checks_enabled         0 
}

define service {
    service_description            generic-passive-service 
    name                           generic-passive-service 
    check_period                   24x7 
    max_check_attempts             1 
    check_interval                 1 
    register                       0 
    active_checks_enabled          0 
    passive_checks_enabled         1 
}

define service {
    service_description            generic-active-service 
    name                           generic-active-service-custom 
    register                       0 
    use                            generic-active-service 
}

define service {
    service_description            Process-Generic 
    name                           OS-Linux-Process-Generic-SNMP 
    check_command                  OS-Linux-SNMP-Process-Generic 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _CRITICAL                      1: 
    _EXTRAOPTIONS                   
    _PROCESSARGS                    
    _PROCESSNAME                    
    _PROCESSPATH                    
    _WARNING                        
}

define service {
    service_description            Process-Generic 
    name                           OS-Linux-Process-Generic-SNMP-custom 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP 
}

define service {
    service_description            proc-sshd 
    name                           App-Monitoring-Centreon-Process-sshd 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP-custom 
    _PROCESSNAME                   sshd 
}

define service {
    service_description            proc-sshd 
    name                           App-Monitoring-Centreon-Process-sshd-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Process-sshd 
}

define service {
    service_description            proc-httpd 
    name                           App-Monitoring-Centreon-Process-httpd 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP-custom 
    _PROCESSNAME                   httpd|apache2 
}

define service {
    service_description            proc-httpd 
    name                           App-Monitoring-Centreon-Process-httpd-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Process-httpd 
}

define service {
    service_description            proc-crond 
    name                           App-Monitoring-Centreon-Process-crond 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP-custom 
    _PROCESSNAME                   crond|cron 
}

define service {
    service_description            proc-crond 
    name                           App-Monitoring-Centreon-Process-crond-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Process-crond 
}

define service {
    service_description            proc-centengine 
    name                           App-Monitoring-Centreon-Process-centengine 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP-custom 
    _PROCESSNAME                   centengine 
    _PROCESSPATH                   /usr/sbin/ 
    _CRITICAL                      1:1 
}

define service {
    service_description            proc-centengine 
    name                           App-Monitoring-Centreon-Process-centengine-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Process-centengine 
}

define service {
    service_description            proc-centcore 
    name                           App-Monitoring-Centreon-Process-centcore 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP-custom 
    _PROCESSNAME                   centcore 
    _CRITICAL                      1:1 
}

define service {
    service_description            proc-centcore 
    name                           App-Monitoring-Centreon-Process-centcore-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Process-centcore 
}

define service {
    service_description            proc-broker-sql 
    name                           App-Monitoring-Centreon-Process-broker-sql 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP-custom 
    _PROCESSNAME                   cbd 
    _PROCESSARGS                   '/etc/centreon-broker/central-broker(.xml|.json)' 
    _CRITICAL                      1:1 
    _EXTRAOPTIONS                  --cpu --memory 
}

define service {
    service_description            proc-broker-sql 
    name                           App-Monitoring-Centreon-Process-broker-sql-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Process-broker-sql 
}

define service {
    service_description            proc-broker-rrd 
    name                           App-Monitoring-Centreon-Process-broker-rrd 
    register                       0 
    use                            OS-Linux-Process-Generic-SNMP-custom 
    _PROCESSNAME                   cbd 
    _PROCESSARGS                   '/etc/centreon-broker/central-rrd(.xml|.json)' 
    _CRITICAL                      1:1 
    _EXTRAOPTIONS                  --cpu --memory 
}

define service {
    service_description            proc-broker-rrd 
    name                           App-Monitoring-Centreon-Process-broker-rrd-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Process-broker-rrd 
}

define service {
    service_description            Ping 
    name                           Base-Ping-LAN 
    check_command                  base_centreon_ping 
    register                       0 
    use                            generic-active-service-custom 
    _PACKETNUMBER                  5 
    _WARNING                       200,20% 
    _CRITICAL                      400,50% 
}

define service {
    service_description            Ping 
    name                           Base-Ping-LAN-custom 
    register                       0 
    use                            Base-Ping-LAN 
}

define service {
    service_description            Swap 
    name                           OS-Linux-Swap-SNMP 
    check_command                  OS-Linux-SNMP-Swap 
    max_check_attempts             3 
    check_interval                 15 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _CRITICAL                      30 
    _EXTRAOPTIONS                   
    _WARNING                       10 
}

define service {
    service_description            Swap 
    name                           OS-Linux-Swap-SNMP-custom 
    register                       0 
    use                            OS-Linux-Swap-SNMP 
}

define service {
    service_description            Memory 
    name                           OS-Linux-Memory-SNMP 
    check_command                  OS-Linux-SNMP-Memory 
    max_check_attempts             3 
    check_interval                 15 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _CRITICAL                      90 
    _EXTRAOPTIONS                   
    _WARNING                       80 
}

define service {
    service_description            Memory 
    name                           OS-Linux-Memory-SNMP-custom 
    register                       0 
    use                            OS-Linux-Memory-SNMP 
}

define service {
    service_description            Load 
    name                           OS-Linux-Load-SNMP 
    check_command                  OS-Linux-SNMP-Load 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _CRITICAL                      6,5,4 
    _EXTRAOPTIONS                   
    _WARNING                       4,3,2 
}

define service {
    service_description            Load 
    name                           OS-Linux-Load-SNMP-custom 
    register                       0 
    use                            OS-Linux-Load-SNMP 
}

define service {
    service_description            Cpu 
    name                           OS-Linux-Cpu-SNMP 
    check_command                  OS-Linux-SNMP-Cpu 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _WARNING                       80 
    _CRITICAL                      90 
}

define service {
    service_description            Cpu 
    name                           OS-Linux-Cpu-SNMP-custom 
    register                       0 
    use                            OS-Linux-Cpu-SNMP 
}

define service {
    service_description            Partitioning 
    name                           App-Centreon-MySQL-Partitioning 
    check_command                  App-Centreon-MySQL-Partitioning 
    max_check_attempts             5 
    check_interval                 1440 
    retry_interval                 5 
    register                       0 
    active_checks_enabled          1 
    passive_checks_enabled         0 
    use                            generic-active-service-custom 
    _WARNING                       7: 
    _CRITICAL                      3: 
    _TABLENAME1                    centreon_storage.data_bin 
    _TABLENAME2                    centreon_storage.logs 
    _TABLENAME3                    centreon_storage.log_archive_service 
    _TABLENAME4                    centreon_storage.log_archive_host 
}

define service {
    service_description            Partitioning 
    name                           App-Centreon-MySQL-Partitioning-custom 
    register                       0 
    use                            App-Centreon-MySQL-Partitioning 
}

define service {
    service_description            Slowqueries 
    name                           App-DB-MySQL-Slowqueries 
    check_command                  App-DB-MySQL 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _MODE                          slow-queries 
    _WARNING                       0 
    _CRITICAL                      0 
}

define service {
    service_description            Slowqueries 
    name                           App-DB-MySQL-Slowqueries-custom 
    register                       0 
    use                            App-DB-MySQL-Slowqueries 
}

define service {
    service_description            Queries 
    name                           App-DB-MySQL-Queries 
    check_command                  App-DB-MySQL-Queries 
    register                       0 
    use                            generic-active-service-custom 
}

define service {
    service_description            Queries 
    name                           App-DB-MySQL-Queries-custom 
    register                       0 
    use                            App-DB-MySQL-Queries 
}

define service {
    service_description            Open-Files 
    name                           App-DB-MySQL-Open-Files 
    check_command                  App-DB-MySQL 
    max_check_attempts             3 
    check_interval                 15 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _MODE                          open-files 
    _WARNING                       80 
    _CRITICAL                      95 
}

define service {
    service_description            Open-Files 
    name                           App-DB-MySQL-Open-Files-custom 
    register                       0 
    use                            App-DB-MySQL-Open-Files 
}

define service {
    service_description            Myisam-Keycache 
    name                           App-DB-MySQL-Myisam-Keycache 
    check_command                  App-DB-MySQL 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _MODE                          myisam-keycache-hitrate 
}

define service {
    service_description            Myisam-Keycache 
    name                           App-DB-MySQL-Myisam-Keycache-custom 
    register                       0 
    use                            App-DB-MySQL-Myisam-Keycache 
}

define service {
    service_description            Database-Size 
    name                           App-DB-MySQL-Database-Size 
    check_command                  App-DB-MySQL-Database-Size 
    register                       0 
    use                            generic-active-service-custom 
    _FILTERDATABASE                ^(?!(information_schema|performance_schema|test)) 
    _FILTERPERFDATA                database 
    _EXTRAOPTIONS                  --verbose 
}

define service {
    service_description            Database-Size 
    name                           App-DB-MySQL-Database-Size-custom 
    register                       0 
    use                            App-DB-MySQL-Database-Size 
}

define service {
    service_description            Connections-Number 
    name                           App-DB-MySQL-Connections-Number 
    check_command                  App-DB-MySQL-Threads-Connected 
    register                       0 
    use                            generic-active-service-custom 
}

define service {
    service_description            Connections-Number 
    name                           App-DB-MySQL-Connections-Number-custom 
    register                       0 
    use                            App-DB-MySQL-Connections-Number 
}

define service {
    service_description            Connection-Time 
    name                           App-DB-MySQL-Connection-Time 
    check_command                  App-DB-MySQL 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _MODE                          connection-time 
    _WARNING                       1000 
    _CRITICAL                      5000 
}

define service {
    service_description            Connection-Time 
    name                           App-DB-MySQL-Connection-Time-custom 
    register                       0 
    use                            App-DB-MySQL-Connection-Time 
}

define service {
    service_description            Disk-Generic-Name 
    name                           OS-Linux-Disk-Generic-Name-SNMP 
    check_command                  OS-Linux-SNMP-Disk-Name 
    max_check_attempts             3 
    check_interval                 30 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _WARNING                       80 
    _CRITICAL                      90 
    _EXTRAOPTIONS                  --filter-perfdata='storage.space|used|free' 
}

define service {
    service_description            Disk-Generic-Name 
    name                           OS-Linux-Disk-Generic-Name-SNMP-custom 
    register                       0 
    use                            OS-Linux-Disk-Generic-Name-SNMP 
}

define service {
    service_description            Broker-Stats 
    name                           App-Monitoring-Centreon-Broker-Stats-Central 
    check_command                  App-Monitoring-Centreon-Central-Broker-Stats 
    max_check_attempts             3 
    check_interval                 5 
    retry_interval                 1 
    register                       0 
    use                            generic-active-service-custom 
    _CRITICALSTATUS                %{type} eq "output" and %{queue_file_enabled} =~ /true|yes/i 
    _EXTRAOPTIONS                  --verbose 
}

define service {
    service_description            Broker-Stats 
    name                           App-Monitoring-Centreon-Broker-Stats-Central-custom 
    register                       0 
    use                            App-Monitoring-Centreon-Broker-Stats-Central 
}
