I configuration replace 'grafana_url = http://grafana.mydomain.com:3000' to
'grafana_url = http://grafana.mydomain.com:3000/API/annotations' and not
report error '[ERROR]: Could not send message to Grafana: HTTP Error 404:
not found'.

But, not send data to grafana.

Em qua, 30 de jan de 2019 23:36, Rafael Tomelin <[email protected]>
escreveu:

> Hello guys,
>
> I'm trying to set up callback not available from the '
> https://blog.octo.com/en/walkthrough-watch-your-ansible-deployments-in-grafana/'
> link, but it is not working and displays the following message:
>
> [DEPRECATION WARNING]: callback grafana_annotations, does not support
> configuration of 'options', will work for now, but this will be necessary
> in the future and should be updated,
> see the 2.4 portability guide for details. This feature will be removed in
> version 2.9. Discontinuance warnings can be disabled by setting
> deprecation_warnings = False in ansible.cfg.
> [ERROR]: Could not send message to Grafana: HTTP Error 404: not found
>
> My configuration is as follows /etc/ansible/ansible.cfg:
> [standards]
> roles_path = / etc / ansible / roles
> host_key_checking = False
> stdout_callback = yaml
> callback_whitelist = grafana_annotations
> log_path = /var/log/ansible.log
> [callback_grafana_annotations]
> grafana_url = http://grafana.mydomain.com:3000
> grafana_api_key = my_token
> validate_grafana_certs = False
> grafana_panel_id = 10
> callback_plugins = / etc / ansible / callback_plugins /
> bin_ansible_callbacks = True
>
> In the / etc / ansible / callback_plugins / directory, it has the
> following file:
> /etc/ansible/callback_plugins/grafana_annotations.py
>
>
> What may be the problem?
>
> --
>
> Atenciosamente,
>
> Rafael Tomelin
>
> skype: rafael.tomelin
>
> E-mail: [email protected]
>
> RHCE      - Red Hat Certified Engineer
> PPT-205 - Puppet Certified Professional 2017
> Zabbix    - ZABBIX Certified Specialist
> LPI3
> ITIL v3
>
-- 

Atenciosamente,

Rafael Tomelin

skype: rafael.tomelin

E-mail: [email protected]

RHCE      - Red Hat Certified Engineer
PPT-205 - Puppet Certified Professional 2017
Zabbix    - ZABBIX Certified Specialist
LPI3
ITIL v3

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGEUqbBpeFBK_9YO2YDxkrpH6ipxXEZtA43RKfEXx%3DDeOoj0Hw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to