From Gary B, 1 Month ago, written in Plain Text.
Embed
  1. Cronic detected failure or error output for the command:
  2. /opt/librenms/poller-wrapper.py 25
  3.  
  4. RESULT CODE: 1
  5.  
  6. ERROR OUTPUT:
  7. Traceback (most recent call last):
  8. File "/opt/librenms/poller-wrapper.py", line 57, in <module>
  9. wrapper.wrapper(
  10. File "/opt/librenms/LibreNMS/wrapper.py", line 574, in wrapper
  11. db_connection.query(query)
  12. File "/opt/librenms/LibreNMS/__init__.py", line 281, in query
  13. cursor.execute(query, args)
  14. File "/usr/lib/python3/dist-packages/pymysql/cursors.py", line 170, in execute
  15. result = self._query(query)
  16. File "/usr/lib/python3/dist-packages/pymysql/cursors.py", line 328, in _query
  17. conn.query(q)
  18. File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 517, in query
  19. self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  20. File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 732, in _read_query_result
  21. result.read()
  22. File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 1075, in read
  23. first_packet = self.connection._read_packet()
  24. File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 684, in _read_packet
  25. packet.check_error()
  26. File "/usr/lib/python3/dist-packages/pymysql/protocol.py", line 220, in check_error
  27. err.raise_mysql_exception(self._data)
  28. File "/usr/lib/python3/dist-packages/pymysql/err.py", line 109, in raise_mysql_exception
  29. raise errorclass(errno, errval)
  30. pymysql.err.IntegrityError: (1062, "Duplicate entry 'vm-umfs-librenms' for key 'pollers_poller_name_unique'")
  31.