Commit Graph
7660 Commits
Author SHA1 Message Date
Clint Armstrong 92177414ad space 2015-08-25 11:35:26 -04:00
Clint Armstrong 4c5f7f9dd1 add lsb docs 2015-08-25 11:35:26 -04:00
Clint Armstrong ef91005f6c add LSB script 2015-08-25 11:35:26 -04:00
Clint Armstrong bba8803933 symlink instead of copy 2015-08-25 11:35:26 -04:00
Clint Armstrong 507e4baa95 simplify poller-service.conf 2015-08-25 11:35:25 -04:00
Clint Armstrong 6f0969c151 typo 2015-08-25 11:35:25 -04:00
Clint Armstrong 33baea6d6a release schema lock 2015-08-25 11:35:25 -04:00
Clint Armstrong 38af8b4c4c return instead of exit 2015-08-25 11:35:25 -04:00
Clint Armstrong d9efadb441 fix bailout comparison 2015-08-25 11:35:25 -04:00
Clint Armstrong e74a6db216 move lock checks after bail out 2015-08-25 11:35:25 -04:00
Clint Armstrong c5fcb87b51 bail if schema is already up to date 2015-08-25 11:35:24 -04:00
Clint Armstrong 1379a13c76 wait for all locks to be free when updating schema 2015-08-25 11:35:24 -04:00
Clint Armstrong 777d5d6c6f add function to check for a lock 2015-08-25 11:35:24 -04:00
Clint Armstrong 86e0f42dc7 bail out if we can't get a lock on schema_update 2015-08-25 11:35:24 -04:00
Clint Armstrong a47ae33cfd check for schema_update lock when poller-service runs 2015-08-25 11:35:23 -04:00
Clint Armstrong 9039dbb425 give discovery it's own lock 2015-08-25 11:35:23 -04:00
Clint Armstrong 617e695b20 better logging error checking 2015-08-25 11:35:23 -04:00
Clint Armstrong 7798626017 fix logging options 2015-08-25 11:35:23 -04:00
Clint Armstrong 403d4c5364 decode proc 2015-08-25 11:35:23 -04:00
Clint Armstrong 85aa9ccdb8 Revert "make logging python3 compatible"
This reverts commit 74531c6e69c31c252a48d2bab90bc98e4f566111.
2015-08-25 11:35:23 -04:00
Clint Armstrong 0f34042b84 Revert "upper case warning"
This reverts commit c87d626105ad80d7856e2c15f98219c43ebe0c2e.
2015-08-25 11:35:22 -04:00
Clint Armstrong 9022c16836 upper case warning 2015-08-25 11:35:22 -04:00
Clint Armstrong 73ada34f30 make logging python3 compatible 2015-08-25 11:35:22 -04:00
Clint Armstrong 71c1771d84 zero length field in format 2015-08-25 11:35:22 -04:00
Clint Armstrong c9a56e248d index and limit 2015-08-25 11:35:22 -04:00
Clint Armstrong bb697a35bd attribution 2015-08-25 11:35:22 -04:00
Clint Armstrong b73b49bfcb remove unnecessary exit conditions 2015-08-25 11:35:21 -04:00
Clint Armstrong 9931d9dc44 don't try to discover down devices 2015-08-25 11:35:21 -04:00
Clint Armstrong 21e9dac646 exit on mysql error 2015-08-25 11:35:21 -04:00
Clint Armstrong 3ff7a48089 catch sql errors 2015-08-25 11:35:21 -04:00
Clint Armstrong 9f1c2232f0 update every minute 2015-08-25 11:35:21 -04:00
Clint Armstrong 4d832067a9 change to 2 minute updates 2015-08-25 11:35:20 -04:00
Clint Armstrong c3b6fee0eb bad sql 2015-08-25 11:35:20 -04:00
Clint Armstrong 5672afd0a8 test for null last_attempted 2015-08-25 11:35:20 -04:00
Clint Armstrong e68bebbc62 bad index 2015-08-25 11:35:20 -04:00
Clint Armstrong 6c5f71bbb5 remove queue locks on empty query 2015-08-25 11:35:20 -04:00
Clint Armstrong 4a66720969 release lock for 1 device 2015-08-25 11:35:20 -04:00
Clint Armstrong c35a1ea750 don't loop too fast 2015-08-25 11:35:19 -04:00
Clint Armstrong d23bed0af7 don't check dont-retry' 2015-08-25 11:35:19 -04:00
Clint Armstrong f12725fc81 store last attempted in sql for simpler down_retry 2015-08-25 11:35:19 -04:00
Clint Armstrong 01b7648136 add last_poll_attempted column to devices table 2015-08-25 11:35:19 -04:00
Clint Armstrong 55ad58b4e9 update sql schema to add primary key for pollers 2015-08-25 11:35:19 -04:00
Clint Armstrong bedf425c1c update sql schema to add primary key for pollers 2015-08-25 11:35:18 -04:00
Clint Armstrong b4c5f0a5ec notes 2015-08-25 11:35:18 -04:00
Clint Armstrong b9c3b3cec8 sql stuff 2015-08-25 11:35:18 -04:00
Clint Armstrong 4529ba2e7d fix stupid query 2015-08-25 11:35:18 -04:00
Clint Armstrong c65a160c18 log progress to db every 5 minutes 2015-08-25 11:35:18 -04:00
Clint Armstrong 0588ff41c3 get a lock when doing discovery 2015-08-25 11:35:18 -04:00
Clint Armstrong 67b8f9f473 pep8 2015-08-25 11:35:17 -04:00
Clint Armstrong b0c02a167e add license to docstring 2015-08-25 11:35:17 -04:00