Commit Graph
26 Commits
Author SHA1 Message Date
Eldon Koyle 5b074cb511 Add information to widget title
* Add info to widget title to make it clear what is being filtered
* Remove some debug
2016-01-21 17:01:45 -07: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
Eldon Koyle 12fe3cac29 Allow alert filtering from widget
Add some code to handle widget settings for alerts.
2016-01-20 15:23:09 -07: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
Eldon Koyle ceb3c2264c Fix daily.php not deleting device_perf entries
Add -d option to daily.php to show SQL and fix bug where daily.php does
not delete device_perf entries because a unix timestamp (integer) can't
be cast to a datetime.

MariaDB [librenms]> select * from device_perf where timestamp < UNIX_TIMESTAMP(DATE_SUB(NOW(),INTERVAL '7' DAY));
Empty set, 1 warning (1.20 sec)

MariaDB [librenms]> show warnings;
+---------+------+----------------------------------------+
| Level   | Code | Message                                |
+---------+------+----------------------------------------+
| Warning | 1292 | Incorrect datetime value: '1451944875' |
+---------+------+----------------------------------------+
1 row in set (0.00 sec)

MariaDB [librenms]>
2016-01-11 14:58:40 -07:00
Eldon Koyle 5835fe6b77 Remove some detection logic from Brocade NOS foo
Remove one overly-broad and one overly-narrow detection check for nos
devices.
2016-01-08 14:30:55 -07:00
Eldon Koyle ff2d4ddf49 Merge commit '8a2550e7d5cd19e25616087052915e1c9978e0ad' 2016-01-05 17:35:26 -07:00
Eldon Koyle 8a2550e7d5 Squashed 'lib/typeahead/' changes from 588440f..3d2a7eb
3d2a7eb Merge pull request #28 from sheeley/feature/select-on-hover
2d5d521 Set cursor on hover.
d60aed0 Merge pull request #27 from sheeley/feature/complete-current-selection
5e351d1 Merge pull request #41 from Pheil/patch-1
53400c3 Fixed 404 links
5c49ed8 Complete to currently selected suggestion.
6da45f5 Merge pull request #37 from jorrit/patch-1
eab11e6 Fix typos in comments in plugin.js
3d929c8 Add stuff that has been changed or added by now
79a991b Reformat changelog
b46224c Merge pull request #25 from jesperronn/node_version
f241826 update travis to run latest supported node version
5d69578 Merge pull request #19 from jesperronn/npm_package_updates
d78ad00 lock jasmine-query to old version 1.7.0, which has guaranteed support for jquery 1.
0cb71e9 updating npm packages dependencies
e7dfc42 Change capitalization
14dfe96 Update to new domain name
9c2b65c Merge pull request #22 from jesperronn/cache_node_modules
9e40c85 General overhaul of the readme
c665a6b Add some badges
b111a6f Remove jQuery package manager has been deprecated
b802342 Update NPM and Bower
6c12035 attempt to speed up Travis builds with cache directive
e5c0213 Merge pull request #18 from jesperronn/license_for_npm_package
8d448ea Fixed npm error: adding License link
e0556c5 Merge pull request #16 from jesperronn/node_static_dependency
c1c6ef9 Merge pull request #15 from jesperronn/npm_postinstall
76dbb90 Travis must have bower installed before running "npm install"
b170811 node-static webserver installed locally is good enough.
eee05f0 added a postinstall step to npm to cater for easy setup
1f0684f Merge pull request #14 from jcrben/patch-1
e232400 bloodhound.get->bloodhound.search
c69b990 Merge pull request #10 from thiagof/dist-build
a080d81 distribution build
8e1ffc4 Merge pull request #8 from coopy/fix-async-render-corejs
a52bd45 Update rendered-count _after_ async results have displayed
6f191d2 Merge pull request #5 from corejavascript/integration-0.11.2
5e62960 Merge pull request #2 from chip-miller/integration-0.11.2
fad5bd1 Merge pull request #4 from corejavascript/integration-0.11.2
9722aeb Adding Option: matchAnyQueryToken (default false) - By default a search result must match ALL query-tokens. Instead, this option returns results that match ANY
a36e6a0 gh-pages are now hosted on the .io domain
6e33c92 Merge pull request #1 from corejavascript/update-name
86ddae4 Update name and links
312d481 Merge pull request #1200 from jharding/1185-bad-async-logic
e2d9608 Merge pull request #1199 from jharding/1163-val-undefined
173b4b5 Fix bad async suggestions rendering logic
c58519e Coerce val to string when set through API
b2b588d Merge pull request #1192 from jharding/1102-scroll-top-open
04f1d66 Scroll menu to top on open
4fe2a34 Merge remote-tracking branch 'origin/1148-index-remote' into integration-0.11.2
212fe89 Register as an anonymous AMD module
f885f48 Make indexing remote a top-level option
5b70c60 Bloodhound optionally indexes/matches remote data - https://github.com/twitter/typeahead.js/issues/1148

