Commit Graph

27 Commits

Author SHA1 Message Date
Aaron Daniels
705a73bda2 webui: Added Pagination and server side search via Ajax to NTP (#4330)
webui: Added Pagination and server side search via Ajax to NTP (#4330)
2016-09-04 16:32:03 +01:00
Tony Murray
b8e9b2d917 Implement an autoloader (#4140)
* Implement an autoloader

When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings

This reduces the file includes needed and only loads classes when needed.

* Add teh autoloader to graph.php

* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Aaron Daniels
4c060a430a - Made module generic, not cisco specific. 2016-08-12 17:21:55 +10:00
Aaron Daniels
b9747b2002 CISCO-NTP-MIB
A new Discovery/Poller module to collect NTP statistics from devices which support the CISCO-NTP-MIB
Discovered peers are stored using components and statistics are displayed using 'applications'
A critical alarm is raised when a stratum of 16 is reported.
2016-08-09 07:14:25 +10:00
Florian Beer
5596583230 Show graphs for apps that do not set graph type 2016-08-04 16:40:13 +02:00
Florian Beer
bda31d7152 Update Apps overview page 2016-08-04 14:19:02 +02:00
Mark Schouten
1abf7d89f8 * Fix bug introduced in #1825 (vmid != instance)
* Fix if-then-else-formatting
2015-09-01 15:36:08 +02:00
f0o
8b820fe316 Reformat proxmox application HTML 2015-09-01 13:41:03 +01:00
Mark Schouten
e5281fa49d Remove useless global calls and add docblocks 2015-09-01 10:14:15 +02:00
Mark Schouten
bcca44b08e require_once, not include. And shift some HTML to the right 2015-09-01 10:01:39 +02:00
Mark Schouten
73e4dd178f Do not use var_isset and fix if-then-else-codestyle 2015-08-31 16:40:53 +02:00
Mark Schouten
8543ca3d46 Fix some if-else-codeblocks according to codingstyle 2015-08-31 16:36:00 +02:00
Mark Schouten
34abb859df Remove proxmox as a page and add is as an app. Also, this introduces actual working app_instance stuff into LibreNMS 2015-08-31 16:36:00 +02:00
Clint Armstrong
b5e8998c70 apply lazyload patch 2015-07-16 12:42:58 -04:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Job Snijders
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
laf
6b1114ad76 Fixed links to actual device 2014-06-15 13:34:35 +01:00
Tom Laermans
4985943822 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3185 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-15 15:18:57 +00:00
Adam Amstrong
547a1f0fc0 time fix. improvement to apps overview.
git-svn-id: http://www.observium.org/svn/observer/trunk@3155 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 14:13:03 +00:00
Tom Laermans
78fe096645 improvements to (mysql) app system
git-svn-id: http://www.observium.org/svn/observer/trunk@3135 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 19:03:03 +00:00
Tom Laermans
8df2b9b3f5 remove legacy variables, hopefully i didn't mess anything up
git-svn-id: http://www.observium.org/svn/observer/trunk@3134 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 18:38:11 +00:00
Adam Amstrong
6b7898b18c memcached and drbd application improvements
git-svn-id: http://www.observium.org/svn/observer/trunk@3099 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-30 15:13:13 +00:00
Adam Amstrong
5ff144b058 fix small things
git-svn-id: http://www.observium.org/svn/observer/trunk@3094 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 17:05:14 +00:00
Adam Amstrong
63d9e13039 fixes to mysql agent script. fixes to links on apps overview.
git-svn-id: http://www.observium.org/svn/observer/trunk@3082 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-24 10:48:07 +00:00
Tom Laermans
e2dc9b246d syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3071 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-21 00:36:55 +00:00
Adam Amstrong
2b8178bb5b move all RRA decisions to config. switch mempool/storage to new rrds (sorry, data lost, the old rrds sucked). added some more apps pages.
git-svn-id: http://www.observium.org/svn/observer/trunk@3068 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-20 17:37:58 +00:00