![]() 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. ArchivesCategories |