14411 Commits

Author SHA1 Message Date
ea684c3543 webui: Allow deletion of dead poller nodes (#7721)
* webui: allow deletion of dead poller nodes

* improve messages
2017-11-22 07:50:29 +00:00
ccbe3ea2e3 fix: Use correct entity columns for sensors (#7775)
* fix: Use correct entity columns for sensors

* updated schema

* Update custom rules too
2017-11-21 22:41:22 -06:00
a56267e5ba fix: poller-wrapper.py keeps running when a poller takes too log (#7722)
name space the memcache variables for each polling interval based on the rrd.step value.
Make poller-wrapper.py respect the rrd.step setting
2017-11-21 09:22:53 +00:00
f04d7f1e94 docs: added note to adding device (#7774)
* docs: added note to adding device

added a note to SNMP port.

* Update Adding-a-Device.md
2017-11-20 23:00:10 -06:00
d10047c32e fix: bgp-peers fails when ip parsing fails (#7773)
Don't try to call ->getFamily() if we didn't parse an IP
2017-11-20 18:46:15 -06:00
ba51dc263e refactor: Only update sensor/bgp tables when values are changed (#7707)
* refactor: Only update sensor table when sensor values are changed

* included bgp peers in as well

* updated with comments from github
2017-11-20 12:37:02 -06:00
c56f04e1e2 fix: Set API log start at 0 rather than 1(#7772) 2017-11-20 15:31:21 +00:00
0c83bd051b Fix: Authentication on CentOS6 (#7771)
There is no need to redeclare abstract functions if the class is already abstract and they are declared in parent.
For some reason the PHP on CentOS7 throws an error with this where all other php versions I tested were fine with it.
2017-11-19 21:59:05 -06:00
e205c93c07 remove extra backtick (#7770) 2017-11-19 20:53:25 -06:00
8a4a5b2987 docs: added Web UI rename device. (#7769) 2017-11-19 20:20:02 -06:00
1cc0e7cd6d fix: Fixed empty group query for devices (#7760)
* fix: empty device group query

* fix: empty device group query
Optimize it a bit to use the relationship.
2017-11-19 21:54:09 +00:00
d8c33463c6 fix: ldap auth typo (#7766) 2017-11-19 13:02:19 -06:00
6a6ae97084 docs: snmp config for Mac OSX (#7767) 2017-11-19 12:50:55 -06:00
3bd9920e38 docs: Continue to reorganize docs (#7762)
* docs: Continue to reorganize things
Make landing pages for /Installation, /API, etc.
Split API out into multiple docs
Properly use multi-level navigation
Add lower nav buttons (tops are bug so disable for now)
Add logo for fanciness
Refine index page a bit

* Improve API TOC layout

* Couple of fixes.

* Fix API/API-Docs, assumed it was at the right url.
2017-11-19 01:19:18 +00:00
c9728a1f71 refactor: Refactored authorizers to classes (#7497)
* Refactored authorizers to classes

* Merge changes for #7335

* ! fix php 5.3 incompatibility

* Update ADAuthorizationAuthorizer.php

* Fix get_user -> getUser

* Rename AuthorizerFactory to Auth, fix interface missing functions

* Add phpdocs to all interface methods and normalize the names a bit.

* Re-work auth_test.php AD bind tests to work properly with the new class.
Reflection is not the nicest tool, but I think it is appropriate here.
Handle exceptions more nicely in auth_test.php

* Restore AD getUseList fix

Not sure how it got removed

* fix auth_test.php style
2017-11-18 10:33:03 +00:00
38be66993f webui: Updated sensors overview header to be consistent with others (#7761)
* webui: Updated sensors overview header to be consistent with others

* added line break
2017-11-18 10:26:12 +00:00
03cba5b24d fix: discovery.nodes can sometimes be None when not master (#7747)
* Fix: discovery.nodes can sometimes be None when not master

* Update discovery-wrapper.py

* Address short TTL as root cause.
2017-11-18 10:09:21 +00:00
00a73a2432 Only warn if there is ipv6 disabled (#7757)
* Only warn if there ipv6 is disabled

* Change message & if condition
2017-11-18 01:36:06 -06:00
51a641c93b docs: added ports template to alert rules doc (#7763)
Ports utilization template
2017-11-17 19:33:35 -06:00
59625dc836 Remove the duplicated API TOC (#7759) 2017-11-17 15:04:49 +00:00
b42c7de486 refactor: Better default temperature sensor limits (#7754)
* fix: use typical Mikrotik operating range for default temperature sensor limits.

* fix: Use static offsets for default temperature limits. Previous scaling did not work well for small or negative values.
2017-11-17 14:07:50 +00:00
af27195746 feature: Script to collect port polling data and compare full walk vs selective port (#7626)
* Script to collect port polling data and compare full walk vs selective port polling.

* Select hosts. Colors. Percent. Units (s). Enable sel poll.

* Moved the colors. Disable selective if needed. Report set status and count.

* Style fix.

* CLI help.

* Docs.

* Style fix.

* Allow comma separated device_id list.
Better color formatting for output
Fix issue when using &$device by reference
2017-11-17 09:10:37 +00:00
0dab58c85c fix: Fixed incorrect mail validation (#7755) 2017-11-17 09:09:08 +00:00
de35e6e3a5 fix: notification read count doesn't decrement in menu bar (#7750)
* fix: notification read count doesn't decrement in menu bar

* also remove red color if we reach 0
2017-11-16 20:10:20 -06:00
e57feab499 docs: minor changes to validate doc (#7752) 2017-11-16 17:17:52 -06:00
c0295becff docs: fix for rule mapping (#7751)
accidentally put rule-mapping in hidden :(
2017-11-16 16:48:54 -06:00
b6e6ab53d4 fix: Fix typo in Cisco sensor disco (#7731) 2017-11-16 21:33:55 +00:00
c6a0c9d124 api: Added support for Oxidized asking for a single host (#7705) 2017-11-16 21:21:52 +00:00
37d005ebd8 fix: Do not add invalid Cisco senors seen in IOS 15.6(3)M1 (#7629)
* fix: Do not add invalid Cisco senors seen in IOS 15.6(3)M1

* Fixes

* More fixes..
2017-11-16 21:18:10 +00:00
aad821c207 docs: Added alert rule mapping doc (#7748)
* doc: create rule mapping doc

* Update mkdocs.yml

* Add files via upload

* Update Rule-Mapping.md
2017-11-16 19:58:58 +00:00
133313020f docs: Added how to add graph ports to dashboards (#7749)
* docs: added how to graph interface

added to the dashboard doc

* images for port graph

* Update Dashboards.md
2017-11-16 19:56:31 +00:00
864ee84e80 fix: enexus do not disable the os discovery module (#7745)
and other modules it is pointless to disable
2017-11-16 00:31:14 -06:00
47a36b1ce6 fix: Fixed bgpPeers_cbgp discovery for junos (#7743) 2017-11-15 23:29:46 +00:00
22f4974eb6 docs: Add sudo guidelines for Proxmox (#7739) 2017-11-15 20:52:48 +00:00
ae1cb5e6c4 docs: Add sudo suggestion for SMART monitoring (#7738) 2017-11-15 20:51:41 +00:00
600b2f3324 device: Added additional APC rPDU2 Sensors (#7490)
* feature: Improve APC rPDU2 Sensor Discovery

* Move to yaml

* Skip state sensors that are not there..
2017-11-15 20:10:08 +00:00
e6ba1ee79c Merge pull request #7741 from murrant/two_gets_getHostOS
fix: revert to two gets for sysDescr and sysObjectID
2017-11-15 18:54:30 +01:00
e4a775a9cd docs: fix for VM images doc. (#7740)
* docs: fix for VM images doc. 

I messed up the backticks :(

* Update CentOS-image.md
2017-11-15 11:28:28 -06:00
d59695f08e fix: revert to two gets for sysDescr and sysObjectID
Some devices don't like asking for them in one get for some reason.
2017-11-15 11:26:25 -06:00
e563931a03 docs: VM images recommended user update (#7737)
* docs: VM images recommended user update

Added note for the user to update LibreNMS.
and added Community Forum

* docs: VM image doc

recommend user to update.

* Update CentOS-image.md

requested changes made.

* Update Ubuntu-image.md

requested changes made.
2017-11-15 09:33:19 -06:00
5443112dbb device: Added sensor state support for HWg STE2 and added new logos (#7729)
* device: Changing HWg STE2 to YAML and adding new logos

* small logo change

* add again all modules

* change indexes

* update index for state
2017-11-15 11:04:07 +00:00
52b338da76 docs: Added URL to shell script for DHCP Stats (#7736) 2017-11-15 08:49:03 +00:00
5af3a4d6f2 Update Configuration.md (#7732) 2017-11-15 08:14:40 +00:00
9a03b24457 fix: Fixed Brocade ironware processor precision (#7730) 2017-11-15 08:13:23 +00:00
ec2256c350 docs: Install Docs Update for min PHP ver (#7630)
* docs: Install Docs Update

* Some changes..
2017-11-15 08:12:14 +00:00
ac6341671d device: Added humidity sensors for hwg-ste devices (#7728) 2017-11-15 08:08:45 +00:00
3c94ce7da0 fix: basic input validation for screen width and height (#7713) 2017-11-14 09:42:06 -06:00
00fc5bf0e8 API: Validate columns parameter against fields in table (#7717)
* Validate columns parameter against fields in table

* Removed unused return var

* Replace schema check from DB with yaml

* Style fixes
2017-11-14 09:15:12 -06:00
64aed60f09 newdevice: Add OS detection and temperature sensor support for Asentria SiteBoss (#7655)
* Initial commit. OS definition/polling, temp sensor discovery/polling, MIBs, logo, snmprec test

* replaced logo with 32x32, shortened sysObjectID in definitions, modifided sensor discovery

* fix syntax error caught by inspection

* requested chases to siteboss temp discovery file, removal of siteboss temp polling file

* converted temp sensor to yaml and added better support to skip values

* updated to use pre_cache with index
2017-11-14 08:35:32 -06:00
8e61c6394a feature: Added support for setting php memory_limit in config.php (#7704) 2017-11-14 08:17:01 -06:00