Pandora FMS Community

charts in alerts

teurick · 10 jun 2016, 17:55 · 4 mensajes · 61 visitas

  1. Inicio del debate

    I have been trying to get charts for modules to show in email alerts. I set an API pwd in console and put the same pwd in the sever conf file. But all I get in emails is the usual red x icon for the imbedded image my alert template has this CRITICAL condition:

    Agent : _agent_
    Module: _module_
    Module description: _moduledescription_
    Timestamp _timestamp_
    Current value: _data_

    _modulegraph_24h_

  2. Hi teurick There was an issue with this macro but it was solved. What version of Pandora are you using? Make sure you have a correct configuration in your API access too. Kind regards, Enrique.

  3. Sorry for the delay in replying. I am on the latest version of Enterprise. It still doesn't. Could you provide more guidance on the API permissions config, I have tried that but apparently have something not quite right.

  4. Hi teurick. From the console, go to "Setup" > "Setup" > "General setup" and fill the fields "IP list with API access" and "API password" as you want (Pandora server IP must be in the list of IP with API access, the API password is optional). In your "pandora_server.conf" file set your API configuration on these tokens (i give you an example): console_api_url http://localhost/pandora\_console/include/api.php console_api_pass 1234 console_user admin console_pass pandora I let you here the section of the wiki for the tokens. Kind regards, Enrique.

Entra en tu cuenta para publicar.