Commit Graph

111 Commits

Author SHA1 Message Date
f0o
da9e071d7d
Revert all PHP-Based MySQL Locks introduced in #1584 2015-09-02 14:46:42 +01:00
f0o
26554221fb
Add another safety-net to remove locks if the execution of poller/disco gets aborted or killed 2015-09-01 14:49:55 +01:00
f0o
e11f613bdd
Pause polling and discovery if there's an update-lock 2015-09-01 14:14:50 +01:00
f0o
b0a302bf77
Release MySQL locks when they are not used anymore 2015-09-01 11:10:56 +01:00
Clint Armstrong
e7c51f2a80 add mysql lock for polling 2015-08-25 11:35:13 -04:00
laf
86059f67c1 updated to use function for last commit 2015-08-25 08:40:20 +00:00
laf
59de0d1478 Clean up some poller debug + added updated version and last git commit 2015-08-24 20:54:19 +00:00
Mark Schouten
4792879ce5 Remove all unneeded if($debug)-statements and replace them with d_echo in the rest of the directories... 2015-08-21 16:10:01 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Neil Lathwood
07c1be5b00 Revert "Temp fix to remove .index at the start of the poller run" 2015-06-25 14:20:48 +01:00
laf
0624b6c1d0 Temp fix to remove .index at the start of the poller run 2015-06-24 16:39:16 +01:00
f0o
ffd5a3d928 Adds Distributed Polling via Memcached. 2015-03-15 16:29:59 +00:00
laf
976627dbb0 Added +x to poller.php 2015-01-05 21:13:58 +00:00
Paul Gear
e867d3f1df Merge branch 'alerting-dirty' of https://github.com/f0o/librenms into f0o-alerting-dirty 2014-12-21 12:56:29 +10:00
laf
807fc9a3ba Alerts gui commit 2014-12-16 20:03:19 +00:00
f0o
c0e1d9cbc5 Added Alerting 2014-12-15 11:10:26 +00:00
Paul Gear
0e3b24bebc Start on making date formats consistent 2014-08-07 03:45:30 +10:00
Paul Gear
aa9dded019 Remove user-facing references to Observium
This eliminates nearly all of the user-facing references to Observium,
including in the names of temporary files and in the metadata of PDFs.  Many
of these may not be used any more, but I've adjusted them anyway.  These
changes should also make it easier to change the branding later if it is
needed.  There are a few references of which I still don't understand the
significance, so I've left them as-is for now.  The Unix agent in particular
is rather untidy.
2013-11-05 09:33:32 +10:00
Tyler Christiansen
63d428c0e1 Revert "update copyright notice" after discussion with Paul
This reverts commit 774233327e.
2013-10-28 12:01:36 -07:00
Tyler Christiansen
774233327e update copyright notice 2013-10-28 01:46:59 -07:00
Adam Amstrong
b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong
4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans
2773a0b8cf bye bye debug output, le sigh - also add newline before stats
git-svn-id: http://www.observium.org/svn/observer/trunk@3157 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 16:36:36 +00:00
Adam Amstrong
0f10f2b5b0 add ability to pass an array of values to rrdtool_update, which are checked and replaced with U if invalid.
git-svn-id: http://www.observium.org/svn/observer/trunk@3152 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 11:33:16 +00:00
Adam Amstrong
dbf212f652 phpDocumentator headers. retire static-config. IF YOU ARE READING THIS, REMOVE IT FROM THE BOTTOM YOUR CONFIG.PHP. YES. YOU.
git-svn-id: http://www.observium.org/svn/observer/trunk@3150 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 10:01:42 +00:00
Adam Amstrong
62180e6146 add the ability to run poller without updating rrds. add --rigid to graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@3124 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-03 10:45:36 +00:00
Adam Amstrong
850359711c add memcached application graphing support. move applications to <<<app-$name>>> for easier detection. add connection tracking to mysql application. move logout to /logout/ not
/?logout=yes.


git-svn-id: http://www.observium.org/svn/observer/trunk@3096 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-27 17:18:26 +00:00
Tom Laermans
86a5e66358 automatically change directory to observium base, hopefully avoids the need of a cd /opt/observium in crontab and on commandline
git-svn-id: http://www.observium.org/svn/observer/trunk@2989 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-08 10:39:10 +00:00
Adam Amstrong
99f58f2da1 increment $polled_devices
git-svn-id: http://www.observium.org/svn/observer/trunk@2849 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-25 05:50:21 +00:00
Adam Amstrong
66dd6dbd61 use rrdtool pipe in poller.
git-svn-id: http://www.observium.org/svn/observer/trunk@2631 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-01 14:54:06 +00:00
Tom Laermans
bb35cad509 code cleanup + move poll_device to includes/polling/functions
git-svn-id: http://www.observium.org/svn/observer/trunk@2518 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:29:04 +00:00
Tom Laermans
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Adam Amstrong
90dfbfa141 fix some things
git-svn-id: http://www.observium.org/svn/observer/trunk@2351 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-20 14:27:53 +00:00
Geert Hauwaerts
993b5c5ead BUGFIX: Typo fix in SQL query.
git-svn-id: http://www.observium.org/svn/observer/trunk@2304 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 12:55:01 +00:00
Adam Amstrong
bc0cdd2415 move poller.php (inc os/system) to db* (and others, but poller is biggest change)
git-svn-id: http://www.observium.org/svn/observer/trunk@2298 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 11:42:26 +00:00
Adam Amstrong
2522421528 replace mysql_ with db* (update with caution, it works for me but...)
git-svn-id: http://www.observium.org/svn/observer/trunk@2282 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 17:59:00 +00:00
Adam Amstrong
2383cd1dfe fix adding/removal of graphs (DUH). fix UCD-MIB. (also switch to /new/ format graphs soon? :))
git-svn-id: http://www.observium.org/svn/observer/trunk@2267 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-08 00:13:58 +00:00
Adam Amstrong
43e316e7f6 fix global $device
git-svn-id: http://www.observium.org/svn/observer/trunk@2260 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 20:37:54 +00:00
Adam Amstrong
167d4268f2 per-device disabling of poller/discovery modules
git-svn-id: http://www.observium.org/svn/observer/trunk@2255 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 16:51:36 +00:00
Adam Amstrong
b11ad816aa poller overhaul. system/os split into modules. each device is wrapped in poll_device(). this probably breaks everything for you. adios, little datums.
git-svn-id: http://www.observium.org/svn/observer/trunk@2231 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 21:17:04 +00:00
Adam Amstrong
749d4d3376 dynamic poller/discovery modules. FUCK YEAH. PROFESHUNAL!
git-svn-id: http://www.observium.org/svn/observer/trunk@2225 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 16:02:29 +00:00
Adam Amstrong
6f26110c7d patches from lenwe (remove crappy tiny if and fix auth)
git-svn-id: http://www.observium.org/svn/observer/trunk@2221 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 12:22:04 +00:00
Adam Amstrong
f2eb8f0f24 make poller more fair. from lenwe.
git-svn-id: http://www.observium.org/svn/observer/trunk@2219 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 11:24:50 +00:00
Tom Laermans
a8852e2f72 cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@2199 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-28 21:12:16 +00:00
Adam Amstrong
ac299ec4fa OSPF poller. may get split into discovery/poller at some point. no RRDs yet. no web interface.
git-svn-id: http://www.observium.org/svn/observer/trunk@2175 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-27 01:39:02 +00:00
Adam Amstrong
31ebcdc7e3 err... er poll ignored devices! and fix some css bullshit.
git-svn-id: http://www.observium.org/svn/observer/trunk@2119 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-20 21:07:00 +00:00
Tom Laermans
50fae46f4b yay now
git-svn-id: http://www.observium.org/svn/observer/trunk@2082 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 19:24:23 +00:00
Adam Amstrong
f5ca2614e3 well, voltage and temperature still work...
git-svn-id: http://www.observium.org/svn/observer/trunk@2080 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 19:10:50 +00:00
Adam Amstrong
8611d27bd8 add cef switching graphs and un-retard sensors polling
git-svn-id: http://www.observium.org/svn/observer/trunk@2079 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 19:08:01 +00:00