samuelmf

Untitled

Sep 17th, 2020
29
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@sam [/etc/netdata]# /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1 debug mysql
  2. 2020-09-17 01:09:39: python.d INFO: plugin[main] : using python v2
  3. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : looking for 'python.d.conf' in ['/etc/netdata', '/usr/lib/netdata/conf.d']
  4. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : loading '/usr/lib/netdata/conf.d/python.d.conf'
  5. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : '/usr/lib/netdata/conf.d/python.d.conf' is loaded
  6. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : looking for 'pythond-jobs-statuses.json' in /var/lib/netdata
  7. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : loading '/var/lib/netdata/pythond-jobs-statuses.json'
  8. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : '/var/lib/netdata/pythond-jobs-statuses.json' is loaded
  9. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : [mysql] looking for 'mysql.conf' in ['/etc/netdata/python.d', '/usr/lib/netdata/conf.d/python.d']
  10. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : [mysql] loading '/etc/netdata/python.d/mysql.conf'
  11. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : [mysql] '/etc/netdata/python.d/mysql.conf' is loaded
  12. 2020-09-17 01:09:39: python.d INFO: plugin[main] : [mysql] built 28 job(s) configs
  13. 2020-09-17 01:09:39: python.d DEBUG: plugin[main] : mysql[mycnf1_netdata] was previously active, applying recovering settings
  14. 2020-09-17 01:09:39: python.d ERROR: mysql[mycnf1] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  15. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[mycnf1] : check failed
  16. 2020-09-17 01:09:39: python.d ERROR: mysql[mycnf2] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  17. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[mycnf2] : check failed
  18. 2020-09-17 01:09:39: python.d ERROR: mysql[debiancnf] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  19. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[debiancnf] : check failed
  20. 2020-09-17 01:09:39: python.d ERROR: mysql[socket1] : Can't establish connection to MySQL: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
  21. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket1] : check failed
  22. 2020-09-17 01:09:39: python.d ERROR: mysql[socket2] : Can't establish connection to MySQL: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)")
  23. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket2] : check failed
  24. 2020-09-17 01:09:39: python.d ERROR: mysql[socket3] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  25. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket3] : check failed
  26. 2020-09-17 01:09:39: python.d ERROR: mysql[socket4] : Can't establish connection to MySQL: (2002, "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)")
  27. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket4] : check failed
  28. 2020-09-17 01:09:39: python.d ERROR: mysql[tcp] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  29. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[tcp] : check failed
  30. 2020-09-17 01:09:39: python.d ERROR: mysql[tcpipv4] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  31. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[tcpipv4] : check failed
  32. 2020-09-17 01:09:39: python.d ERROR: mysql[tcpipv6] : Can't establish connection to MySQL: (2005, "Unknown MySQL server host '::1' (1)")
  33. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[tcpipv6] : check failed
  34. 2020-09-17 01:09:39: python.d ERROR: mysql[mycnf1_root] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  35. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[mycnf1_root] : check failed
  36. 2020-09-17 01:09:39: python.d ERROR: mysql[mycnf2_root] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  37. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[mycnf2_root] : check failed
  38. 2020-09-17 01:09:39: python.d ERROR: mysql[socket1_root] : Can't establish connection to MySQL: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
  39. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket1_root] : check failed
  40. 2020-09-17 01:09:39: python.d ERROR: mysql[socket2_root] : Can't establish connection to MySQL: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)")
  41. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket2_root] : check failed
  42. 2020-09-17 01:09:39: python.d ERROR: mysql[socket3_root] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  43. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket3_root] : check failed
  44. 2020-09-17 01:09:39: python.d ERROR: mysql[socket4_root] : Can't establish connection to MySQL: (2002, "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)")
  45. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[socket4_root] : check failed
  46. 2020-09-17 01:09:39: python.d ERROR: mysql[tcp_root] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  47. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[tcp_root] : check failed
  48. 2020-09-17 01:09:39: python.d ERROR: mysql[tcpipv4_root] : Can't establish connection to MySQL: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
  49. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[tcpipv4_root] : check failed
  50. 2020-09-17 01:09:39: python.d ERROR: mysql[tcpipv6_root] : Can't establish connection to MySQL: (2005, "Unknown MySQL server host '::1' (1)")
  51. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[tcpipv6_root] : check failed
  52. 2020-09-17 01:09:39: python.d ERROR: mysql[mycnf1_netdata] : Removed query: user_statistics[SHOW USER_STATISTICS;]. Error: error
  53. 2020-09-17 01:09:39: python.d ERROR: mysql[mycnf1_netdata] : Removed query: slave_status[SHOW SLAVE STATUS;]. Error: error
  54. 2020-09-17 01:09:39: python.d INFO: plugin[main] : mysql[mycnf1_netdata] : check success
  55. Traceback (most recent call last):
  56. File "/usr/libexec/netdata/plugins.d/python.d.plugin", line 851, in <module>
  57. main()
  58. File "/usr/libexec/netdata/plugins.d/python.d.plugin", line 844, in main
  59. p.run()
  60. File "/usr/libexec/netdata/plugins.d/python.d.plugin", line 736, in run
  61. self.start_jobs(*self.jobs)
  62. File "/usr/libexec/netdata/plugins.d/python.d.plugin", line 652, in start_jobs
  63. job.module_name, job.real_name, error))
  64. File "/usr/libexec/netdata/python.d/python_modules/third_party/filelock.py", line 100, in __str__
  65. .format(self.lock_file)
  66. ValueError: zero length field name in format
  67.  
RAW Paste Data