-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Не подключается Zabbix API datasource #50
Comments
Девелопер тулс откройте ф12 и скрин запросов и лог консоли покажите |
@nucleusv похоже, дурацкий вопрос у меня, в отсутствии заголовков CORS проблема, хотя Zabbix свежайший: Пошел httpd подкручу, хотя на Nginx переведем скоро |
у вас странное имя страницы АПИ - jsrpc.php |
Zabbix API (api_jsonrpc.php) before zabbix 2.4 don't allow cross-domain requests (CORS). And you can get HTTP error 412 (Precondition Failed). To fix it add this code to api_jsonrpc.php immediately after the copyright |
спасибо, закрываю тикет |
@mikhailov Проблема была в CORS? |
@alexanderzobnin нет, в самоподписанном сертификате и в том, что Grafana не умела это сразу показать |
Александр, отличный плагин написал, собирался попробовать и наткнулся на неприятность, Grafana ругается примерно так:
Исходные данные: свежая Grafana, последний стабильный Zabbix, юзер для доступа настроен и прописан с настройках, логи httpd на Zabbix пустые, так как Grafana даже не может достучаться, спотыкается на JS error, Рекомендации?
The text was updated successfully, but these errors were encountered: