From: Benny A. <ben...@am...> - 2008-08-05 17:55:56
|
bge...@ta... writes: > The zabbix schema is complex enough that I wouldn't recommend editing the > database. The easiest way is to use wget or curl to post the data the > right web page. You can find out what data fields are needed by looking at > the url, html source and/or the php source. That is certainly an option. However, it is difficult to verify whether Zabbix and the equipment/IP database stay in sync. Anyway, the get_dbid function looks less complicated than I thought originally. If the node id's are assumed to be 0 (in a single-node setup) it is particularly simple. I still think that it is ugly to mix node id's and item id's in one row, but I can imagine that it speeds up access. (The bc* family of functions are rather expensive, though. I played with replacing them with string functions, but it got too complicated because of zeros.) /Benny |