![]() ![]() ![]() Install the library for working with FireBird on Linux: Pip with our latest version of python 3.6.1 is already available, it is called similarly to python3 - pip3. already existed, add libfbclient.so.3.0.2 to the same directory / usr / lib64, create, similarly to the existing ones, libfbclient.so.3 symlinks and replace the libfbclient.so symlink with the same one pointing to libfbclient.so.3. We need to update or record the client library for our version of FireBird. Installing a Python library to communicate with FireBird Python installs in the / usr / local / bin / python3 directory ![]() We use Zabbix 3 as a monitoring system, so it was decided to write a simple Python script that will connect to FireBird and check the time of the last write to the table with CDR, if this time exceeds 30 minutes, the monitoring system will signal us about this.Īsterisk is installed on the already old Centos 6.8, so first install fresh Python.ĭownload the latest sources at the time of writing: Once again, having not received important information from the CDR, it was decided to somehow track the fact of writing / not writing to the CDR. After seeing that there are no records, restart Asterisk, the record in the database is restored. It is infrequent, but it happens that the record in the database stops, and we learn about it when you need to see something in the CDR. We have in the “state” Asterisk 11 and FireBird 2.5 DBMS, into which PBX writes CDR. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |