diff --git a/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md b/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md index 0a49caed1741..3ae4fb4d870c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md +++ b/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md @@ -27,9 +27,9 @@ Le connecteur apporte les modèles de service suivants -| Alias | Modèle de service | Description | -|:-------------|:-------------------------------------------------------------|:---------------------------------------| -| Api-Requests | Net-Cisco-Meraki-Cloudcontroller-Api-Requests-Restapi-custom | Contrôle l'utilisation de l'API Meraki | +| Alias | Modèle de service | Description | +|:-------------|:-------------------------------------------------------------|:---------------------------------------------| +| Api-Requests | Net-Cisco-Meraki-Cloudcontroller-Api-Requests-Restapi-custom | Contrôle l'utilisation de l'API Cisco Meraki | > Les services listés ci-dessus sont créés automatiquement lorsque le modèle d'hôte **Net-Cisco-Meraki-Cloudcontroller-Restapi-custom** est utilisé. @@ -81,8 +81,8 @@ Rendez-vous sur la [documentation dédiée](/docs/monitoring/discovery/hosts-dis #### Découverte de services -| Nom de la règle | Description | -|:------------------------------------------------------------------|:---------------------------------------------------------------| +| Nom de la règle | Description | +|:------------------------------------------------------------------|:------------| | Net-Cisco-Meraki-Cloudcontroller-Restapi-Vpn-Tunnels-Network-Name | Découvre les tunnels VPN en se basant sur les noms des réseaux | | Net-Cisco-Meraki-RestAPI-Device | Découvre les équipements et supervise le statut | | Net-Cisco-Meraki-RestAPI-Tag | Découvre les tags | @@ -328,14 +328,14 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi 3. Appliquez le modèle d'hôte **Net-Cisco-Meraki-Cloudcontroller-Restapi-custom**. Une liste de macros apparaît. Les macros vous permettent de définir comment le connecteur se connectera à la ressource, ainsi que de personnaliser le comportement du connecteur. 4. Renseignez les macros désirées. Attention, certaines macros sont obligatoires. -| Macro | Description | Valeur par défaut | Obligatoire | -|:----------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| MERAKIAPIHOSTNAME | Meraki API hostname | api.meraki.com | X | -| MERAKIAPITOKEN | Meraki API token | | X | -| MERAKIAPIPROTO | Define the protocol to use to reach the API | https | | -| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | -| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | -| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:----------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| MERAKIAPIHOSTNAME | Meraki API hostname The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details | api.meraki.com | X | +| MERAKIAPITOKEN | Meraki API token | | X | +| MERAKIAPIPROTO | Define the protocol to reach the API | https | | +| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | +| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | +| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | 5. [Déployez la configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). L'hôte apparaît dans la liste des hôtes supervisés, et dans la page **Statut des ressources**. La commande envoyée par le connecteur est indiquée dans le panneau de détails de l'hôte : celle-ci montre les valeurs des macros. @@ -347,15 +347,15 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi 3. Appliquez le modèle d'hôte **Net-Cisco-Meraki-Device-Restapi-custom**. Une liste de macros apparaît. Les macros vous permettent de définir comment le connecteur se connectera à la ressource, ainsi que de personnaliser le comportement du connecteur. 4. Renseignez les macros désirées. Attention, certaines macros sont obligatoires. -| Macro | Description | Valeur par défaut | Obligatoire | -|:----------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| MERAKIAPIHOSTNAME | Meraki API hostname | api.meraki.com | X | -| MERAKIAPITOKEN | Meraki API token | | X | -| MERAKIAPIPROTO | Define the protocol to use to reach the API | https | | -| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | -| MERAKIDEVICENAME | Filter devices by name (can be a regexp) | | | -| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | -| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:----------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| MERAKIAPIHOSTNAME | Meraki API hostname The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details | api.meraki.com | X | +| MERAKIAPITOKEN | Meraki API token | | X | +| MERAKIAPIPROTO | Define the protocol to reach the API | https | | +| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | +| MERAKIDEVICENAME | Filter devices by name (can be a regexp) | | | +| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | +| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | 5. [Déployez la configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). L'hôte apparaît dans la liste des hôtes supervisés, et dans la page **Statut des ressources**. La commande envoyée par le connecteur est indiquée dans le panneau de détails de l'hôte : celle-ci montre les valeurs des macros. @@ -367,15 +367,15 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi 3. Appliquez le modèle d'hôte **Net-Cisco-Meraki-Network-Restapi-custom**. Une liste de macros apparaît. Les macros vous permettent de définir comment le connecteur se connectera à la ressource, ainsi que de personnaliser le comportement du connecteur. 4. Renseignez les macros désirées. Attention, certaines macros sont obligatoires. -| Macro | Description | Valeur par défaut | Obligatoire | -|:----------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| MERAKIAPIHOSTNAME | Meraki API hostname | api.meraki.com | X | -| MERAKIAPITOKEN | Meraki API token | | X | -| MERAKIAPIPROTO | Define the protocol to use to reach the API | https | | -| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | -| MERAKINETWORKNAME | Filter network name (can be a regexp) | | | -| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | -| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:----------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| MERAKIAPIHOSTNAME | Meraki API hostname The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details | api.meraki.com | X | +| MERAKIAPITOKEN | Meraki API token | | X | +| MERAKIAPIPROTO | Define the protocol to reach the API | https | | +| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | +| MERAKINETWORKNAME | Filter network name (can be a regexp) | | | +| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | +| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | 5. [Déployez la configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). L'hôte apparaît dans la liste des hôtes supervisés, et dans la page **Statut des ressources**. La commande envoyée par le connecteur est indiquée dans le panneau de détails de l'hôte : celle-ci montre les valeurs des macros. @@ -390,189 +390,189 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi -| Macro | Description | Valeur par défaut | Obligatoire | -|:-----------------------|:---------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| FILTERORGANIZATIONNAME | Filter organization name (can be a regexp) | | | -| WARNINGAPIREQUESTS200 | Threshold | | | -| CRITICALAPIREQUESTS200 | Threshold | | | -| WARNINGAPIREQUESTS404 | Threshold | | | -| CRITICALAPIREQUESTS404 | Threshold | | | -| WARNINGAPIREQUESTS429 | Threshold | | | -| CRITICALAPIREQUESTS429 | Threshold | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:-----------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| FILTERORGANIZATIONNAME | Filter organization name (can be a regexp) | | | +| WARNINGAPIREQUESTS200 | Threshold | | | +| CRITICALAPIREQUESTS200 | Threshold | | | +| WARNINGAPIREQUESTS404 | Threshold | | | +| CRITICALAPIREQUESTS404 | Threshold | | | +| WARNINGAPIREQUESTS429 | Threshold | | | +| CRITICALAPIREQUESTS429 | Threshold | | | | EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | --verbose | | -| Macro | Description | Valeur par défaut | Obligatoire | -|:-------------|:---------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| Macro | Description | Valeur par défaut | Obligatoire | +|:-------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| | EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | -| Macro | Description | Valeur par défaut | Obligatoire | -|:---------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| WARNINGCONNECTIONSASSOC | Threshold | | | -| CRITICALCONNECTIONSASSOC | Threshold | | | -| WARNINGCONNECTIONSAUTH | Threshold | | | -| CRITICALCONNECTIONSAUTH | Threshold | | | -| WARNINGCONNECTIONSDHCP | Threshold | | | -| CRITICALCONNECTIONSDHCP | Threshold | | | -| WARNINGCONNECTIONSDNS | Threshold | | | -| CRITICALCONNECTIONSDNS | Threshold | | | -| WARNINGCONNECTIONSSUCCESS | Threshold | | | -| CRITICALCONNECTIONSSUCCESS | Threshold | | | -| WARNINGLINKLATENCY | Threshold | | | -| CRITICALLINKLATENCY | Threshold | | | -| WARNINGLINKLOSS | Threshold | | | -| CRITICALLINKLOSS | Threshold | | | -| WARNINGLINKSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link\_status\}, %\{display\} | | | -| CRITICALLINKSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{link\_status\}, %\{display\} | '%\{link\_status\} =~ /failed/i' | | -| WARNINGLOAD | Threshold | | | -| CRITICALLOAD | Threshold | | | -| WARNINGPORTSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | | | -| CRITICALPORTSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | '%\{port\_enabled\} == 1 and %\{port\_status\} !~ /^connected/i' | | -| WARNINGPORTTRAFFICIN | Threshold | | | -| CRITICALPORTTRAFFICIN | Threshold | | | -| WARNINGPORTTRAFFICOUT | Threshold | | | -| CRITICALPORTTRAFFICOUT | Threshold | | | -| WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | | | -| CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{status\}, %\{display\} | '%\{status\} =~ /alerting/i' | | -| WARNINGTOTALALERTING | Threshold | | | -| CRITICALTOTALALERTING | Threshold | | | -| WARNINGTOTALOFFLINE | Threshold | | | -| CRITICALTOTALOFFLINE | Threshold | | | -| WARNINGTOTALOFFLINEPRCT | Threshold | | | -| CRITICALTOTALOFFLINEPRCT | Threshold | | | -| WARNINGTOTALONLINE | Threshold | | | -| CRITICALTOTALONLINE | Threshold | | | -| WARNINGTOTALONLINEPRCT | Threshold | | | -| CRITICALTOTALONLINEPRCT | Threshold | | | -| WARNINGTRAFFICIN | Threshold | | | -| CRITICALTRAFFICIN | Threshold | | | -| WARNINGTRAFFICOUT | Threshold | | | -| CRITICALTRAFFICOUT | Threshold | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGLINKLATENCY | Threshold in milliseconds | | | +| CRITICALLINKLATENCY | Threshold in milliseconds | | | +| WARNINGLINKLOSS | Threshold in percentage | | | +| CRITICALLINKLOSS | Threshold in percentage | | | +| WARNINGLINKSTATUS | Threshold | | | +| CRITICALLINKSTATUS | Threshold | | | +| WARNINGLOAD | Threshold | | | +| CRITICALLOAD | Threshold | | | +| WARNINGPORTSTATUS | Threshold | | | +| CRITICALPORTSTATUS | Threshold | | | +| WARNINGPORTTRAFFICIN | Threshold in b/s | | | +| CRITICALPORTTRAFFICIN | Threshold in b/s | | | +| WARNINGPORTTRAFFICOUT | Threshold in b/s | | | +| CRITICALPORTTRAFFICOUT | Threshold in b/s | | | +| WARNINGSTATUS | Threshold | | | +| CRITICALSTATUS | Threshold | | | +| WARNINGTOTALALERTING | Threshold | | | +| CRITICALTOTALALERTING | Threshold | | | +| WARNINGTOTALOFFLINE | Threshold | | | +| CRITICALTOTALOFFLINE | Threshold | | | +| WARNINGTOTALOFFLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALOFFLINEPRCT | Threshold in percentage | | | +| WARNINGTOTALONLINE | Threshold | | | +| CRITICALTOTALONLINE | Threshold | | | +| WARNINGTOTALONLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALONLINEPRCT | Threshold in percentage | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | -| Macro | Description | Valeur par défaut | Obligatoire | -|:---------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------|:-----------:| -| FILTERDEVICENAME | Filter devices by name (can be a regexp) | | | -| FILTERLINKNAME | Filter VPN links by name (can be a regexp) | | | -| FILTERNETWORKID | Filter devices by network ID (can be a regexp) | | | -| FILTERTAGS | Filter devices by tags (can be a regexp) | | | -| FILTERORGANIZATIONNAME | Filter devices by organization name (can be a regexp) | | | -| FILTERORGANIZATIONID | Filter devices by organization ID (can be a regexp) | | | -| WARNINGCONNECTIONSASSOC | Threshold | | | -| CRITICALCONNECTIONSASSOC | Threshold | | | -| WARNINGCONNECTIONSAUTH | Threshold | | | -| CRITICALCONNECTIONSAUTH | Threshold | | | -| WARNINGCONNECTIONSDHCP | Threshold | | | -| CRITICALCONNECTIONSDHCP | Threshold | | | -| WARNINGCONNECTIONSDNS | Threshold | | | -| CRITICALCONNECTIONSDNS | Threshold | | | -| WARNINGCONNECTIONSSUCCESS | Threshold | | | -| CRITICALCONNECTIONSSUCCESS | Threshold | | | -| WARNINGLINKLATENCY | Threshold | | | -| CRITICALLINKLATENCY | Threshold | | | -| WARNINGLINKLOSS | Threshold | | | -| CRITICALLINKLOSS | Threshold | | | -| WARNINGLINKSINEFFECTIVE | Threshold | | | -| CRITICALLINKSINEFFECTIVE | Threshold | | | -| CRITICALLINKSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{link\_status\}, %\{display\} | %\{link\_status} =~ /failed/i | | -| WARNINGLINKSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link\_status\}, %\{display\} | | | -| WARNINGLOAD | Thresholds | | | -| CRITICALLOAD | Thresholds | | | -| WARNINGPORTSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | | | -| CRITICALPORTSTATUS | Define the conditions to match for the status to be CRITICAL (default: '%\{port\_enabled\} == 1 and %\{port\_status\} !~ /^connected/i'). You can use the following variables: %\{port\_status\}, %\{port\_enabled}, %\{display} | | | -| WARNINGPORTTRAFFICIN | Threshold | | | -| CRITICALPORTTRAFFICIN | Threshold | | | -| WARNINGPORTTRAFFICOUT | Threshold | | | -| CRITICALPORTTRAFFICOUT | Threshold | | | -| CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{status\}, %\{display\} | '%\{status\} =~ /alerting/i' | | -| WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | | | -| WARNINGTOTALALERTING | Threshold | | | -| CRITICALTOTALALERTING | Threshold | | | -| WARNINGTOTALOFFLINE | Threshold | | | -| CRITICALTOTALOFFLINE | Threshold | | | -| WARNINGTOTALOFFLINEPRCT | Threshold | | | -| CRITICALTOTALOFFLINEPRCT | Threshold | | | -| WARNINGTOTALONLINE | Threshold | | | -| CRITICALTOTALONLINE | Threshold | | | -| WARNINGTOTALONLINEPRCT | Threshold | | | -| CRITICALTOTALONLINEPRCT | Threshold | | | -| WARNINGTRAFFICIN | Threshold | | | -| CRITICALTRAFFICIN | Threshold | | | -| WARNINGTRAFFICOUT | Threshold | | | -| CRITICALTRAFFICOUT | Threshold | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | --verbose | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------|:-----------:| +| FILTERDEVICENAME | Filter devices by name (can be a regexp) | | | +| FILTERLINKNAME | Filter VPN links by name (can be a regexp) | | | +| FILTERNETWORKID | Filter devices by network ID (can be a regexp) | | | +| FILTERTAGS | Filter devices by tags (can be a regexp) | | | +| FILTERORGANIZATIONNAME | Filter devices by organization name (can be a regexp) | | | +| FILTERORGANIZATIONID | Filter devices by organization ID (can be a regexp) | | | +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGLINKLATENCY | Threshold in milliseconds | | | +| CRITICALLINKLATENCY | Threshold in milliseconds | | | +| WARNINGLINKLOSS | Threshold in percentage | | | +| CRITICALLINKLOSS | Threshold in percentage | | | +| WARNINGLINKSINEFFECTIVE | Threshold | | | +| CRITICALLINKSINEFFECTIVE | Threshold | | | +| CRITICALLINKSTATUS | Threshold | %\{link\_status\} =~ /failed/i | | +| WARNINGLINKSTATUS | Threshold | | | +| WARNINGLOAD | Threshold | | | +| CRITICALLOAD | Threshold | | | +| WARNINGPORTSTATUS | Threshold | | | +| CRITICALPORTSTATUS | Threshold | | | +| WARNINGPORTTRAFFICIN | Threshold in b/s | | | +| CRITICALPORTTRAFFICIN | Threshold in b/s | | | +| WARNINGPORTTRAFFICOUT | Threshold in b/s | | | +| CRITICALPORTTRAFFICOUT | Threshold in b/s | | | +| CRITICALSTATUS | Threshold | %\{status\} =~ /alerting/i | | +| WARNINGSTATUS | Threshold | | | +| WARNINGTOTALALERTING | Threshold | | | +| CRITICALTOTALALERTING | Threshold | | | +| WARNINGTOTALOFFLINE | Threshold | | | +| CRITICALTOTALOFFLINE | Threshold | | | +| WARNINGTOTALOFFLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALOFFLINEPRCT | Threshold in percentage | | | +| WARNINGTOTALONLINE | Threshold | | | +| CRITICALTOTALONLINE | Threshold | | | +| WARNINGTOTALONLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALONLINEPRCT | Threshold in percentage | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | --verbose | | -| Macro | Description | Valeur par défaut | Obligatoire | -|:---------------------------|:---------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| WARNINGCONNECTIONSASSOC | Threshold | | | -| CRITICALCONNECTIONSASSOC | Threshold | | | -| WARNINGCONNECTIONSAUTH | Threshold | | | -| CRITICALCONNECTIONSAUTH | Threshold | | | -| WARNINGCONNECTIONSDHCP | Threshold | | | -| CRITICALCONNECTIONSDHCP | Threshold | | | -| WARNINGCONNECTIONSDNS | Threshold | | | -| CRITICALCONNECTIONSDNS | Threshold | | | -| WARNINGCONNECTIONSSUCCESS | Threshold | | | -| CRITICALCONNECTIONSSUCCESS | Threshold | | | -| WARNINGTRAFFICIN | Threshold | | | -| CRITICALTRAFFICIN | Threshold | | | -| WARNINGTRAFFICOUT | Threshold | | | -| CRITICALTRAFFICOUT | Threshold | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | | EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | -| Macro | Description | Valeur par défaut | Obligatoire | -|:---------------------------|:---------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| FILTERNETWORKNAME | Filter network name (can be a regexp) | | | -| FILTERORGANIZATIONNAME | Filter networks by organization name (can be a regexp) | | | -| FILTERORGANIZATIONID | Filter networks by organization ID (can be a regexp) | | | -| WARNINGCONNECTIONSASSOC | Threshold | | | -| CRITICALCONNECTIONSASSOC | Threshold | | | -| WARNINGCONNECTIONSAUTH | Threshold | | | -| CRITICALCONNECTIONSAUTH | Threshold | | | -| WARNINGCONNECTIONSDHCP | Threshold | | | -| CRITICALCONNECTIONSDHCP | Threshold | | | -| WARNINGCONNECTIONSDNS | Threshold | | | -| CRITICALCONNECTIONSDNS | Threshold | | | -| WARNINGCONNECTIONSSUCCESS | Threshold | | | -| CRITICALCONNECTIONSSUCCESS | Threshold | | | -| WARNINGTRAFFICIN | Threshold | | | -| CRITICALTRAFFICIN | Threshold | | | -| WARNINGTRAFFICOUT | Threshold | | | -| CRITICALTRAFFICOUT | Threshold | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| FILTERNETWORKNAME | Filter network name (can be a regexp) | | | +| FILTERORGANIZATIONNAME | Filter networks by organization name (can be a regexp) | | | +| FILTERORGANIZATIONID | Filter networks by organization ID (can be a regexp) | | | +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | | EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | --verbose | | -| Macro | Description | Valeur par défaut | Obligatoire | -|:-------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| FILTERNETWORKNAME | Filter VPN tunnels by network name (can be a regexp) | | | -| FILTERORGANIZATIONID | Filter VPN tunnels by organization ID (can be a regexp) | | | -| FILTERORGANIZATIONNAME | Filter VPN tunnels by organization name (can be a regexp) | | | -| FILTERDEVICESERIAL | Filter VPN tunnels by device serial (can be a regexp) | | | -| FILTERVPNNAME | Filter VPN tunnels by VPN name (can be a regexp) | | | -| FILTERVPNTYPE | Filter VPN tunnels by VPN type (can be a regexp) | | | -| WARNINGDEVICESTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\}, %\{deviceMode\} | | | -| CRITICALDEVICESTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\} | | | -| WARNINGTOTALUNREACHABLE | Threshold | | | -| CRITICALTOTALUNREACHABLE | Threshold | | | -| WARNINGVPNSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | | | -| CRITICALVPNSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | '%\{deviceStatus\} =~ /online/i and %\{vpnStatus\} =~ /unreachable/i' | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | +| Macro | Description | Valeur par défaut | Obligatoire | +|:-------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| +| FILTERNETWORKNAME | Filter VPN tunnels by network name (can be a regexp) | | | +| FILTERORGANIZATIONID | Filter VPN tunnels by organization ID (can be a regexp) | | | +| FILTERORGANIZATIONNAME | Filter VPN tunnels by organization name (can be a regexp) | | | +| FILTERDEVICESERIAL | Filter VPN tunnels by device serial (can be a regexp) | | | +| FILTERVPNNAME | Filter VPN tunnels by VPN name (can be a regexp) | | | +| FILTERVPNTYPE | Filter VPN tunnels by VPN type (can be a regexp) | | | +| WARNINGDEVICESTATUS | Threshold | | | +| CRITICALDEVICESTATUS | Threshold | | | +| WARNINGTOTALUNREACHABLE | Threshold | | | +| CRITICALTOTALUNREACHABLE | Threshold | | | +| WARNINGVPNSTATUS | Threshold | | | +| CRITICALVPNSTATUS | Threshold | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | | @@ -643,10 +643,10 @@ Le plugin apporte les modes suivants : | api-requests [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/apirequests.pm)] | Net-Cisco-Meraki-Cloudcontroller-Api-Requests-Restapi-custom | | cache [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/cache.pm)] | Net-Cisco-Meraki-Cloudcontroller-Cache-Restapi-custom | | devices [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/devices.pm)] | Net-Cisco-Meraki-Cloudcontroller-Device-Restapi-custom
Net-Cisco-Meraki-Cloudcontroller-Devices-Restapi-custom | -| discovery [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/discovery.pm)] | Used for host discovery | -| list-devices [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/listdevices.pm)] | Used for service discovery | -| list-tags [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/listtags.pm)] | Used for service discovery | -| list-vpn-tunnels [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/listvpntunnels.pm)] | Used for service discovery | +| discovery [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/discovery.pm)] | Utilisé pour la découverte d'hôtes | +| list-devices [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/listdevices.pm)] | Utilisé pour la découverte de services | +| list-tags [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/listtags.pm)] | Utilisé pour la découverte de services | +| list-vpn-tunnels [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/listvpntunnels.pm)] | Utilisé pour la découverte de services | | networks [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/networks.pm)] | Net-Cisco-Meraki-Cloudcontroller-Network-Restapi-custom
Net-Cisco-Meraki-Cloudcontroller-Networks-Restapi-custom | | vpn-tunnels [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/network/cisco/meraki/cloudcontroller/restapi/mode/vpntunnels.pm)] | Net-Cisco-Meraki-Cloudcontroller-Vpn-Tunnels-Restapi-custom | @@ -669,6 +669,7 @@ Les options génériques sont listées ci-dessous : | --pass-manager | Define the password manager you want to use. Supported managers are: environment, file, keepass, hashicorpvault and teampass. | | --verbose | Display extended status information (long output). | | --debug | Display debug messages. | +| --show-password | By default, sensitive information in command lines is hidden in debug output and replaced with `***` (however, debug logs may still display sensitive information). Using the C option will display the passwords in plain text. | | --filter-perfdata | Filter perfdata that match the regexp. Example: adding --filter-perfdata='avg' will remove all metrics that do not contain 'avg' from performance data. | | --filter-perfdata-adv | Filter perfdata based on a "if" condition using the following variables: label, value, unit, warning, critical, min, max. Variables must be written either %\{variable\} or %(variable). Example: adding --filter-perfdata-adv='not (%(value) == 0 and %(max) eq "")' will remove all metrics whose value equals 0 and that don't have a maximum value. | | --explode-perfdata-max | Create a new metric for each metric that comes with a maximum limit. The new metric will be named identically with a '\_max' suffix. Example: it will split 'used\_prct'=26.93%;0:80;0:90;0;100 into 'used\_prct'=26.93%;0:80;0:90;0;100 'used\_prct\_max'=100%;;;; | @@ -676,9 +677,9 @@ Les options génériques sont listées ci-dessous : | --change-perfdata | Change or extend perfdata. Syntax: --extend-perfdata=searchlabel,newlabel,target\[,\[\\],\[min\],\[max\]\] Common examples: onvert storage free perfdata into used: --change-perfdata='free,used,invert()' Convert storage free perfdata into used: --change-perfdata='used,free,invert()' Scale traffic values automatically: --change-perfdata='traffic,,scale(auto)' Scale traffic values in Mbps: --change-perfdata='traffic\_in,,scale(Mbps),mbps' Change traffic values in percent: --change-perfdata='traffic\_in,,percent()' =back | | --extend-perfdata | Change or extend perfdata. Syntax: --extend-perfdata=searchlabel,newlabel,target\[,\[\\],\[min\],\[max\]\] Common examples: onvert storage free perfdata into used: --change-perfdata='free,used,invert()' Convert storage free perfdata into used: --change-perfdata='used,free,invert()' Scale traffic values automatically: --change-perfdata='traffic,,scale(auto)' Scale traffic values in Mbps: --change-perfdata='traffic\_in,,scale(Mbps),mbps' Change traffic values in percent: --change-perfdata='traffic\_in,,percent()' =back | | --extend-perfdata-group | Add new aggregated metrics (min, max, average or sum) for groups of metrics defined by a regex match on the metrics' names. Syntax: --extend-perfdata-group=regex,\,calculation\[,\[\\],\[min\],\[max\]\] regex: regular expression \: how the new metrics' names are composed (can use $1, $2... for groups defined by () in regex). calculation: how the values of the new metrics should be calculated \ (optional): unit of measure for the new metrics min (optional): lowest value the metrics can reach max (optional): highest value the metrics can reach Common examples: um wrong packets from all interfaces (with interface need --units-errors=absolute): --extend-perfdata-group=',packets\_wrong,sum(packets\_(discard\|error)\_(in\|out))' Sum traffic by interface: --extend-perfdata-group='traffic\_in\_(.*),traffic\_$1,sum(traffic\_(in\|out)\_$1)' =back | -| --change-short-output --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK\~Up\~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | -| --change-short-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK\~Up\~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | -| --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK\~Up\~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | +| --change-short-output --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK~Up~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | +| --change-short-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK~Up~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | +| --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK~Up~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | | --change-exit | Replace an exit code with one of your choice. Example: adding --change-exit=unknown=critical will result in a CRITICAL state instead of an UNKNOWN state. | | --change-output-adv | Replace short output and exit code based on a "if" condition using the following variables: short\_output, exit\_code. Variables must be written either %\{variable\} or %(variable). Example: adding --change-output-adv='%(short\_ouput) =~ /UNKNOWN: No daemon/,OK: No daemon,OK' will change the following specific UNKNOWN result to an OK result. | | --range-perfdata | Rewrite the ranges displayed in the perfdata. Accepted values: 0: nothing is changed. 1: if the lower value of the range is equal to 0, it is removed. 2: remove the thresholds from the perfdata. | @@ -694,10 +695,9 @@ Les options génériques sont listées ci-dessous : | --disco-show | Applies only to modes beginning with 'list-'. Returns the list of discovered objects (formatted in XML) for service discovery. | | --float-precision | Define the float precision for thresholds (default: 8). | | --source-encoding | Define the character encoding of the response sent by the monitored resource Default: 'UTF-8'. \. | -| --filter-counters | Only display some counters (regexp can be used). Example to check SSL connections only : --filter-counters='^xxxx\|yyyy$' | | --http-peer-addr | Set the address you want to connect to. Useful if hostname is only a vhost, to avoid IP resolution. | | --proxyurl | Proxy URL. Example: http://my.proxy:3128 | -| --proxypac | Proxy pac file (can be a URL or a local file). | +| --proxypac | Proxy PAC file (can be a URL or a local file). | | --insecure | Accept insecure SSL connections. | | --http-backend | Perl library to use for HTTP transactions. Possible values are: lwp (default) and curl. | | --memcached | Memcached server to use (only one server). | @@ -712,10 +712,11 @@ Les options génériques sont listées ci-dessous : | --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). | | --statefile-key | Define the key to encrypt/decrypt the cache. | | --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). | -| --hostname | Meraki API hostname (default: 'api.meraki.com') | +| --hostname | Meraki API hostname (default: 'api.meraki.com') The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details. | | --port | Define the TCP port to use to reach the API (default: 443). | | --proto | Define the protocol to reach the API (default: 'https'). | | --api-token | Meraki API token. | +| --timespan | Define the duration, in seconds, of the historical data to fetch. Can be 300, 600, 1200, 3600, 14400, 86400 (default: 300). | | --timeout | Define the timeout for HTTP requests. | | --ignore-permission-errors | Ignore permission errors (403 status code). | | --ignore-orgs-api-disabled | Ignore organizations where the API is disabled. | @@ -729,105 +730,207 @@ Les options disponibles pour chaque modèle de services sont listées ci-dessous -| Option | Description | -|:---------------------------|:--------------------------------------------------------------------------------| -| --filter-organization-name | Filter organization name (can be a regexp). | -| --warning-* --critical-* | Thresholds. Can be: 'api-requests-200', 'api-requests-404', 'api-requests-429'. | +| Option | Description | +|:----------------------------|:--------------------------------------------| +| --filter-organization-name | Filter organization name (can be a regexp). | +| --warning-api-requests-200 | Threshold. | +| --critical-api-requests-200 | Threshold. | +| --warning-api-requests-404 | Threshold. | +| --critical-api-requests-404 | Threshold. | +| --warning-api-requests-429 | Threshold. | +| --critical-api-requests-429 | Threshold. | -| Option | Description | -|:-------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-device-name | Filter devices by name (can be a regexp). | -| --filter-link-name | Filter VPN links by name (can be a regexp). | -| --filter-network-id | Filter devices by network ID (can be a regexp). | -| --filter-organization-id | Filter devices by organization ID (can be a regexp). | -| --filter-organization-name | Filter devices by organization name (can be a regexp). | -| --filter-tags | Filter devices by tags (can be a regexp). | -| --add-switch-ports | Add switch port statuses and traffic. | -| --filter-switch-port | Filter switch port (can be a regexp). | -| --skip-clients | Don't monitor clients traffic on device. | -| --skip-performance | Don't monitor appliance performance score. | -| --skip-connections | Don't monitor connection stats. | -| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | -| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | -| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | -| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} =~ /alerting/i'). You can use the following variables: %\{status\}, %\{display\} | -| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | -| --warning-link-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link\_status\}, %\{display\} | -| --critical-link-status | Define the conditions to match for the status to be CRITICAL (default: '%\{link\_status\} =~ /failed/i'). You can use the following variables: %\{link\_status\}, %\{display\} | -| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-port-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --critical-port-status | Define the conditions to match for the status to be CRITICAL (default: '%\{port\_enabled\} == 1 and %\{port\_status\} !~ /^connected/i'). You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-* --critical-* | Thresholds. Can be: 'total-online', 'total-online-prct', 'total-offline', 'total-offline-prct', 'total-alerting', 'traffic-in', 'traffic-out', 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'load', 'links-ineffective', 'link-latency' (ms), ''link-loss' (%), 'port-traffic-in', 'port-traffic-out'. | +| Option | Description | +|:-------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------| +| --filter-device-name | Filter devices by name (can be a regexp). | +| --filter-link-name | Filter VPN links by name (can be a regexp). | +| --filter-network-id | Filter devices by network ID (can be a regexp). | +| --filter-organization-id | Filter devices by organization ID (can be a regexp). | +| --filter-organization-name | Filter devices by organization name (can be a regexp). | +| --filter-tags | Filter devices by tags (can be a regexp). | +| --add-switch-ports | Add switch port statuses and traffic. | +| --filter-switch-port | Filter switch port (can be a regexp). | +| --skip-clients | Don't monitor clients traffic on device. | +| --skip-performance | Don't monitor appliance performance score. | +| --skip-connections | Don't monitor connection stats. | +| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | +| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | +| --warning-status | Threshold. | +| --critical-status | Threshold. | +| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | +| --warning-link-status | Threshold. | +| --critical-link-status | Threshold. | +| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | +| --warning-port-status | Threshold. | +| --critical-port-status | Threshold. | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-link-latency | Threshold in milliseconds. | +| --critical-link-latency | Threshold in milliseconds. | +| --warning-link-loss | Threshold in percentage. | +| --critical-link-loss | Threshold in percentage. | +| --warning-links-ineffective | Threshold. | +| --critical-links-ineffective | Threshold. | +| --warning-load | Threshold. | +| --critical-load | Threshold. | +| --warning-port-traffic-in | Threshold in b/s. | +| --critical-port-traffic-in | Threshold in b/s. | +| --warning-port-traffic-out | Threshold in b/s. | +| --critical-port-traffic-out | Threshold in b/s. | +| --warning-total-alerting | Threshold. | +| --critical-total-alerting | Threshold. | +| --warning-total-offline | Threshold. | +| --critical-total-offline | Threshold. | +| --warning-total-offline-prct | Threshold in percentage. | +| --critical-total-offline-prct | Threshold in percentage. | +| --warning-total-online | Threshold. | +| --critical-total-online | Threshold. | +| --warning-total-online-prct | Threshold in percentage. | +| --critical-total-online-prct | Threshold in percentage. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:-------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-device-name | Filter devices by name (can be a regexp). | -| --filter-link-name | Filter VPN links by name (can be a regexp). | -| --filter-network-id | Filter devices by network ID (can be a regexp). | -| --filter-organization-id | Filter devices by organization ID (can be a regexp). | -| --filter-organization-name | Filter devices by organization name (can be a regexp). | -| --filter-tags | Filter devices by tags (can be a regexp). | -| --add-switch-ports | Add switch port statuses and traffic. | -| --filter-switch-port | Filter switch port (can be a regexp). | -| --skip-clients | Don't monitor clients traffic on device. | -| --skip-performance | Don't monitor appliance performance score. | -| --skip-connections | Don't monitor connection stats. | -| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | -| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | -| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | -| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} =~ /alerting/i'). You can use the following variables: %\{status\}, %\{display\} | -| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | -| --warning-link-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link\_status\}, %\{display\} | -| --critical-link-status | Define the conditions to match for the status to be CRITICAL (default: '%\{link\_status\} =~ /failed/i'). You can use the following variables: %\{link\_status\}, %\{display\} | -| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-port-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --critical-port-status | Define the conditions to match for the status to be CRITICAL (default: '%\{port\_enabled\} == 1 and %\{port\_status\} !~ /^connected/i'). You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-* --critical-* | Thresholds. Can be: 'total-online', 'total-online-prct', 'total-offline', 'total-offline-prct', 'total-alerting', 'traffic-in', 'traffic-out', 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'load', 'links-ineffective', 'link-latency' (ms), ''link-loss' (%), 'port-traffic-in', 'port-traffic-out'. | +| Option | Description | +|:-------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------| +| --filter-device-name | Filter devices by name (can be a regexp). | +| --filter-link-name | Filter VPN links by name (can be a regexp). | +| --filter-network-id | Filter devices by network ID (can be a regexp). | +| --filter-organization-id | Filter devices by organization ID (can be a regexp). | +| --filter-organization-name | Filter devices by organization name (can be a regexp). | +| --filter-tags | Filter devices by tags (can be a regexp). | +| --add-switch-ports | Add switch port statuses and traffic. | +| --filter-switch-port | Filter switch port (can be a regexp). | +| --skip-clients | Don't monitor clients traffic on device. | +| --skip-performance | Don't monitor appliance performance score. | +| --skip-connections | Don't monitor connection stats. | +| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | +| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | +| --warning-status | Threshold. | +| --critical-status | Threshold. | +| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | +| --warning-link-status | Threshold. | +| --critical-link-status | Threshold. | +| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | +| --warning-port-status | Threshold. | +| --critical-port-status | Threshold. | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-link-latency | Threshold in milliseconds. | +| --critical-link-latency | Threshold in milliseconds. | +| --warning-link-loss | Threshold in percentage. | +| --critical-link-loss | Threshold in percentage. | +| --warning-links-ineffective | Threshold. | +| --critical-links-ineffective | Threshold. | +| --warning-load | Threshold. | +| --critical-load | Threshold. | +| --warning-port-traffic-in | Threshold in b/s. | +| --critical-port-traffic-in | Threshold in b/s. | +| --warning-port-traffic-out | Threshold in b/s. | +| --critical-port-traffic-out | Threshold in b/s. | +| --warning-total-alerting | Threshold. | +| --critical-total-alerting | Threshold. | +| --warning-total-offline | Threshold. | +| --critical-total-offline | Threshold. | +| --warning-total-offline-prct | Threshold in percentage. | +| --critical-total-offline-prct | Threshold in percentage. | +| --warning-total-online | Threshold. | +| --critical-total-online | Threshold. | +| --warning-total-online-prct | Threshold in percentage. | +| --critical-total-online-prct | Threshold in percentage. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:---------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-network-name | Filter network name (can be a regexp). | -| --filter-organization-id | Filter networks by organization ID (can be a regexp). | -| --filter-organization-name | Filter networks by organization name (can be a regexp). | -| --warning-* --critical-* | Thresholds. Can be: 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'traffic-in', 'traffic-out'. | +| Option | Description | +|:-------------------------------|:--------------------------------------------------------| +| --filter-network-name | Filter network name (can be a regexp). | +| --filter-organization-id | Filter networks by organization ID (can be a regexp). | +| --filter-organization-name | Filter networks by organization name (can be a regexp). | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:---------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-network-name | Filter network name (can be a regexp). | -| --filter-organization-id | Filter networks by organization ID (can be a regexp). | -| --filter-organization-name | Filter networks by organization name (can be a regexp). | -| --warning-* --critical-* | Thresholds. Can be: 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'traffic-in', 'traffic-out'. | +| Option | Description | +|:-------------------------------|:--------------------------------------------------------| +| --filter-network-name | Filter network name (can be a regexp). | +| --filter-organization-id | Filter networks by organization ID (can be a regexp). | +| --filter-organization-name | Filter networks by organization name (can be a regexp). | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:---------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-network-name | Filter VPN tunnels by network name (can be a regexp). | -| --filter-organization-id | Filter VPN tunnels by organization ID (can be a regexp). | -| --filter-organization-name | Filter VPN tunnels by organization name (can be a regexp). | -| --filter-device-serial | Filter VPN tunnels by device serial (can be a regexp). | -| --filter-vpn-type | Filter VPN tunnels by VPN type (can be a regexp). | -| --filter-vpn-name | Filter VPN tunnels by VPN name (can be a regexp). | -| --unknown-device-status | Define the conditions to match for the status to be UNKNOWN (default: '%\{deviceStatus\} =~ /offline/i'). You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\}, %\{deviceMode\} | -| --warning-device-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\}, %\{deviceMode\} | -| --critical-device-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\} | -| --unknown-vpn-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | -| --warning-vpn-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | -| --critical-vpn-status | Define the conditions to match for the status to be CRITICAL (default: '%\{deviceStatus\} =~ /online/i and %\{vpnStatus\} =~ /unreachable/i'). You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | -| --warning-* --critical-* | Thresholds. Can be: 'total-unreachable'. | +| Option | Description | +|:-----------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| --filter-network-name | Filter VPN tunnels by network name (can be a regexp). | +| --filter-organization-id | Filter VPN tunnels by organization ID (can be a regexp). | +| --filter-organization-name | Filter VPN tunnels by organization name (can be a regexp). | +| --filter-device-serial | Filter VPN tunnels by device serial (can be a regexp). | +| --filter-vpn-type | Filter VPN tunnels by VPN type (can be a regexp). | +| --filter-vpn-name | Filter VPN tunnels by VPN name (can be a regexp). | +| --unknown-device-status | Define the conditions to match for the status to be UNKNOWN (default: '%\{deviceStatus\} =~ /offline/i'). You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\}, %\{deviceMode\} | +| --warning-device-status | Threshold. | +| --critical-device-status | Threshold. | +| --unknown-vpn-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | +| --warning-vpn-status | Threshold. | +| --critical-vpn-status | Threshold. | +| --warning-total-unreachable | Threshold. | +| --critical-total-unreachable | Threshold. | @@ -838,6 +941,6 @@ affichée en ajoutant le paramètre `--help` à la commande : ```bash /usr/lib/centreon/plugins/centreon_cisco_meraki_restapi.pl \ --plugin=network::cisco::meraki::cloudcontroller::restapi::plugin \ - --mode=devices \ + --mode=networks \ --help ``` diff --git a/pp/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md b/pp/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md index dc0c9e4e87c7..599251fb138e 100644 --- a/pp/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md +++ b/pp/integrations/plugin-packs/procedures/network-cisco-meraki-restapi.md @@ -26,9 +26,9 @@ The connector brings the following service templates (sorted by the host templat -| Service Alias | Service Template | Service Description | -|:--------------|:-------------------------------------------------------------|:-----------------------| -| Api-Requests | Net-Cisco-Meraki-Cloudcontroller-Api-Requests-Restapi-custom | Check Meraki API usage | +| Service Alias | Service Template | Service Description | +|:--------------|:-------------------------------------------------------------|:-----------------------------| +| Api-Requests | Net-Cisco-Meraki-Cloudcontroller-Api-Requests-Restapi-custom | Check Cisco Meraki API usage | > The services listed above are created automatically when the **Net-Cisco-Meraki-Cloudcontroller-Restapi-custom** host template is used. @@ -230,8 +230,7 @@ You can generate, revoke, and regenerate your API key on your profile. ### Pack - The installation procedures for monitoring connectors are slightly different depending on [whether your license is offline or online](../getting-started/how-to-guides/connectors-licenses.md). - +The installation procedures for monitoring connectors are slightly different depending on [whether your license is offline or online](../getting-started/how-to-guides/connectors-licenses.md). 1. If the platform uses an *online* license, you can skip the package installation instruction below as it is not required to have the connector displayed within the @@ -329,14 +328,14 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi 3. Apply the **Net-Cisco-Meraki-Cloudcontroller-Restapi-custom** template to the host. A list of macros appears. Macros allow you to define how the connector will connect to the resource, and to customize the connector's behavior. 4. Fill in the macros you want. Some macros are mandatory. -| Macro | Description | Default value | Mandatory | -|:----------------------|:-----------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| MERAKIAPIHOSTNAME | Meraki API hostname | api.meraki.com | X | -| MERAKIAPITOKEN | Meraki API token | | X | -| MERAKIAPIPROTO | Define the protocol to use to reach the API | https | | -| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | -| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | -| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). All options are listed [here](#available-options). | | | +| Macro | Description | Default value | Mandatory | +|:----------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|:---------:| +| MERAKIAPIHOSTNAME | Meraki API hostname The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details | api.meraki.com | X | +| MERAKIAPITOKEN | Meraki API token | | X | +| MERAKIAPIPROTO | Define the protocol to reach the API | https | | +| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | +| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | +| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). All options are listed [here](#available-options). | | | 5. [Deploy the configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). The host appears in the list of hosts, and on the **Resources Status** page. The command that is sent by the connector is displayed in the details panel of the host: it shows the values of the macros. @@ -348,15 +347,15 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi 3. Apply the **Net-Cisco-Meraki-Device-Restapi-custom** template to the host. A list of macros appears. Macros allow you to define how the connector will connect to the resource, and to customize the connector's behavior. 4. Fill in the macros you want. Some macros are mandatory. -| Macro | Description | Default value | Mandatory | -|:----------------------|:-----------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| MERAKIAPIHOSTNAME | Meraki API hostname | api.meraki.com | X | -| MERAKIAPITOKEN | Meraki API token | | X | -| MERAKIAPIPROTO | Define the protocol to use to reach the API | https | | -| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | -| MERAKIDEVICENAME | Filter devices by name (can be a regexp) | | | -| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | -| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). All options are listed [here](#available-options). | | | +| Macro | Description | Default value | Mandatory | +|:----------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|:---------:| +| MERAKIAPIHOSTNAME | Meraki API hostname The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details | api.meraki.com | X | +| MERAKIAPITOKEN | Meraki API token | | X | +| MERAKIAPIPROTO | Define the protocol to reach the API | https | | +| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | +| MERAKIDEVICENAME | Filter devices by name (can be a regexp) | | | +| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | +| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). All options are listed [here](#available-options). | | | 5. [Deploy the configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). The host appears in the list of hosts, and on the **Resources Status** page. The command that is sent by the connector is displayed in the details panel of the host: it shows the values of the macros. @@ -368,15 +367,15 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi 3. Apply the **Net-Cisco-Meraki-Network-Restapi-custom** template to the host. A list of macros appears. Macros allow you to define how the connector will connect to the resource, and to customize the connector's behavior. 4. Fill in the macros you want. Some macros are mandatory. -| Macro | Description | Default value | Mandatory | -|:----------------------|:-----------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| MERAKIAPIHOSTNAME | Meraki API hostname | api.meraki.com | X | -| MERAKIAPITOKEN | Meraki API token | | X | -| MERAKIAPIPROTO | Define the protocol to use to reach the API | https | | -| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | -| MERAKINETWORKNAME | Filter network name (can be a regexp) | | | -| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | -| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). All options are listed [here](#available-options). | | | +| Macro | Description | Default value | Mandatory | +|:----------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|:---------:| +| MERAKIAPIHOSTNAME | Meraki API hostname The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details | api.meraki.com | X | +| MERAKIAPITOKEN | Meraki API token | | X | +| MERAKIAPIPROTO | Define the protocol to reach the API | https | | +| MERAKIAPIPORT | Define the TCP port to use to reach the API | 443 | | +| MERAKINETWORKNAME | Filter network name (can be a regexp) | | | +| PROXYURL | Proxy URL. Example: http://my.proxy:3128 | | | +| MERAKIAPIEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). All options are listed [here](#available-options). | | | 5. [Deploy the configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). The host appears in the list of hosts, and on the **Resources Status** page. The command that is sent by the connector is displayed in the details panel of the host: it shows the values of the macros. @@ -391,189 +390,189 @@ yum install centreon-plugin-Network-Cisco-Meraki-Restapi -| Macro | Description | Default value | Mandatory | -|:-----------------------|:---------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| FILTERORGANIZATIONNAME | Filter organization name (can be a regexp) | | | -| WARNINGAPIREQUESTS200 | Thresholds | | | -| CRITICALAPIREQUESTS200 | Thresholds | | | -| WARNINGAPIREQUESTS404 | Thresholds | | | -| CRITICALAPIREQUESTS404 | Thresholds | | | -| WARNINGAPIREQUESTS429 | Thresholds | | | -| CRITICALAPIREQUESTS429 | Thresholds | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | --verbose | | +| Macro | Description | Default value | Mandatory | +|:-----------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:---------:| +| FILTERORGANIZATIONNAME | Filter organization name (can be a regexp) | | | +| WARNINGAPIREQUESTS200 | Threshold | | | +| CRITICALAPIREQUESTS200 | Threshold | | | +| WARNINGAPIREQUESTS404 | Threshold | | | +| CRITICALAPIREQUESTS404 | Threshold | | | +| WARNINGAPIREQUESTS429 | Threshold | | | +| CRITICALAPIREQUESTS429 | Threshold | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | --verbose | | -| Macro | Description | Default value | Mandatory | -|:-------------|:---------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | +| Macro | Description | Default value | Mandatory | +|:-------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:---------:| +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | -| Macro | Description | Default value | Mandatory | -|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| WARNINGCONNECTIONSASSOC | Thresholds | | | -| CRITICALCONNECTIONSASSOC | Thresholds | | | -| WARNINGCONNECTIONSAUTH | Thresholds | | | -| CRITICALCONNECTIONSAUTH | Thresholds | | | -| WARNINGCONNECTIONSDHCP | Thresholds | | | -| CRITICALCONNECTIONSDHCP | Thresholds | | | -| WARNINGCONNECTIONSDNS | Thresholds | | | -| CRITICALCONNECTIONSDNS | Thresholds | | | -| WARNINGCONNECTIONSSUCCESS | Thresholds | | | -| CRITICALCONNECTIONSSUCCESS | Thresholds | | | -| WARNINGLINKLATENCY | Thresholds | | | -| CRITICALLINKLATENCY | Thresholds | | | -| WARNINGLINKLOSS | Thresholds | | | -| CRITICALLINKLOSS | Thresholds | | | -| WARNINGLINKSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link_status\}, %\{display\} | | | -| CRITICALLINKSTATUS | Define the conditions to match for the status to be CRITICAL (default: '%\{link_status\} =~ /failed/i'). You can use the following variables: %\{link_status\}, %\{display\} | | | -| WARNINGLOAD | Thresholds | | | -| CRITICALLOAD | Thresholds | | | -| WARNINGPORTSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port_status\}, %\{port_enabled\}, %\{display\} | | | -| CRITICALPORTSTATUS | Define the conditions to match for the status to be CRITICAL (default: '%\{port_enabled\} == 1 and %\{port_status\} !~ /^connected/i'). You can use the following variables: %\{port_status\}, %\{port_enabled\}, %\{display\} | | | -| WARNINGPORTTRAFFICIN | Thresholds | | | -| CRITICALPORTTRAFFICIN | Thresholds | | | -| WARNINGPORTTRAFFICOUT | Thresholds | | | -| CRITICALPORTTRAFFICOUT | Thresholds | | | -| WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | | | -| CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} =~ /alerting/i'). You can use the following variables: %\{status\}, %\{display\} | | | -| WARNINGTOTALALERTING | Thresholds | | | -| CRITICALTOTALALERTING | Thresholds | | | -| WARNINGTOTALOFFLINE | Thresholds | | | -| CRITICALTOTALOFFLINE | Thresholds | | | -| WARNINGTOTALOFFLINEPRCT | Thresholds | | | -| CRITICALTOTALOFFLINEPRCT | Thresholds | | | -| WARNINGTOTALONLINE | Thresholds | | | -| CRITICALTOTALONLINE | Thresholds | | | -| WARNINGTOTALONLINEPRCT | Thresholds | | | -| CRITICALTOTALONLINEPRCT | Thresholds | | | -| WARNINGTRAFFICIN | Thresholds | | | -| CRITICALTRAFFICIN | Thresholds | | | -| WARNINGTRAFFICOUT | Thresholds | | | -| CRITICALTRAFFICOUT | Thresholds | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | +| Macro | Description | Default value | Mandatory | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:---------:| +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGLINKLATENCY | Threshold in milliseconds | | | +| CRITICALLINKLATENCY | Threshold in milliseconds | | | +| WARNINGLINKLOSS | Threshold in percentage | | | +| CRITICALLINKLOSS | Threshold in percentage | | | +| WARNINGLINKSTATUS | Threshold | | | +| CRITICALLINKSTATUS | Threshold | | | +| WARNINGLOAD | Threshold | | | +| CRITICALLOAD | Threshold | | | +| WARNINGPORTSTATUS | Threshold | | | +| CRITICALPORTSTATUS | Threshold | | | +| WARNINGPORTTRAFFICIN | Threshold in b/s | | | +| CRITICALPORTTRAFFICIN | Threshold in b/s | | | +| WARNINGPORTTRAFFICOUT | Threshold in b/s | | | +| CRITICALPORTTRAFFICOUT | Threshold in b/s | | | +| WARNINGSTATUS | Threshold | | | +| CRITICALSTATUS | Threshold | | | +| WARNINGTOTALALERTING | Threshold | | | +| CRITICALTOTALALERTING | Threshold | | | +| WARNINGTOTALOFFLINE | Threshold | | | +| CRITICALTOTALOFFLINE | Threshold | | | +| WARNINGTOTALOFFLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALOFFLINEPRCT | Threshold in percentage | | | +| WARNINGTOTALONLINE | Threshold | | | +| CRITICALTOTALONLINE | Threshold | | | +| WARNINGTOTALONLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALONLINEPRCT | Threshold in percentage | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | -| Macro | Description | Default value | Mandatory | -|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------|:-----------:| -| FILTERDEVICENAME | Filter devices by name (can be a regexp) | | | -| FILTERLINKNAME | Filter VPN links by name (can be a regexp) | | | -| FILTERNETWORKID | Filter devices by network ID (can be a regexp) | | | -| FILTERTAGS | Filter devices by tags (can be a regexp) | | | -| FILTERORGANIZATIONNAME | Filter devices by organization name (can be a regexp) | | | -| FILTERORGANIZATIONID | Filter devices by organization ID (can be a regexp) | | | -| WARNINGCONNECTIONSASSOC | Thresholds | | | -| CRITICALCONNECTIONSASSOC | Thresholds | | | -| WARNINGCONNECTIONSAUTH | Thresholds | | | -| CRITICALCONNECTIONSAUTH | Thresholds | | | -| WARNINGCONNECTIONSDHCP | Thresholds | | | -| CRITICALCONNECTIONSDHCP | Thresholds | | | -| WARNINGCONNECTIONSDNS | Thresholds | | | -| CRITICALCONNECTIONSDNS | Thresholds | | | -| WARNINGCONNECTIONSSUCCESS | Thresholds | | | -| CRITICALCONNECTIONSSUCCESS | Thresholds | | | -| WARNINGLINKLATENCY | Thresholds | | | -| CRITICALLINKLATENCY | Thresholds | | | -| WARNINGLINKLOSS | Thresholds | | | -| CRITICALLINKLOSS | Thresholds | | | -| WARNINGLINKSINEFFECTIVE | Thresholds | | | -| CRITICALLINKSINEFFECTIVE | Thresholds | | | -| CRITICALLINKSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{link_status\}, %\{display\} | %\{link_status\} =~ /failed/i | | -| WARNINGLINKSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link_status\}, %\{display\} | | | -| WARNINGLOAD | Thresholds | | | -| CRITICALLOAD | Thresholds | | | -| WARNINGPORTSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port_status\}, %\{port_enabled\}, %\{display\} | | | -| CRITICALPORTSTATUS | Define the conditions to match for the status to be CRITICAL (default: '%\{port_enabled\} == 1 and %\{port_status\} !~ /^connected/i'). You can use the following variables: %\{port_status\}, %\{port_enabled\}, %\{display\} | | | -| WARNINGPORTTRAFFICIN | Thresholds | | | -| CRITICALPORTTRAFFICIN | Thresholds | | | -| WARNINGPORTTRAFFICOUT | Thresholds | | | -| CRITICALPORTTRAFFICOUT | Thresholds | | | -| CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{status\}, %\{display\} | %\{status\} =~ /alerting/i | | -| WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | | | -| WARNINGTOTALALERTING | Thresholds | | | -| CRITICALTOTALALERTING | Thresholds | | | -| WARNINGTOTALOFFLINE | Thresholds | | | -| CRITICALTOTALOFFLINE | Thresholds | | | -| WARNINGTOTALOFFLINEPRCT | Thresholds | | | -| CRITICALTOTALOFFLINEPRCT | Thresholds | | | -| WARNINGTOTALONLINE | Thresholds | | | -| CRITICALTOTALONLINE | Thresholds | | | -| WARNINGTOTALONLINEPRCT | Thresholds | | | -| CRITICALTOTALONLINEPRCT | Thresholds | | | -| WARNINGTRAFFICIN | Thresholds | | | -| CRITICALTRAFFICIN | Thresholds | | | -| WARNINGTRAFFICOUT | Thresholds | | | -| CRITICALTRAFFICOUT | Thresholds | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | --verbose | | +| Macro | Description | Default value | Mandatory | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------|:---------:| +| FILTERDEVICENAME | Filter devices by name (can be a regexp) | | | +| FILTERLINKNAME | Filter VPN links by name (can be a regexp) | | | +| FILTERNETWORKID | Filter devices by network ID (can be a regexp) | | | +| FILTERTAGS | Filter devices by tags (can be a regexp) | | | +| FILTERORGANIZATIONNAME | Filter devices by organization name (can be a regexp) | | | +| FILTERORGANIZATIONID | Filter devices by organization ID (can be a regexp) | | | +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGLINKLATENCY | Threshold in milliseconds | | | +| CRITICALLINKLATENCY | Threshold in milliseconds | | | +| WARNINGLINKLOSS | Threshold in percentage | | | +| CRITICALLINKLOSS | Threshold in percentage | | | +| WARNINGLINKSINEFFECTIVE | Threshold | | | +| CRITICALLINKSINEFFECTIVE | Threshold | | | +| CRITICALLINKSTATUS | Threshold | %\{link\_status\} =~ /failed/i | | +| WARNINGLINKSTATUS | Threshold | | | +| WARNINGLOAD | Threshold | | | +| CRITICALLOAD | Threshold | | | +| WARNINGPORTSTATUS | Threshold | | | +| CRITICALPORTSTATUS | Threshold | | | +| WARNINGPORTTRAFFICIN | Threshold in b/s | | | +| CRITICALPORTTRAFFICIN | Threshold in b/s | | | +| WARNINGPORTTRAFFICOUT | Threshold in b/s | | | +| CRITICALPORTTRAFFICOUT | Threshold in b/s | | | +| CRITICALSTATUS | Threshold | %\{status\} =~ /alerting/i | | +| WARNINGSTATUS | Threshold | | | +| WARNINGTOTALALERTING | Threshold | | | +| CRITICALTOTALALERTING | Threshold | | | +| WARNINGTOTALOFFLINE | Threshold | | | +| CRITICALTOTALOFFLINE | Threshold | | | +| WARNINGTOTALOFFLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALOFFLINEPRCT | Threshold in percentage | | | +| WARNINGTOTALONLINE | Threshold | | | +| CRITICALTOTALONLINE | Threshold | | | +| WARNINGTOTALONLINEPRCT | Threshold in percentage | | | +| CRITICALTOTALONLINEPRCT | Threshold in percentage | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | --verbose | | -| Macro | Description | Default value | Mandatory | -|:---------------------------|:---------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| WARNINGCONNECTIONSASSOC | Thresholds | | | -| CRITICALCONNECTIONSASSOC | Thresholds | | | -| WARNINGCONNECTIONSAUTH | Thresholds | | | -| CRITICALCONNECTIONSAUTH | Thresholds | | | -| WARNINGCONNECTIONSDHCP | Thresholds | | | -| CRITICALCONNECTIONSDHCP | Thresholds | | | -| WARNINGCONNECTIONSDNS | Thresholds | | | -| CRITICALCONNECTIONSDNS | Thresholds | | | -| WARNINGCONNECTIONSSUCCESS | Thresholds | | | -| CRITICALCONNECTIONSSUCCESS | Thresholds | | | -| WARNINGTRAFFICIN | Thresholds | | | -| CRITICALTRAFFICIN | Thresholds | | | -| WARNINGTRAFFICOUT | Thresholds | | | -| CRITICALTRAFFICOUT | Thresholds | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | +| Macro | Description | Default value | Mandatory | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:---------:| +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | -| Macro | Description | Default value | Mandatory | -|:---------------------------|:---------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:| -| FILTERNETWORKNAME | Filter network name (can be a regexp) | | | -| FILTERORGANIZATIONNAME | Filter networks by organization name (can be a regexp) | | | -| FILTERORGANIZATIONID | Filter networks by organization ID (can be a regexp) | | | -| WARNINGCONNECTIONSASSOC | Thresholds | | | -| CRITICALCONNECTIONSASSOC | Thresholds | | | -| WARNINGCONNECTIONSAUTH | Thresholds | | | -| CRITICALCONNECTIONSAUTH | Thresholds | | | -| WARNINGCONNECTIONSDHCP | Thresholds | | | -| CRITICALCONNECTIONSDHCP | Thresholds | | | -| WARNINGCONNECTIONSDNS | Thresholds | | | -| CRITICALCONNECTIONSDNS | Thresholds | | | -| WARNINGCONNECTIONSSUCCESS | Thresholds | | | -| CRITICALCONNECTIONSSUCCESS | Thresholds | | | -| WARNINGTRAFFICIN | Thresholds | | | -| CRITICALTRAFFICIN | Thresholds | | | -| WARNINGTRAFFICOUT | Thresholds | | | -| CRITICALTRAFFICOUT | Thresholds | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | --verbose | | +| Macro | Description | Default value | Mandatory | +|:---------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:---------:| +| FILTERNETWORKNAME | Filter network name (can be a regexp) | | | +| FILTERORGANIZATIONNAME | Filter networks by organization name (can be a regexp) | | | +| FILTERORGANIZATIONID | Filter networks by organization ID (can be a regexp) | | | +| WARNINGCONNECTIONSASSOC | Threshold | | | +| CRITICALCONNECTIONSASSOC | Threshold | | | +| WARNINGCONNECTIONSAUTH | Threshold | | | +| CRITICALCONNECTIONSAUTH | Threshold | | | +| WARNINGCONNECTIONSDHCP | Threshold | | | +| CRITICALCONNECTIONSDHCP | Threshold | | | +| WARNINGCONNECTIONSDNS | Threshold | | | +| CRITICALCONNECTIONSDNS | Threshold | | | +| WARNINGCONNECTIONSSUCCESS | Threshold | | | +| CRITICALCONNECTIONSSUCCESS | Threshold | | | +| WARNINGTRAFFICIN | Threshold in b/s | | | +| CRITICALTRAFFICIN | Threshold in b/s | | | +| WARNINGTRAFFICOUT | Threshold in b/s | | | +| CRITICALTRAFFICOUT | Threshold in b/s | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | --verbose | | -| Macro | Description | Default value | Mandatory | -|:-----------------------|:----------------------------------------------------------------------------------------------------------------------------------------|:------------------------|:-----------:| -| FILTERNETWORKNAME | Filter VPN tunnels by network name (can be a regexp) | | | -| FILTERORGANIZATIONID | Filter VPN tunnels by organization ID (can be a regexp) | | | -| FILTERORGANIZATIONNAME | Filter VPN tunnels by organization name (can be a regexp) | | | -| FILTERDEVICESERIAL | Filter VPN tunnels by device serial (can be a regexp) | | | -| CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{status\}, %\{deviceSerial\}, %\{mode\} | %\{status\} =~ /offline/i | | -| WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{deviceSerial\}, %\{mode\} | | | -| WARNINGTOTALDORMANT | Thresholds | | | -| CRITICALTOTALDORMANT | Thresholds | | | -| WARNINGTOTALOFFLINE | Thresholds | | | -| CRITICALTOTALOFFLINE | Thresholds | | | -| CRITICALTOTALONLINE | Thresholds | 1: | | -| WARNINGTOTALONLINE | Thresholds | | | -| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | +| Macro | Description | Default value | Mandatory | +|:-------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:---------:| +| FILTERNETWORKNAME | Filter VPN tunnels by network name (can be a regexp) | | | +| FILTERORGANIZATIONID | Filter VPN tunnels by organization ID (can be a regexp) | | | +| FILTERORGANIZATIONNAME | Filter VPN tunnels by organization name (can be a regexp) | | | +| FILTERDEVICESERIAL | Filter VPN tunnels by device serial (can be a regexp) | | | +| FILTERVPNNAME | Filter VPN tunnels by VPN name (can be a regexp) | | | +| FILTERVPNTYPE | Filter VPN tunnels by VPN type (can be a regexp) | | | +| WARNINGDEVICESTATUS | Threshold | | | +| CRITICALDEVICESTATUS | Threshold | | | +| WARNINGTOTALUNREACHABLE | Threshold | | | +| CRITICALTOTALUNREACHABLE | Threshold | | | +| WARNINGVPNSTATUS | Threshold | | | +| CRITICALVPNSTATUS | Threshold | | | +| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | | | @@ -668,6 +667,7 @@ All generic options are listed here: | --pass-manager | Define the password manager you want to use. Supported managers are: environment, file, keepass, hashicorpvault and teampass. | | --verbose | Display extended status information (long output). | | --debug | Display debug messages. | +| --show-password | By default, sensitive information in command lines is hidden in debug output and replaced with `***` (however, debug logs may still display sensitive information). Using the C option will display the passwords in plain text. | | --filter-perfdata | Filter perfdata that match the regexp. Example: adding --filter-perfdata='avg' will remove all metrics that do not contain 'avg' from performance data. | | --filter-perfdata-adv | Filter perfdata based on a "if" condition using the following variables: label, value, unit, warning, critical, min, max. Variables must be written either %\{variable\} or %(variable). Example: adding --filter-perfdata-adv='not (%(value) == 0 and %(max) eq "")' will remove all metrics whose value equals 0 and that don't have a maximum value. | | --explode-perfdata-max | Create a new metric for each metric that comes with a maximum limit. The new metric will be named identically with a '\_max' suffix. Example: it will split 'used\_prct'=26.93%;0:80;0:90;0;100 into 'used\_prct'=26.93%;0:80;0:90;0;100 'used\_prct\_max'=100%;;;; | @@ -675,9 +675,9 @@ All generic options are listed here: | --change-perfdata | Change or extend perfdata. Syntax: --extend-perfdata=searchlabel,newlabel,target\[,\[\\],\[min\],\[max\]\] Common examples: onvert storage free perfdata into used: --change-perfdata='free,used,invert()' Convert storage free perfdata into used: --change-perfdata='used,free,invert()' Scale traffic values automatically: --change-perfdata='traffic,,scale(auto)' Scale traffic values in Mbps: --change-perfdata='traffic\_in,,scale(Mbps),mbps' Change traffic values in percent: --change-perfdata='traffic\_in,,percent()' =back | | --extend-perfdata | Change or extend perfdata. Syntax: --extend-perfdata=searchlabel,newlabel,target\[,\[\\],\[min\],\[max\]\] Common examples: onvert storage free perfdata into used: --change-perfdata='free,used,invert()' Convert storage free perfdata into used: --change-perfdata='used,free,invert()' Scale traffic values automatically: --change-perfdata='traffic,,scale(auto)' Scale traffic values in Mbps: --change-perfdata='traffic\_in,,scale(Mbps),mbps' Change traffic values in percent: --change-perfdata='traffic\_in,,percent()' =back | | --extend-perfdata-group | Add new aggregated metrics (min, max, average or sum) for groups of metrics defined by a regex match on the metrics' names. Syntax: --extend-perfdata-group=regex,\,calculation\[,\[\\],\[min\],\[max\]\] regex: regular expression \: how the new metrics' names are composed (can use $1, $2... for groups defined by () in regex). calculation: how the values of the new metrics should be calculated \ (optional): unit of measure for the new metrics min (optional): lowest value the metrics can reach max (optional): highest value the metrics can reach Common examples: um wrong packets from all interfaces (with interface need --units-errors=absolute): --extend-perfdata-group=',packets\_wrong,sum(packets\_(discard\|error)\_(in\|out))' Sum traffic by interface: --extend-perfdata-group='traffic\_in\_(.*),traffic\_$1,sum(traffic\_(in\|out)\_$1)' =back | -| --change-short-output --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK\~Up\~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | -| --change-short-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK\~Up\~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | -| --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK\~Up\~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | +| --change-short-output --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK~Up~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | +| --change-short-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK~Up~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | +| --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Example: adding --change-short-output='OK~Up~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' | | --change-exit | Replace an exit code with one of your choice. Example: adding --change-exit=unknown=critical will result in a CRITICAL state instead of an UNKNOWN state. | | --change-output-adv | Replace short output and exit code based on a "if" condition using the following variables: short\_output, exit\_code. Variables must be written either %\{variable\} or %(variable). Example: adding --change-output-adv='%(short\_ouput) =~ /UNKNOWN: No daemon/,OK: No daemon,OK' will change the following specific UNKNOWN result to an OK result. | | --range-perfdata | Rewrite the ranges displayed in the perfdata. Accepted values: 0: nothing is changed. 1: if the lower value of the range is equal to 0, it is removed. 2: remove the thresholds from the perfdata. | @@ -693,10 +693,9 @@ All generic options are listed here: | --disco-show | Applies only to modes beginning with 'list-'. Returns the list of discovered objects (formatted in XML) for service discovery. | | --float-precision | Define the float precision for thresholds (default: 8). | | --source-encoding | Define the character encoding of the response sent by the monitored resource Default: 'UTF-8'. \. | -| --filter-counters | Only display some counters (regexp can be used). Example to check SSL connections only : --filter-counters='^xxxx\|yyyy$' | | --http-peer-addr | Set the address you want to connect to. Useful if hostname is only a vhost, to avoid IP resolution. | | --proxyurl | Proxy URL. Example: http://my.proxy:3128 | -| --proxypac | Proxy pac file (can be a URL or a local file). | +| --proxypac | Proxy PAC file (can be a URL or a local file). | | --insecure | Accept insecure SSL connections. | | --http-backend | Perl library to use for HTTP transactions. Possible values are: lwp (default) and curl. | | --memcached | Memcached server to use (only one server). | @@ -711,10 +710,11 @@ All generic options are listed here: | --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). | | --statefile-key | Define the key to encrypt/decrypt the cache. | | --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). | -| --hostname | Meraki API hostname (default: 'api.meraki.com') | +| --hostname | Meraki API hostname (default: 'api.meraki.com') The default value 'api.meraki.com' will work for most of the world. However, for organizations hosted in the following country dashboards, you need to override this value and specify the respective base URI instead: Canada: https://api.meraki.ca/api/v1 China: https://api.meraki.cn/api/v1 India: https://api.meraki.in/api/v1 United States FedRAMP: https://api.gov-meraki.com/api/v1 Please refer to Meraki API documentation https://developer.cisco.com/meraki/api-v1/getting-started/#base-uri for more details. | | --port | Define the TCP port to use to reach the API (default: 443). | | --proto | Define the protocol to reach the API (default: 'https'). | | --api-token | Meraki API token. | +| --timespan | Define the duration, in seconds, of the historical data to fetch. Can be 300, 600, 1200, 3600, 14400, 86400 (default: 300). | | --timeout | Define the timeout for HTTP requests. | | --ignore-permission-errors | Ignore permission errors (403 status code). | | --ignore-orgs-api-disabled | Ignore organizations where the API is disabled. | @@ -728,111 +728,207 @@ All available options for each service template are listed below: -| Option | Description | -|:---------------------------|:--------------------------------------------------------------------------------| -| --filter-organization-name | Filter organization name (can be a regexp). | -| --warning-* --critical-* | Thresholds. Can be: 'api-requests-200', 'api-requests-404', 'api-requests-429'. | - - - - -| Option | Description | -|:-------|:------------| +| Option | Description | +|:----------------------------|:--------------------------------------------| +| --filter-organization-name | Filter organization name (can be a regexp). | +| --warning-api-requests-200 | Threshold. | +| --critical-api-requests-200 | Threshold. | +| --warning-api-requests-404 | Threshold. | +| --critical-api-requests-404 | Threshold. | +| --warning-api-requests-429 | Threshold. | +| --critical-api-requests-429 | Threshold. | -| Option | Description | -|:-------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-device-name | Filter devices by name (can be a regexp). | -| --filter-link-name | Filter VPN links by name (can be a regexp). | -| --filter-network-id | Filter devices by network ID (can be a regexp). | -| --filter-organization-id | Filter devices by organization ID (can be a regexp). | -| --filter-organization-name | Filter devices by organization name (can be a regexp). | -| --filter-tags | Filter devices by tags (can be a regexp). | -| --add-switch-ports | Add switch port statuses and traffic. | -| --filter-switch-port | Filter switch port (can be a regexp). | -| --skip-clients | Don't monitor clients traffic on device. | -| --skip-performance | Don't monitor appliance performance score. | -| --skip-connections | Don't monitor connection stats. | -| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | -| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | -| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | -| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} =~ /alerting/i'). You can use the following variables: %\{status\}, %\{display\} | -| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | -| --warning-link-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link\_status\}, %\{display\} | -| --critical-link-status | Define the conditions to match for the status to be CRITICAL (default: '%\{link\_status\} =~ /failed/i'). You can use the following variables: %\{link\_status\}, %\{display\} | -| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-port-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --critical-port-status | Define the conditions to match for the status to be CRITICAL (default: '%\{port\_enabled\} == 1 and %\{port\_status\} !~ /^connected/i'). You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-* --critical-* | Thresholds. Can be: 'total-online', 'total-online-prct', 'total-offline', 'total-offline-prct', 'total-alerting', 'traffic-in', 'traffic-out', 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'load', 'links-ineffective', 'link-latency' (ms), ''link-loss' (%), 'port-traffic-in', 'port-traffic-out'. | +| Option | Description | +|:-------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------| +| --filter-device-name | Filter devices by name (can be a regexp). | +| --filter-link-name | Filter VPN links by name (can be a regexp). | +| --filter-network-id | Filter devices by network ID (can be a regexp). | +| --filter-organization-id | Filter devices by organization ID (can be a regexp). | +| --filter-organization-name | Filter devices by organization name (can be a regexp). | +| --filter-tags | Filter devices by tags (can be a regexp). | +| --add-switch-ports | Add switch port statuses and traffic. | +| --filter-switch-port | Filter switch port (can be a regexp). | +| --skip-clients | Don't monitor clients traffic on device. | +| --skip-performance | Don't monitor appliance performance score. | +| --skip-connections | Don't monitor connection stats. | +| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | +| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | +| --warning-status | Threshold. | +| --critical-status | Threshold. | +| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | +| --warning-link-status | Threshold. | +| --critical-link-status | Threshold. | +| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | +| --warning-port-status | Threshold. | +| --critical-port-status | Threshold. | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-link-latency | Threshold in milliseconds. | +| --critical-link-latency | Threshold in milliseconds. | +| --warning-link-loss | Threshold in percentage. | +| --critical-link-loss | Threshold in percentage. | +| --warning-links-ineffective | Threshold. | +| --critical-links-ineffective | Threshold. | +| --warning-load | Threshold. | +| --critical-load | Threshold. | +| --warning-port-traffic-in | Threshold in b/s. | +| --critical-port-traffic-in | Threshold in b/s. | +| --warning-port-traffic-out | Threshold in b/s. | +| --critical-port-traffic-out | Threshold in b/s. | +| --warning-total-alerting | Threshold. | +| --critical-total-alerting | Threshold. | +| --warning-total-offline | Threshold. | +| --critical-total-offline | Threshold. | +| --warning-total-offline-prct | Threshold in percentage. | +| --critical-total-offline-prct | Threshold in percentage. | +| --warning-total-online | Threshold. | +| --critical-total-online | Threshold. | +| --warning-total-online-prct | Threshold in percentage. | +| --critical-total-online-prct | Threshold in percentage. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:-------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-device-name | Filter devices by name (can be a regexp). | -| --filter-link-name | Filter VPN links by name (can be a regexp). | -| --filter-network-id | Filter devices by network ID (can be a regexp). | -| --filter-organization-id | Filter devices by organization ID (can be a regexp). | -| --filter-organization-name | Filter devices by organization name (can be a regexp). | -| --filter-tags | Filter devices by tags (can be a regexp). | -| --add-switch-ports | Add switch port statuses and traffic. | -| --filter-switch-port | Filter switch port (can be a regexp). | -| --skip-clients | Don't monitor clients traffic on device. | -| --skip-performance | Don't monitor appliance performance score. | -| --skip-connections | Don't monitor connection stats. | -| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | -| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | -| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} | -| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} =~ /alerting/i'). You can use the following variables: %\{status\}, %\{display\} | -| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | -| --warning-link-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{link\_status\}, %\{display\} | -| --critical-link-status | Define the conditions to match for the status to be CRITICAL (default: '%\{link\_status\} =~ /failed/i'). You can use the following variables: %\{link\_status\}, %\{display\} | -| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-port-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --critical-port-status | Define the conditions to match for the status to be CRITICAL (default: '%\{port\_enabled\} == 1 and %\{port\_status\} !~ /^connected/i'). You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | -| --warning-* --critical-* | Thresholds. Can be: 'total-online', 'total-online-prct', 'total-offline', 'total-offline-prct', 'total-alerting', 'traffic-in', 'traffic-out', 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'load', 'links-ineffective', 'link-latency' (ms), ''link-loss' (%), 'port-traffic-in', 'port-traffic-out'. | +| Option | Description | +|:-------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------| +| --filter-device-name | Filter devices by name (can be a regexp). | +| --filter-link-name | Filter VPN links by name (can be a regexp). | +| --filter-network-id | Filter devices by network ID (can be a regexp). | +| --filter-organization-id | Filter devices by organization ID (can be a regexp). | +| --filter-organization-name | Filter devices by organization name (can be a regexp). | +| --filter-tags | Filter devices by tags (can be a regexp). | +| --add-switch-ports | Add switch port statuses and traffic. | +| --filter-switch-port | Filter switch port (can be a regexp). | +| --skip-clients | Don't monitor clients traffic on device. | +| --skip-performance | Don't monitor appliance performance score. | +| --skip-connections | Don't monitor connection stats. | +| --skip-traffic-disconnect-port | Skip port traffic counters if port status is disconnected. | +| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} | +| --warning-status | Threshold. | +| --critical-status | Threshold. | +| --unknown-link-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{link\_status\}, %\{display\} | +| --warning-link-status | Threshold. | +| --critical-link-status | Threshold. | +| --unknown-port-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{port\_status\}, %\{port\_enabled\}, %\{display\} | +| --warning-port-status | Threshold. | +| --critical-port-status | Threshold. | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-link-latency | Threshold in milliseconds. | +| --critical-link-latency | Threshold in milliseconds. | +| --warning-link-loss | Threshold in percentage. | +| --critical-link-loss | Threshold in percentage. | +| --warning-links-ineffective | Threshold. | +| --critical-links-ineffective | Threshold. | +| --warning-load | Threshold. | +| --critical-load | Threshold. | +| --warning-port-traffic-in | Threshold in b/s. | +| --critical-port-traffic-in | Threshold in b/s. | +| --warning-port-traffic-out | Threshold in b/s. | +| --critical-port-traffic-out | Threshold in b/s. | +| --warning-total-alerting | Threshold. | +| --critical-total-alerting | Threshold. | +| --warning-total-offline | Threshold. | +| --critical-total-offline | Threshold. | +| --warning-total-offline-prct | Threshold in percentage. | +| --critical-total-offline-prct | Threshold in percentage. | +| --warning-total-online | Threshold. | +| --critical-total-online | Threshold. | +| --warning-total-online-prct | Threshold in percentage. | +| --critical-total-online-prct | Threshold in percentage. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:---------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-network-name | Filter network name (can be a regexp). | -| --filter-organization-id | Filter networks by organization ID (can be a regexp). | -| --filter-organization-name | Filter networks by organization name (can be a regexp). | -| --warning-* --critical-* | Thresholds. Can be: 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'traffic-in', 'traffic-out'. | +| Option | Description | +|:-------------------------------|:--------------------------------------------------------| +| --filter-network-name | Filter network name (can be a regexp). | +| --filter-organization-id | Filter networks by organization ID (can be a regexp). | +| --filter-organization-name | Filter networks by organization name (can be a regexp). | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:---------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-network-name | Filter network name (can be a regexp). | -| --filter-organization-id | Filter networks by organization ID (can be a regexp). | -| --filter-organization-name | Filter networks by organization name (can be a regexp). | -| --warning-* --critical-* | Thresholds. Can be: 'connections-success', 'connections-auth', 'connections-assoc', 'connections-dhcp', 'connections-dns', 'traffic-in', 'traffic-out'. | +| Option | Description | +|:-------------------------------|:--------------------------------------------------------| +| --filter-network-name | Filter network name (can be a regexp). | +| --filter-organization-id | Filter networks by organization ID (can be a regexp). | +| --filter-organization-name | Filter networks by organization name (can be a regexp). | +| --warning-connections-assoc | Threshold. | +| --critical-connections-assoc | Threshold. | +| --warning-connections-auth | Threshold. | +| --critical-connections-auth | Threshold. | +| --warning-connections-dhcp | Threshold. | +| --critical-connections-dhcp | Threshold. | +| --warning-connections-dns | Threshold. | +| --critical-connections-dns | Threshold. | +| --warning-connections-success | Threshold. | +| --critical-connections-success | Threshold. | +| --warning-traffic-in | Threshold in b/s. | +| --critical-traffic-in | Threshold in b/s. | +| --warning-traffic-out | Threshold in b/s. | +| --critical-traffic-out | Threshold in b/s. | -| Option | Description | -|:---------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| --filter-network-name | Filter VPN tunnels by network name (can be a regexp). | -| --filter-organization-id | Filter VPN tunnels by organization ID (can be a regexp). | -| --filter-organization-name | Filter VPN tunnels by organization name (can be a regexp). | -| --filter-device-serial | Filter VPN tunnels by device serial (can be a regexp). | -| --filter-vpn-type | Filter VPN tunnels by VPN type (can be a regexp). | -| --filter-vpn-name | Filter VPN tunnels by VPN name (can be a regexp). | -| --unknown-device-status | Define the conditions to match for the status to be UNKNOWN (default: '%\{deviceStatus\} =~ /offline/i'). You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\}, %\{deviceMode\} | -| --warning-device-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\}, %\{deviceMode\} | -| --critical-device-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\} | -| --unknown-vpn-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | -| --warning-vpn-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | -| --critical-vpn-status | Define the conditions to match for the status to be CRITICAL (default: '%\{deviceStatus\} =~ /online/i and %\{vpnStatus\} =~ /unreachable/i'). You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | -| --warning-* --critical-* | Thresholds. Can be: 'total-unreachable'. | +| Option | Description | +|:-----------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| --filter-network-name | Filter VPN tunnels by network name (can be a regexp). | +| --filter-organization-id | Filter VPN tunnels by organization ID (can be a regexp). | +| --filter-organization-name | Filter VPN tunnels by organization name (can be a regexp). | +| --filter-device-serial | Filter VPN tunnels by device serial (can be a regexp). | +| --filter-vpn-type | Filter VPN tunnels by VPN type (can be a regexp). | +| --filter-vpn-name | Filter VPN tunnels by VPN name (can be a regexp). | +| --unknown-device-status | Define the conditions to match for the status to be UNKNOWN (default: '%\{deviceStatus\} =~ /offline/i'). You can use the following variables: %\{deviceStatus\}, %\{deviceSerial\}, %\{deviceMode\} | +| --warning-device-status | Threshold. | +| --critical-device-status | Threshold. | +| --unknown-vpn-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{vpnStatus\}, %\{vpnName\}, %\{vpnType\}, %\{deviceStatus\}, %\{deviceSerial\} | +| --warning-vpn-status | Threshold. | +| --critical-vpn-status | Threshold. | +| --warning-total-unreachable | Threshold. | +| --critical-total-unreachable | Threshold. | @@ -843,6 +939,6 @@ All available options for a given mode can be displayed by adding the ```bash /usr/lib/centreon/plugins/centreon_cisco_meraki_restapi.pl \ --plugin=network::cisco::meraki::cloudcontroller::restapi::plugin \ - --mode=devices \ + --mode=networks \ --help ```