Adds Distributed Polling via Memcached.

This commit is contained in:
f0o
2015-03-15 16:29:59 +00:00
parent fe06a0a443
commit ffd5a3d928
5 changed files with 199 additions and 15 deletions

2
sql-schema/042.sql Normal file
View File

@@ -0,0 +1,2 @@
CREATE TABLE `pollers` (`id` int(11) NOT NULL AUTO_INCREMENT, `poller_name` varchar(255) NOT NULL, `last_polled` datetime NOT NULL, `devices` int(11) NOT NULL, `time_taken` double NOT NULL, KEY `id` (`id`)) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
ALTER TABLE `devices` ADD `poller_group` INT(11) NOT NULL DEFAULT '0';