git-subtree-dir: lib/typeahead
git-subtree-split: 3d2a7eb548ef2b737f875e8da634466bd62edd5e
2016-01-05 17:35:26 -07:00
Eldon Koyle abf12292c2 Update typeahead to corejavascript fork 2016-01-05 17:35:16 -07:00
Eldon Koyle f94a704c83 Fix minor bug in ajax_search.php which was returning null instead of [] when searching bgp 2016-01-05 10:21:08 -07:00
Eldon Koyle bf501c6667 Bump schema to 082 as 081 has been used 2015-12-09 15:33:15 -07:00
Eldon Koyle bd23d9e56a This isn't the operator you are looking for. Move along. 2015-12-09 15:28:13 -07:00
Eldon Koyle 81d84e0f8b Always add 'extended' metrics to db and remove option 2015-12-08 09:54:31 -07:00
Eldon Koyle 475a721787 Save some space, add a few more options 2015-12-04 13:14:35 -07:00
Eldon Koyle 3e9158d11a Add more docs on alerting foo 2015-12-04 13:14:30 -07:00
Eldon Koyle 1ee481ff6e Rename option to extended_port_metrics 2015-12-03 09:40:30 -07:00
Eldon Koyle cdc6bb3bb8 Update schema change to a single line 2015-12-03 09:38:16 -07:00
Eldon Koyle 612a4b3cad Bump schema version
Use version 081 due to other pending PR's with schema updates
2015-12-03 09:38:16 -07:00
Eldon Koyle 26be6c6d74 Add schema 2015-12-03 09:38:16 -07:00
Eldon Koyle fcaf3d49ab Fix reference to non-existent variable
Use $port_id since $ports[$ifIndex]['port_id'] doesn't exist yet
2015-12-03 09:38:16 -07:00
Eldon Koyle 3f689045d9 Remove a couple of stray OIDs 2015-12-03 09:38:16 -07:00
Eldon Koyle 55c05c7866 Allow users to keep more statistics in the db
* Add $config['enable_extended_port_metrics'] to enable feature
* Add a new table to store stuff in
* Update data from the poller
2015-12-03 09:38:16 -07:00
Eldon Koyle ca0a05d970 Merge branch 'master' of https://github.com/librenms/librenms 2015-12-02 17:09:29 -07:00
Eldon Koyle 9659bb322b Fix map bug caused by loopback cable
Fix a map bug where vis.js aborts because a device is inserted twice.
Need to add to $tmp_ids before checking the next device.
2015-12-02 17:07:32 -07:00
Eldon Koyle 9aacd1564d Add Eldon Koyle to AUTHORS.md
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2015-12-02 12:09:08 -07:00
Eldon Koyle fb0501588e Fix librenms auto-discovery 2015-11-18 14:48:54 -07:00