Commit Graph
93 Commits
Author SHA1 Message Date
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
Clint Armstrong 4fed175935 document loglevel 2015-08-25 11:35:17 -04:00
Clint Armstrong f8756dc956 more details indocs 2015-08-25 11:35:17 -04:00
Clint Armstrong 1f0799fc03 more details about which cronjobs this replaces 2015-08-25 11:35:17 -04:00
Clint Armstrong 9ae0bc3f83 documentation written 2015-08-25 11:35:16 -04:00
Clint Armstrong 18d8914548 discover integration working 2015-08-25 11:35:16 -04:00
Clint Armstrong f293e3d967 add discovery support to service 2015-08-25 11:35:16 -04:00
Clint Armstrong c7423d2c4e start docs 2015-08-25 11:35:16 -04:00
Clint Armstrong cf8844742e poller service upstart conf working 2015-08-25 11:35:16 -04:00
Clint Armstrong 57bf214df3 first attempt at upstart conf 2015-08-25 11:35:16 -04:00
Clint Armstrong e30aea0168 get all config from config.php 2015-08-25 11:35:15 -04:00
Clint Armstrong f7993a204c log level from config 2015-08-25 11:35:15 -04:00
Clint Armstrong 2b3d70e928 add proper logging 2015-08-25 11:35:15 -04:00
Clint Armstrong e9ffc7a374 thread numbers are meaningless 2015-08-25 11:35:15 -04:00
Clint Armstrong 4736544e7e fix bug on retrying failed devices 2015-08-25 11:35:15 -04:00
Clint Armstrong 1dcaa51011 more efficient sql queries, working well all night 2015-08-25 11:35:14 -04:00
Clint Armstrong 99cf049645 cleaned up 2015-08-25 11:35:14 -04:00
Clint Armstrong 4d3b7a3c0f working 2015-08-25 11:35:14 -04:00
Clint Armstrong bd054d7a81 first attempt at looping logic 2015-08-25 11:35:14 -04:00
Clint Armstrong e479d8cf69 change variables 2015-08-25 11:35:14 -04:00
Clint Armstrong 2ba1d9e0ec add shebang 2015-08-25 11:35:14 -04:00
Clint Armstrong 72844d112e make poller-service executable 2015-08-25 11:35:13 -04:00
Clint Armstrong 7f262fd2cc limit sql query to amount_of_workers 2015-08-25 11:35:13 -04:00
Clint Armstrong b34fcf8728 remove debug echos 2015-08-25 11:35:13 -04:00
Clint Armstrong 8e34e83d97 add swp to gitignore for vim 2015-08-25 11:35:13 -04:00
Clint Armstrong e7c51f2a80 add mysql lock for polling 2015-08-25 11:35:13 -04:00
Clint Armstrong 735868c202 typo 2015-07-22 12:17:34 -04:00
Clint Armstrong 44c4533d41 don't detect drac as linux 2015-07-22 12:13:51 -04:00
Clint Armstrong 3983d1239f don't detect drac as armv5 2015-07-22 12:01:54 -04:00
Clint Armstrong e714953156 set low limit to 0 2015-07-22 11:55:21 -04:00
Clint Armstrong 0f695b7940 fix oid name 2015-07-22 11:46:22 -04:00
Clint Armstrong c00df6d4c7 fix voltage alerts 2015-07-22 11:27:28 -04:00
Clint Armstrong 585e601e9c detect as dnos 2015-07-22 10:14:42 -04:00
Clint Armstrong 9ec836b976 Revert "add dell networking n switches as powerconnect"
This reverts commit 5df98a5000.
2015-07-22 10:08:49 -04:00
Clint Armstrong 5df98a5000 add dell networking n switches as powerconnect 2015-07-22 09:20:49 -04:00
Clint Armstrong e6e17325bb fix fanspeed thresholds 2015-07-21 16:40:17 -04:00
Clint Armstrong ef758cb4b4 fix temps 2015-07-21 16:31:21 -04:00
Clint Armstrong 31816943c3 Revert "attempt fix"
This reverts commit 8479e7a133.
2015-07-21 16:21:31 -04:00
Clint Armstrong 8479e7a133 attempt fix 2015-07-21 16:21:21 -04:00
Clint Armstrong 102bb966af add lazyload link 2015-07-16 12:51:08 -04:00
Clint Armstrong 3d3a456543 Merge commit 'b96617cda4fb082a38c61b8e30be53f84ef5c9b2' as 'lib/jquery_lazyload' 2015-07-16 12:48:37 -04:00
Clint Armstrong b96617cda4 Squashed 'lib/jquery_lazyload/' content from commit f82eee9
git-subtree-dir: lib/jquery_lazyload
git-subtree-split: f82eee9f752a58fe5202b76adda2466fae2fd398
2015-07-16 12:48:37 -04:00
Clint Armstrong ca3e77fa1b add lazyload.js 2015-07-16 12:46:36 -04:00
Clint Armstrong b5e8998c70 apply lazyload patch 2015-07-16 12:42:58 -04:00
Clint Armstrong ef35ee1adc Merge remote-tracking branch 'travishegner/lazyload' into lazyload 2015-07-16 12:41:58 -04:00
Clint Armstrong 6e74c9da45 document the option 2015-07-16 11:14:02 -04:00
Clint Armstrong 3edce4d7e1 remove checks for options that socket does not use 2015-07-16 11:11:11 -04:00
Clint Armstrong 721455a0d7 don't override the socket option 2015-07-16 11:10:32 -04:00
Clint Armstrong fd0617acca Do not allow the master to join twice
If the poller master doesn't complete in time and ends up with overlapping jobs, neither job will ever complete because both running jobs will think they are the master and wait for the remaining node to exit.
2015-07-02 15:30:57 -04:00
Clint Armstrong b92e9f2d8f Update to the freqency DS used in collectd > 5.0
Similar to #1347 and #1349
2015-06-30 07:46:09 -04:00
Clint Armstrong dbae0e371f url encode graph names 2015-06-26 10:26:52 -04:00
Clint Armstrong 02780b8e72 entropy DS name is value. 2015-06-26 08:02:20 -04:00
Clint Armstrong 523cb83e91 Correct Apache collectd DS 2015-06-26 07:50:37 -04:00
Clint Armstrong 8b06659c86 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. 2015-06-26 07:45:29 -04:00
Clint Armstrong dd5d1c5e05 Adding --daemon twice breaks collectd graphs
When using rrdcached [rrdtool.inc.php](includes/rrdtool.inc.php#L163) already adds the necessary options. Collectd.inc.php adds them again which breaks drawing the graphs.
2015-06-25 13:24:02 -04:00
Clint Armstrong 0a54602028 Do not rewrite server-status
Currently users cannot use the check_mk apache plugin to monitor the apache instance that is running librenms. Excluding server-status from the rewrite rules allows users to use mod_status.
2015-06-25 08:01:05 -04:00