https://docs.netdata.cloud/collectors/python.d.plugin/mysql/#configuration
MySQL monitoring with Netdata
Learn about Netdata's real-time health monitoring and performance troubleshooting for all your systems and applications.
docs.netdata.cloud
위 가이드를 따라 했지만, 뭔가 없다는 에러가 튀어나옴
아래는, /var/log/netdata/error.log 에서 발췌
2020-03-11 10:42:14: python.d ERROR: mysql[mycnf1] : MySQLdb or PyMySQL module is needed to use mysql.chart.py plugin
구글링해보니, python 패키지인 PyMySQL이 필요하다는 것을 확인하여,
다음의 명령으로 해결 (CentOS 7 기준)
yum install gcc mysql-devel python-devel
ln -sf /usr/bin/python3.6 /usr/bin/python
pip3 install PyMySQL
'DevLogs > Etc' 카테고리의 다른 글
한장의 메모 - nginx/stub_status 활성화 하기 (0) | 2020.03.17 |
---|---|
docker-compose로 띄운 redis 모니터링 실행하기 (0) | 2020.03.15 |
php v5.3에 xdebug v2.2.7 설치하기 (0) | 2020.02.28 |
docker로 Webgrind 서버 띄우기 (0) | 2020.02.28 |
docker로 php 개발서버 띄우기 (php 7.4.3) (0) | 2020.02.28 |