- Go to Grafana > Alerting > Notification channels > New channel.
- Type: Telegram. It will ask you for a Bot API Token and a Chat ID.
- Open a chat with BotFather on Telegram.
- Type /newbot
- Type your bots name. F.e: Grafana Bot
- Type your bots username. F.e: a_new_grafana_bot
- You have your Bot API Token. Paste it on Grafana.
- Open this URL address, substituing YOUR_API_TOKEN_KEY with yours: https://api.telegram.org/botYOUR_API_TOKEN_KEY/getUpdates
- The response may look like this: {"ok":true,"result":[{"update_id":BLA_BLA_BLA", chat":{"id":[CHAT_ID],"title". Copy that CHAT_ID, even with the minus sign.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$errors = [ | |
'SIS0007' => 'Error al desmontar el XML de entrada o error producido al acceder mediante un sistema de firma antiguo teniendo configurado el tipo de clave HMAC SHA256', | |
'SIS0008' => 'Error falta Ds_Merchant_MerchantCode ', | |
'SIS0009' => 'Error de formato en Ds_Merchant_MerchantCode ', | |
'SIS0010' => 'Error falta Ds_Merchant_Terminal ', | |
'SIS0011' => 'Error de formato en Ds_Merchant_Terminal ', | |
'SIS0014' => 'Error de formato en Ds_Merchant_Order', | |
'SIS0015' => 'Error falta Ds_Merchant_Currency', |