ikzelf / zbxdb

Zabbix database monitoring, the easy and extendable way
GNU General Public License v3.0
94 stars 45 forks source link

restart because of changed script ... while it is NOT changed #10

Closed ikzelf closed 5 years ago

ikzelf commented 5 years ago

Describe the bug This log messages shows the modification date of zbxdb.py did not change and tells otherwise: 2019-03-03 16:52:07.840274 /home/zabbixa/zbxdb/bin/zbxdb.py changed, from Fri Mar 1 11:18:09 2019 to Fri Mar 1 11:18:09 2019 restarting ... To Reproduce intermittent, not able to reproduce at will Expected behavior Since the last modification date of the script did not change, it should not be logged and zbxdb.py should not be auto restarted. logs 2019-03-03 16:19:07.694104 connect 2 times, 1 fail; started 12361 queries, 0 fail memrss:14532 user:31.939144 sys:8 .330733 2019-03-03 16:52:07.840274 /home/zabbixa/zbxdb/bin/zbxdb.py changed, from Fri Mar 1 11:18:09 2019 to Fri Mar 1 11:18:09 2019 restarting ...

monitoring platform:

Additional context All instances of zbxdb.py on this machine make the same log at about the same time. On an other machine with the same version of zbxdb.py this does not occur. (Python 3.6.5)

ikzelf commented 5 years ago

never happened again since March 4th. Could it be a vm issue?