Commit Graph

69 Commits

Author SHA1 Message Date
Aaron Daniels
a2563c5b67 feature: Added Cisco Integrated Management Console inventory and sensor support #4454 2016-10-06 01:40:37 +01:00
boudreau
a9a2e7e742 Update overview.inc.php 2016-09-19 11:01:29 -04: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
laf
2a54c096af Fixed namespace issue 2016-08-18 22:06:00 +01:00
Aaron Daniels
4545aea28d - Services widget on device overview page was still displaying legacy status
while the database has been storing nagios style status.
  Modified to: 0=Ok, 1=Unknown, 2=Critical.
2016-04-26 07:04:22 +10:00
Aaron Daniels
111a52d48c Merge branch 'master' into issue-2193 2016-04-12 07:34:40 +10:00
Paul Heinrichs
a13d148fb1 Added Signal Sensor 2016-03-22 10:37:07 -04:00
Aaron Daniels
854812a457 - added rrd_pipes to check script
- renamed service_* to *_service
2016-03-22 16:40:51 +10:00
Aaron Daniels
0d6cfec589 Nagios Services
- Moved check-services.php to a poller module
    - Added performance data collection to the poller
    - Centralised DB functions to includes/services.inc.php
    - Created add/edit/delete functions off the device, services page
    - Removed legacy edit/delete interfaces.
    - Moved and modified check.inc scripts
    - Documentation Updates
    - Modified services table
2016-03-15 22:23:14 +10:00
Mike Rostermund
0cc3e1a9e2 Remove php closing tags to fix scrut issues 2015-08-04 19:29:43 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Daniel Preussker
e24442124b Merge pull request #1333 from laf/issue-1252
Added load and state to device overview
2015-06-25 09:55:26 +02:00
laf
44432c85e5 Added load and state to device overview 2015-06-24 16:53:10 +01:00
Runar Borge
308d686294 Added plugin hook to create a custom container under device->overview.
Container apears over "Overall traffic" on the left phane
2015-06-22 21:12:57 +02:00
laf
b3bbf46d68 Updated ports up check to include ifAdminStatus 2015-05-11 12:42:46 +01:00
mchasteen
c1c26bf831 Added new sensor - Battery Charge. Added discover and polling for APC UPSes. 2015-02-26 19:30:49 +00:00
laf
54c3b7bc14 Refreshed visually the Device overview page 2014-02-26 22:33:45 +00: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
Tom Laermans
613e8b1e29 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3117 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-02 22:02:30 +00:00
Tom Laermans
46b7c74e51 bring device overview info table layout in line with all other information panels
git-svn-id: http://www.observium.org/svn/observer/trunk@3081 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-22 17:13:27 +00:00
Tom Laermans
08952e40c6 show toner on device overview (beta), minor fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@3014 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 23:00:31 +00:00
Tom Laermans
a803ec4147 fix syslog link, patch by RobJE
git-svn-id: http://www.observium.org/svn/observer/trunk@2987 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-07 22:59:31 +00:00
Tom Laermans
2667649d3c syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2970 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 13:56:23 +00:00
Tom Laermans
9585d00d0a fix evenlog link on device overview
git-svn-id: http://www.observium.org/svn/observer/trunk@2810 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-06 11:55:21 +00:00
Adam Amstrong
8cf5ae5c75 dirty bitch moron files
git-svn-id: http://www.observium.org/svn/observer/trunk@2780 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-14 10:54:35 +00:00
Tom Laermans
7bb1827628 only show syslog on device overview when enable_syslog=1
git-svn-id: http://www.observium.org/svn/observer/trunk@2727 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-16 21:05:55 +00:00
Adam Amstrong
45c6d95501 add infrastructure to collect status of cisco catalyst 6k crossbar and new state table for entity-mib
git-svn-id: http://www.observium.org/svn/observer/trunk@2723 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-14 18:28:00 +00:00
Tom Laermans
a369c442eb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
Tom Laermans
4c8e94dc3a make 'recent syslog' clickable, like the other headings on the overview page
git-svn-id: http://www.observium.org/svn/observer/trunk@2591 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-27 08:46:17 +00:00
Adam Amstrong
390d11f69c FUCK YOU, CROSSBROWSER CHROME/FIREFOX TABS. FUCK YOU AND THE HORSE YOU RODE IN ON. ADAMA WINS!
git-svn-id: http://www.observium.org/svn/observer/trunk@2568 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-23 16:52:44 +00:00
Tom Laermans
ade67941ac don't show syslog header when we don't have log data
git-svn-id: http://www.observium.org/svn/observer/trunk@2564 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-23 14:36:37 +00:00
Tom Laermans
fd46d7bff9 fix more broken links on device overview
git-svn-id: http://www.observium.org/svn/observer/trunk@2529 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 16:22:56 +00:00
Tom Laermans
6e0a89cdfc better fix than the previous one, remove base_url
git-svn-id: http://www.observium.org/svn/observer/trunk@2452 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-13 10:22:46 +00:00
Tom Laermans
43167ca3b1 small fix reported by tuv
git-svn-id: http://www.observium.org/svn/observer/trunk@2451 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-13 08:54:53 +00:00
Adam Amstrong
046833b67e updates
git-svn-id: http://www.observium.org/svn/observer/trunk@2344 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 22:10:23 +00:00
Adam Amstrong
131ab8ec72 fix syslog on device overview (duh, missing argument!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2342 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 21:24:04 +00:00
Adam Amstrong
d4a29c41a5 more db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2324 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-15 15:29:47 +00:00
Tom Laermans
264ae72505 whoops, committed too much
git-svn-id: http://www.observium.org/svn/observer/trunk@2266 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-06 17:43:43 +00:00
Tom Laermans
ac640d456c fix ignore mount regexp
git-svn-id: http://www.observium.org/svn/observer/trunk@2265 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-06 17:43:15 +00:00
Tom Laermans
bf138579bb add power to device overview
git-svn-id: http://www.observium.org/svn/observer/trunk@2130 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-21 13:25:13 +00:00
Tom Laermans
f55a30f744 some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 13:54:50 +00:00
Tom Laermans
10b0bbe010 fix 2 possible sql injections, make graph clickthrough work on the non-sensor blocks in the device overview too
git-svn-id: http://www.observium.org/svn/observer/trunk@1973 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-25 14:18:04 +00:00
Tom Laermans
de7ff537cc revert r1957 patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1960 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-23 09:54:56 +00:00
Tom Laermans
3c79cafb2c can't stop uniformicationing
git-svn-id: http://www.observium.org/svn/observer/trunk@1915 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 16:35:18 +00:00
Tom Laermans
1a477eebbe device subpages cleanup, remove dead code
git-svn-id: http://www.observium.org/svn/observer/trunk@1896 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 23:10:10 +00:00
Tom Laermans
f71eac502f Generify sensor display on overview page, make links go directly to zoomed graph unless you click on the header in which case you go to that sensor health overview page
git-svn-id: http://www.observium.org/svn/observer/trunk@1749 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-02 16:45:32 +00:00
Tom Laermans
d449b63524 sensors table, with humidity as its first consumer - akcp humidity support implemented
git-svn-id: http://www.observium.org/svn/observer/trunk@1249 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-23 15:54:56 +00:00
Adam Amstrong
8060d5a030 rejig events system (still not great. meh) clean up some pages.
git-svn-id: http://www.observium.org/svn/observer/trunk@1223 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-20 21:37:05 +00:00