Commit Graph

95 Commits

Author SHA1 Message Date
Neil Lathwood cf509f138b fix: Fixed the dbTest units so they work (#6293)
* fix: Fixed the dbTest units so they work

* fix schema, should now pass
2017-03-29 16:13:30 -05:00
Tony Murray e7057ecea5 feature: Application auto discovery (#6143) 2017-03-22 14:59:39 +00:00
Neil Lathwood f6d8859bb4 feature: Added support for sending alerts to Telegram #2114 (#6202) 2017-03-22 09:02:24 +00:00
pblasquez 5a5c96b118 Uncomment header declaration for reverse proxies (#6142) 2017-03-10 00:19:05 +00:00
Robbie Penziol afb838bc10 webgui: Added ability to set warning percentage for CPU, mempools from device edit page (#5895) 2017-03-03 15:07:12 +00:00
Tony Murray 5637399b95 webui: fix device edit health update icons (#5996)
Allow 0 and "" for valid health update values.
2017-02-25 10:37:13 +00:00
barryodonovan 0f663b3a82 feature: Add Smseagle transport support (#5989)
* added alert transport for SMSEagle hardware gateway (smseagle.eu)

* added newline

* schema file update + small code refactor

* added docs
2017-02-24 11:55:53 +00:00
Neil Lathwood 1e2ab73239 tidy up some more eventlog things (#5885)
* tidy up some more eventlog things

* update sql file
2017-02-14 12:06:01 +00:00
Richard Mayhew e4f48e661e Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
ToeiRei 6bc7b1991e feature: Added Rocket.Chat transport #5427
* Implement Rocket.Chat transport

* copyright stuff as I didn't have anything to hack anything on transport.rocket.php

* Update config-item.inc.php

Use space instead of tabs

* Update config-item.inc.php

kill a blank line

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-01-31 23:05:35 +00:00
FTBZ a0f5fe4f37 feature: Added basic recurring maintenance for alerts #4480 2017-01-22 18:00:15 +00:00
Neil Lathwood d5296319fb refactor: MySQL strict and query fixes (#5338)
* refactor: MySQL strict and query fixes

* moved sql file
2017-01-13 06:47:16 -06:00
Søren Rosiak 322bebfd7a fix: Fix Oxidized Config Search Output (#5382) 2017-01-10 11:30:06 -06:00
Søren Rosiak 92aab1608d feature: Oxidized basic config search (#5333) 2017-01-09 19:09:02 +00:00
Neil Lathwood 36e1cc82f6 webui: Disabled editing device notes for non-admin users (#5341) 2017-01-08 15:05:37 +02:00
Neil Lathwood 7061acf508 fix: dbUpdate calls now check if it is 0 or above (#4996) 2016-11-15 22:06:46 -06:00
Tony Murray 895bd4b1f7 Merge pull request #4895 from laf/json-alert-rules
feature: Added the option to select alert rules from a collection
2016-11-07 23:22:01 -06:00
Neil Lathwood 4a854e02ce fix: Added support for https links in alerts procedure url (#4872) 2016-11-01 18:04:01 +00:00
jonathon-k a251e81be5 fix: Remove escape characters for services form / display #4891 2016-11-01 17:20:12 +00:00
laf 7476a00a90 removed debug + simplified code 2016-11-01 16:43:12 +00:00
laf 8a142aa53f feature: Added the option to select alert rules from a collection 2016-10-29 10:56:59 +00:00
Neil Lathwood e1fac851f9 refactor: Update alert rules to generate sql query and store in db (#4748) 2016-10-15 00:29:55 +01:00
Tony Murray 02b84cf3f7 Support device group definitions from v2 (#4591)
* Support device group definitions from v2
Disable editing v2 groups.

V2 Device groups are defined as follows:
pattern = WHERE query with ? placeholders for values
params = json encoded array of values

* Can't array_unshift something that isn't an array...
2016-09-27 17:50:52 +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
laf 0991fbd67d Updated form update 2016-07-01 17:55:55 +01:00
laf 6690e31f9d Added ability to manually set ifSpeed 2016-06-30 09:49:30 +01:00
laf 16155e2264 Un-acknowledging an alert will allow it to continue sending alerts 2016-06-16 00:50:22 +01:00
Neil Lathwood 2b47c927f9 Merge pull request #3568 from gcoeugnet/master
Add procedure management from alerting widget
2016-06-12 19:26:01 +01:00
Guillaume COEUGNET 0b0881ae94 Remove doc files and change code indent 2016-06-06 11:49:50 +02:00
Guillaume COEUGNET 6c8a75a5f7 Change procedure management. Using URL instead of file 2016-06-06 11:41:41 +02:00
Tony Murray 009840bf8a Store device group relationships in a pivot table. 2016-06-02 13:25:01 -05:00
Guillaume COEUGNET 4dadad944b Add procedure management 2016-05-27 16:13:51 +02:00
Guillaume COEUGNET d5e26a3438 Add procedure management 2016-05-27 16:11:06 +02:00
laf 582ad082aa dbUpdate will return 0 if no data is changed 2016-05-26 21:03:24 +00:00
laf 0652052d95 Included file to create map was referencing wrong dir 2016-05-03 22:05:09 +00:00
Neil Lathwood 16a52912e8 Merge pull request #3435 from pblasquez/ajax_headers_4
Ajax headers for miscellaneous forms
2016-04-30 00:43:30 +01:00
Neil Lathwood 05b073171b Merge pull request #3434 from pblasquez/ajax_headers_3
Ajax headers for devices and pollers
2016-04-30 00:39:48 +01:00
Neil Lathwood 1fc59a9049 Merge pull request #3433 from pblasquez/ajax_headers_2
Ajax headers for dashboard/config forms
2016-04-30 00:39:10 +01:00
pblasquez 4cc9203baa Allow for separate headers upon conditional 2016-04-28 14:42:06 -07:00
pblasquez f3c4dacf7d Allow for separate headers upon conditional 2016-04-28 14:38:20 -07:00
pblasquez 186426933d Allow for separate headers upon conditional 2016-04-28 14:36:25 -07:00
pblasquez 71a57b6214 Allow for separate headers upon conditional 2016-04-28 14:30:03 -07:00
pblasquez 826cd17c33 Ajax headers for various 2016-04-26 15:13:01 -07:00
pblasquez b5b3929d70 Ajax headers for devices and components 2016-04-26 15:06:29 -07:00
pblasquez d2be07b49c Ajax headers for dashboard/config forms 2016-04-26 14:47:03 -07:00
pblasquez d4d2736954 Ajax Headers for Alert Forms 2016-04-26 14:39:10 -07:00
Adam Winberg aefb602480 Added '^' and '$' as allowed characters in regex split to be able to use start-of-string/end-of-string in LIKE statements for device groups 2016-04-15 08:49:10 +02:00
Aaron Daniels 854812a457 - added rrd_pipes to check script
- renamed service_* to *_service
2016-03-22 16:40:51 +10:00
Aaron Daniels 3e1d40fd7c - Added $vars to ajax_forms
- replaced all instances of $_POST with $vars
2016-03-16 08:37:15 +10:00