Commit Graph

4922 Commits

Author SHA1 Message Date
Neil Lathwood
f1b50737bb Docs refactor (#7389)
* docs: Refactored docs for new layout

* some more changes

* more doc updates

* More doc updates

* small update

* small update
2017-10-02 21:36:22 +01:00
Aldemir Akpinar
b4af9197ba newdevice: Added basic detection for hanwha techwin devices (#7397)
* Basic hanwha techwin support

* Changed os type to iPolis

* Changed file names to ipolis rather than the vendor name

* oid fixes
2017-10-01 19:19:46 +01:00
Neil Lathwood
592e8aca4c newdevice: Added sensor detection for APC In Row RD devices (#7385)
* newdevice: Added sensor detection for APC In Row RD devices

* Update apc.yaml

* Update apc.yaml

* Update cooling.inc.php

* Update pressure.inc.php
2017-09-29 21:13:27 +01:00
Neil Lathwood
98e509c27c webui: Updated alert rule collection to be table (#7371) 2017-09-29 21:12:22 +01:00
Neil Lathwood
30318b7427 webui: Show how long a device has been down if it is down (#7336) 2017-09-29 21:05:51 +01:00
celalemre
973764e7d3 alerts: Added OpsGenie transport. (#7392)
* Add OpsGenie transport.

* Log response body from OpsGenie only when an error occurs.

* Move OpsGenie SQL config to a new sql file.
2017-09-28 21:20:21 +01:00
Ryan Medlyn
d6ae852617 Fixes query selector scope for bootgrid destroy (#7379) 2017-09-22 07:06:49 +01:00
Neil Lathwood
1be550826e api: Added ability to supports CORS for API (#7357)
* Update defaults.inc.php

* api: Added ability to supports CORS for API

* added acknowledge

* Update Configuration.md
2017-09-21 18:07:31 +01:00
Neil Lathwood
838f91a18a newdevice: Added detection for DPS Telecom NetGuardian (#7326)
* newdevice: Added detection for DPS Telecom NetGuardian
2017-09-18 20:29:27 +02:00
Neil Lathwood
2115a1c6d1 newdevice: Added support for Alpha FXM UPS devices (#7324)
* newdevice: Added support for Alpha FXM UPS devices
2017-09-18 20:24:53 +02:00
Tony Murray
a410e34115 fix: If session save path is "", php will use /tmp (#7359) 2017-09-18 19:22:24 +01:00
Neil Lathwood
aef79535f4 newdevice: Added support for A10 ACOS devices (#7327)
* newdevice: Added support for A10 ACOS devices
2017-09-17 21:33:09 +02:00
Bennett Blodinger
25bb27c39e webui: Makes the .availability-label border-radius fit in with the border a bit better
Makes the .availability-label border-radius fit in with the border a bit better
2017-09-15 20:59:18 +01:00
Neil Lathwood
b3567041dd newdevice: Added support for SmartOptics M-Series (#7314)
* newdevice: Added support for SmartOptics M-Series

* added os polling file
2017-09-13 21:12:56 -05:00
Neil Lathwood
0376f92cc3 webui: Added device description to overview page (#7328) 2017-09-13 19:46:16 -05:00
Paul Heinrichs
9f553af71e newdevice: Added DHCP Leases Graph for Mikrotik (#7333) 2017-09-13 19:49:41 +01:00
Neil Lathwood
9cafcb6280 newdevice: Added detection for Himoinsa Gensets (#7295)
* newdevice: Added detection for Himoinsa Gensets

* Update himoinsa.svg
2017-09-10 13:44:05 -05:00
jayceeemperador
dbbb9ca7fa newdevice: Added detection for ServerChecks (#7308)
* Add files via upload

Serverscheck logo

* Delete serverscheck.svg

* Add files via upload

* Delete serverscheck.png

* Add OS discovery for ServerChecks #7284

* Delete servercheck.svg

* newdevice: Add OS discovery for ServerChecks (#7284)

* Create serverscheck.yaml

* Delete serverscheck.png

* Change png to 32x32 size

* Add OS discovery for ServerChecks #7308

Added mib directory for serverscheck

* Create SERVERSCHECK-MIB

* Add OS discovery for ServerChecks #7308

Added snmprec file for serverscheck
2017-09-10 19:14:34 +01:00
Neil Lathwood
f97b0b87a3 refactor: Updated ldap auth to allow configurable uidnumber field (#7302) 2017-09-08 12:04:59 -05:00
Tony Murray
ec72eb2960 newdevice: Added basic Open-E detection (#7301)
ingore_mount_string will be activated with separate PR
2017-09-08 05:17:40 +01:00
Thom Seddon
20aa23508f api: Added simple OSPF API route 2017-09-07 20:04:36 +01:00
Tony Murray
8bacb053c9 fix: slower hardware can hit the schema update response timeout (#7296)
Update the timeout from 40s to 90s.
2017-09-07 09:28:03 +01:00
Zmegolaz
5441bafc81 fix: Fixed IPv6 host renaming (#7275)
* Fixed IPv6 host renaming

* Added get_rrd_dir() and modified other files to use it where appropriate.

* rrd_name() now uses the new function get_rrd_dir(), to make it simpler to modify the escaping in the future.

* Wrong function name in rrdstep.php
2017-09-02 13:45:31 -05:00
Ryan Medlyn
6077d3a3db webui: Greatly reduces application memory leak for dashboard (#7215) 2017-09-01 17:27:01 +01:00
deepseth
2cbee2dc02 refactor: Added IOS-XR Bundle-Ether shortened/corrected forms (#7283)
* Added IOS-XR Bundle-Ether shortened/corrected forms
2017-09-01 17:14:03 +01:00
Paul Heinrichs
6914666004 newdevice: Added support for DragonWave Horizon (#7264)
* Add Dragonwave Horizon Support

* Add snmprec and fix style issues

* Update logo and discovery oid

* Update horizon.yaml
2017-08-30 23:13:31 +01:00
Neil Lathwood
4683736fcf fix: Reverted previous active directory changes #7254 (#7257) 2017-08-29 19:53:05 +01:00
Richard Mayhew
51da2ba3af docs: Fixed API-Docs Link in webui (#7242)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* Fix API-Docs Link
2017-08-29 19:41:20 +01:00
Tony Murray
de8bcf3a6c fix: update notification for users with updates disabled (#7253)
Don't show the toast when the notification is marked as read
2017-08-29 09:32:24 -05:00
Tony Murray
0def643e09 feature: Notify about failed updates, block detectable bad updates (#7188)
* Feature: Notify about failed updates, block detectable bad updates
Ability to post notifications when the update fails.
Detect and roll back updates that will cause broken installs. (Needs testing)
Add severity to notifications, critical (2) notifications will display a toast.

This will be used for removing in-tree dependencies and raising the minimum php version.

* Improve naming a bit add phpdoc to new_notification
In case multiple notifications are created, remove them all.

* Remove notifications when update is disabled.

* update travis to use db testing

* added missing index
2017-08-26 21:35:39 +01:00
Tony Murray
b2c8f34039 refactor: Use anonymous functions for debug error_handler and shutdown_function in index.php (#7219) 2017-08-26 20:07:34 +01:00
Tony Murray
96cc9bfaa0 feature: Improve install process (#7223)
Fix incorrectly updating session with build-ok before start of schema update
Set a timeout for progress on the schema build 40s (lock wait time is 30s, so must be more than that).  Allow the user to restart the process if this timeout is reached.
Animate the progress bar while waiting for the schema update. Stop animation on failure or success.
Properly destroy the session after install.  This allows the user to restart if they need to without any tricks.
Move next step buttons to the right.
2017-08-26 19:35:13 +01:00
yac01
38cf424417 webui: Added ability for users to configure selectable times for graphs (#7193)
* feat:add links for librenms graph

* added widescreen config
2017-08-25 20:11:01 +01:00
Frank Mogaddedi
0a5b20c452 feature: Active Directory user in nested groups (#7175)
* Active Directory user in nested groups

* Active Directory user in nested groups

* Active Directory user in nested groups

* Use Config in new function
2017-08-25 00:24:43 -05:00
darthsco
e0d3083791 Fixed typo: Predicated -> Predicted (2 instances) (#7222)
The text that should have been "Predicted usage" was written as "Predicated usage" for both occurrences in the file.
2017-08-24 15:06:32 -05:00
arrmo
4c76ea4516 Raspbian Logo (svg) (#7201) 2017-08-22 11:29:40 +01:00
Daniel Preussker
d3094fa657 security: Security Patch to deal with reported vulnerabilties (#7164)
* WIP: Security Patch

* Update install.php

Styling fix

* Update install.php

* Update dbFacile.php

* Fix whitespace
2017-08-18 21:29:12 +01:00
Lorenzo Zafra
2da9ee7458 device: Added detection for Hitachi Data Systems SAN (#7160)
* Syslog test case

* revert changes on master

* newDevice: Hitachi Data Systems SAN

* Renamed mib directory

* Change discovery of sysObjectId
2017-08-18 07:58:38 +01:00
mbwall
c8f695d387 webui: Updated pi-hole graphs for better grouping (#7179) 2017-08-18 07:56:50 +01:00
Neil Lathwood
fe408a1f7c webui: Removed ability to use OR for generating rules (#7150) 2017-08-13 18:44:53 +01:00
Eric Lindsjö
c5acb65b2f fix: Escape sensor_descr_fixed in dBm sensors graph (#7146)
* Escape sensor_descr_fixed so that graphs with ':' in sensor_descr can be rendered

* Remove superfluous calls to substr and str_pad
2017-08-12 21:05:21 +01:00
Neil Lathwood
3594f494eb newdevice: Added support for Gude ETS devices (#7145) 2017-08-12 20:44:42 +01:00
Aldemir Akpinar
34d0fc3199 refactor: Ability to edit default alert template (#7121)
* newfeature: ability to edit default alert template

* Fix style errors

* Added missing db query

* Removed unnecessary code, and added faq section

* Minor documentation about default alert template. And put back wrongly removed lines

* Fixing the silly old mistakes... again
2017-08-12 20:21:13 +01:00
Cory Hill
25ec0be8d3 newdevice: Added support for Trango Apex Lynx OS (#7142)
* Added discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS
2017-08-11 23:09:07 +01:00
Tony Murray
a44dc7bd28 fix bugs introduced to address-search (#7138) 2017-08-10 09:07:39 -05:00
Tony Murray
ece0488d96 fix: missed call to removed is_ip function (#7132) 2017-08-08 16:23:03 -05:00
Tony Murray
1098529c62 fix: Check session directory is writable before install.php (#7103)
Drop pear check.
A few html/bootstrap cleanups too.
2017-08-08 20:26:03 +01:00
Tony Murray
1d777693e1 feature: New IP parsing classes. Removes usage of Pear Net_IPv4 and Net_IPv6. (#7106)
* Refactor remove use of pear Net_IPv4 and Net_IPv6

Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%.  Please test.

Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.

Add support for ipv6 fo ipInNetwork() function

Add phpdocs to functions
Remove accidental inclusion

Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()

tidy parsing cidr network

Change to a class based implementation.

Update phpdocs.
Fully catch exceptions for hex parsing.

Fix mistake.

support older phpunit versions

Fix php shifting to negative with php 5

* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.

* Also remove colons from hex strings.

* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
2017-08-08 14:14:58 -05:00
Neil Lathwood
d8140467ae newdevice: Added support for Emerson energy systems (#7128)
* newdevice: Added support for Emerson energy systems

* added missing test

* Update ees.yaml
2017-08-08 07:58:57 +01:00
sfini
4e56ee17b8 newdevice: Added detection for Alteon OS
* Create radware.yaml

Add Support for radware/Alteon application Switch

* Update radware.yaml

Remove comment

* Update radware.yaml

remove comment

* Create radware.snmprec

* Add files via upload

* Update radware.svg

* Update and rename radware.yaml to alteonos.yaml

Change os, group

* Rename radware.snmprec to alteonos.snmprec

* Removed mib-dir
2017-08-04 20:16:46 +01:00