I'm trying to monitor a database table and running into what seems like a permissions issue.
The "Not supported" Item message is "Cannot connect to ODBC DSN:[SQL_ERROR]:[01000][0][[unixODBC][Driver Manager]Can't open lib '/usr/lib' : file not found]|"
/usr/lib is obviously owned by root. The library itself (the Driver) is /usr/lib/odbc/libmyodbc.so and it's also owned by root.
I'm not sure how to approach this. If I'm not mistaken zabbix is running on my own user? How do I find out? (my user and root are the only ones on this Ubuntu machine.)
I chowned /usr/lib/odbc/libmyodbc.so to myuser:mysuer but zabbix still gives the same error message.
Is there a solution for this 2 day miery?
The key I'm using: db.odbc.select["response_time",eyalora]
The "Not supported" Item message is "Cannot connect to ODBC DSN:[SQL_ERROR]:[01000][0][[unixODBC][Driver Manager]Can't open lib '/usr/lib' : file not found]|"
/usr/lib is obviously owned by root. The library itself (the Driver) is /usr/lib/odbc/libmyodbc.so and it's also owned by root.
I'm not sure how to approach this. If I'm not mistaken zabbix is running on my own user? How do I find out? (my user and root are the only ones on this Ubuntu machine.)
I chowned /usr/lib/odbc/libmyodbc.so to myuser:mysuer but zabbix still gives the same error message.
Is there a solution for this 2 day miery?
The key I'm using: db.odbc.select["response_time",eyalora]
Comment