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
11d91215cb
Added predicated usage to bills, basic at present
2016-08-13 01:11:20 +01:00
Florian Beer
a7a8c55eb5
Add filter by priority to syslog
2016-08-05 13:34:23 +02:00
Aaron Daniels
52455e1128
Component Update - Status
...
- Align the component status field with the Nagios standard
0=ok, 1=warning, 2=critical
- Modify existing modules to report these status' (Cisco-OTV)
- Add/Modify Alerting Macros to use these status'
- Add the a component status widget
- update edit page to report these status'
2016-07-11 16:51:01 +10:00
laf
2bffc5c1b7
updates as per comments from murrant
2016-07-01 10:27:15 +01:00
laf
2664dbb5e0
Merge branch 'master' of https://github.com/librenms/librenms into ifSpeed
2016-06-30 09:49:35 +01:00
laf
0eb35c0c88
Initial setup for customising ifSpeed on devices
2016-06-24 14:10:09 +01:00
Tony Murray
d01804dc8a
Merge pull request #3704 from laf/issue-3699
...
Fixed all maintenance windows appearing as having lapsed
2016-06-23 10:25:48 -05:00
Tony Murray
47afbd5701
Merge pull request #3697 from laf/issue-1911
...
Added ability to search graylog using the resolved IP we now store
2016-06-22 14:03:30 -05:00
laf
067f0f8d67
Updated if check for device ip
2016-06-22 19:39:47 +01:00
laf
423c24cf86
Fixed all maintenance windows appearing as having lapsed
2016-06-22 19:29:22 +01:00
laf
744e3d5d6f
Added ability to search graylog using the resolved IP we now store
2016-06-21 20:45:03 +01:00
laf
06998420cf
Updated unpolled notification to only show unpolled devices
2016-06-21 20:12:32 +01:00
Eldon Koyle
809d281adf
Add devicee hw/location on hover in alerts table
...
* Add devices.hardware and devices.location
* Remove some un-needed column aliases (col AS col is the default)
2016-06-08 10:10:34 -06:00
Tony Murray
009840bf8a
Store device group relationships in a pivot table.
2016-06-02 13:25:01 -05:00
laf
bc423fb710
derp
2016-05-04 19:46:42 +00:00
laf
7f4bb93a24
Updated sensor hostname to use correct variable
2016-05-03 23:11:03 +00:00
laf
aefbde3df0
Added abililty to filter by alert state Ok or Alert
2016-05-02 19:40:12 +00:00
Michael Nguyen
699c407072
Fix javascript bug with repeating sensors icon on devices page
2016-04-11 13:45:58 -07:00
Michael Nguyen
2c8ba538b8
Fix javascript bug with repeating sensors icon on devices page
2016-04-11 13:36:55 -07:00
Neil Lathwood
6b896d0cb7
Merge pull request #3239 from richardlawley/billing-search
...
Convert bills list to Bootgrid
2016-03-17 21:09:10 +00:00
laf
4cbeb18af5
Updated alerts query to retrieve sysName for function use
2016-03-16 00:56:58 +00:00
Richard Lawley
4500c2a3ba
Fix dates shown in history view
2016-03-15 08:11:42 +00:00
Richard Lawley
0e5b413d05
Include Notes field on Bills list
2016-03-14 16:35:23 +00:00
Richard Lawley
cbb8699fb8
Convert table to bootgrid
2016-03-14 16:30:55 +00:00
David Bell
39aaf84c74
Changing to a simpler fix suggested by @ekoyle
2016-03-09 21:01:47 +00:00
David Bell
6b4d58558f
Fix for admin users
2016-03-08 15:28:19 +00:00
David Bell
a09d3143f5
Can't push to an empty array
2016-03-08 15:22:02 +00:00
David Bell
f381adad45
The SQL query that was being generated was messed up. I've attempted to refactor the way the query gets generated. Not 100% certain this is the best way to go about it
2016-03-08 14:56:25 +00:00
Daniel Preussker
731e43bc66
Revert "[WIP] Sanity!"
2016-02-17 13:59:58 +00:00
f0o
f606369309
Bulk cosmetic fixes
2016-02-10 15:40:50 +00:00
Tony Murray
8849cee3f4
Missed this while fixing sensor data with 0 values.
2016-02-09 15:42:46 -06:00
vitalisator
ff71629f34
remove logfie()
2016-01-28 15:10:51 +01:00
vitalisator
bcc253cccf
fix sorting
2016-01-28 15:09:05 +01:00
vitalisator
0e66ddf088
some bugfixing
2016-01-28 13:07:33 +01:00
Neil Lathwood
60603520df
Updated stp branch
2016-01-26 01:40:08 +00:00
vitalisator
dc933184f0
stp-ports bootgrid 1
2016-01-24 18:50:10 +01:00
Eldon Koyle
996c2fa4ca
Add group filtering to alerts widget
...
* Add filtering by device_group to alerts widget
* Allow searching by state == recovered
2016-01-21 12:51:49 -07:00
Daniel Preussker
2d3367f7cd
Merge pull request #2816 from ekoyle/alert_filters
...
Add some basic alert filtering
2016-01-21 13:06:01 +00:00
laf
668f14f74a
Parameter to get_dev_attrib() is an array not a int, updated
2016-01-21 12:32:20 +00:00
Eldon Koyle
0c124270d5
Add some basic alert filtering
...
Add some alert filtering.
Args:
* acknowleged - 0: show not acknowleged, 1: show acknowleged
* state - integer or string for desired state
* min_severity - integer or string for lowest desired severity
2016-01-19 16:38:41 -07:00
Aaron Daniels
6492b887e9
Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650
2016-01-14 06:10:31 +10:00
Neil Lathwood
564752210d
Merge pull request #2536 from paulgear/mib-poller-alpha2
...
MIB-based poller alpha2
2016-01-06 09:08:56 +00:00
Paul Gear
eb1dbc74c7
Remove redundant function
2016-01-02 07:10:43 +10:00
Paul Gear
ce880a6d23
Fix count & create device link in global MIB association table
2016-01-02 07:10:43 +10:00
Paul Gear
6fae9874b0
Add global MIB association table
2016-01-02 07:10:43 +10:00
Paul Gear
2244a5f31d
Fix issues flagged by scrutinizer
2016-01-02 07:10:43 +10:00
Paul Gear
953ea3fa15
Add device OID storage and display
2016-01-02 07:10:42 +10:00
Paul Gear
5d53761727
Trivial cleanups
2016-01-02 07:10:42 +10:00