Hi,
Just checking out Zabbix, so a newbie in all things Zabbix.
I have configured a unixODBC datasource to connect to one of our FirebirdSQL databases and run a quick count query. I can run my query in unixODBC isql and it all works, so the unixODBC side of things seems all good.
I have configured a Database monitor item connecting to the datasource.
When looking at the Monitoring - Latest data web page, I see my database item has an error as follows:
However, the datasource name is fine (and works in isql).
Shortly after the Zabbix server process stops.
Looking at the Zabbix server log, I get the following:
That seems to be one mightily large memory request coming from odbc.c...
My first assumption was that there was something funny with the unixODBC side of things, but as mentioned, I can use isql and run queries against the datasource name just fine.
So it seems something in Zabbix and odbc put together, and that something can stop the Zabbix server from running.
My Zabbix install is from the appliance CD install running against a Postgres DB... haven't done much to it other than installing the FirebirdSQL unixODBC drivers... maybe that is the culprit? (But as mentioned, isql runs fine.)
Not sure where to head next, happy to try some more debugging options.
Thanks
Colin
Just checking out Zabbix, so a newbie in all things Zabbix.
I have configured a unixODBC datasource to connect to one of our FirebirdSQL databases and run a quick count query. I can run my query in unixODBC isql and it all works, so the unixODBC side of things seems all good.
I have configured a Database monitor item connecting to the datasource.
When looking at the Monitoring - Latest data web page, I see my database item has an error as follows:
Code:
Cannot connect to ODBC DSN:[SQL_ERROR]:[IM002][0][[unixODBC][Driver Manager]Data source name not found, and no default driver specified]|
Shortly after the Zabbix server process stops.
Looking at the Zabbix server log, I get the following:
Code:
1073:20160928:114550.650 [file:odbc.c,line:318] zbx_malloc: out of memory. Requested 140454020513802 bytes. 1017:20160928:114550.663 One child process died (PID:1073,exitcode/signal:1). Exiting ... 1017:20160928:114552.671 syncing history data... 1017:20160928:114552.671 syncing history data done 1017:20160928:114552.671 syncing trend data... 1017:20160928:114552.763 syncing trend data done 1017:20160928:114552.763 Zabbix Server stopped. Zabbix 3.2.0 (revision 62485).
My first assumption was that there was something funny with the unixODBC side of things, but as mentioned, I can use isql and run queries against the datasource name just fine.
So it seems something in Zabbix and odbc put together, and that something can stop the Zabbix server from running.
My Zabbix install is from the appliance CD install running against a Postgres DB... haven't done much to it other than installing the FirebirdSQL unixODBC drivers... maybe that is the culprit? (But as mentioned, isql runs fine.)
Not sure where to head next, happy to try some more debugging options.
Thanks
Colin
Comment