14424 Commits
Author SHA1 Message Date
Kevin Krummandlaf 2b11c84bb9 docs: Minor changes and fixes to Alert Rules (#7789)
* docs: minor changes and fixes to Alert Rules

* Update Rules.md

* Update Rules.md
1.34
2017-11-25 10:23:13 +00:00
Tony MurrayandNeil Lathwood 9c0a74debb docs: Don't suggest setting distributed poller name incorrectly (#7790) 2017-11-24 09:17:11 +00:00
Martin ZatloukalandNeil Lathwood 8c8a2e05c6 feature: Added additional sensors for ups-nut
* Add db schema for ups-nut alerting

* Add db schema for ups-nut alerting

* Add db schema for ups-nut alerting

* Add db schema for ups-nut alerting
2017-11-23 20:37:05 +00:00
Tony MurrayandNeil Lathwood 9113f81272 fix: Allow discovery to check if devices are down before skipping (#7780)
* fix: allow discovery to check if devices are down before skipping
We could also exclude snmp_disable devices from SQL query, worthwhile?

* also skip ping only devices
2017-11-23 08:31:15 +00:00
Tony MurrayandNeil Lathwood 257a314fca feature: Validate session directory is writable (#7784) 2017-11-23 08:29:10 +00:00
Neil LathwoodandTony Murray b45302bf70 newdevice: Updated Checkpoint Gaia detection and added storage (#7656)
* newdevice: Updated Checkpoint Gaia detection and added storage

* update db_schema

* added murrants discovery options

* Rename 216.sql to 217.sql
2017-11-22 23:28:33 -06:00
Kevin KrummandGitHub 6fe5ac60d6 docs: rules doc small changes (#7787)
some minor movements to the alert rules doc.
2017-11-22 19:37:39 -06:00
Kevin KrummandGitHub 381f4b0cdf docs: fix link clean options (#7786)
well, the link didn't work as planned. :(
2017-11-22 19:04:15 -06:00
Kevin KrummandGitHub 998a797bcd docs: added links/alerts/Cleanup Options (#7785)
* docs: added link to the alerts collection

* docs: added link to clean options

added link under setup to help users locate Clean options.
2017-11-22 18:34:10 -06:00
Tony MurrayandNeil Lathwood cfe4cecc8e Precache undefined variable $array_data (#7781)
Not sure of the implications of this but I'm pretty sure it should be $oid
2017-11-22 21:50:22 +00:00
Tony MurrayandNeil Lathwood 0dee809607 fix: Discovery os changes weren't properly reflected if os changed (#7779) 2017-11-22 21:48:28 +00:00
Tony MurrayandNeil Lathwood 6371e47fea fix: Fixed precache data (#7782)
Missed one pre-cache data layout
fixes: #7777
2017-11-22 21:42:19 +00:00
Tony MurrayandNeil Lathwood 67e83cc2ea fix: Reduce chance of incorrect os detection (#7776)
I think using the strict check was causing some of our odd incorrect os detection.  The previous php code was not using a strict check, so revert to that.
2017-11-22 08:18:55 +00:00
Tony MurrayandNeil Lathwood 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
Neil LathwoodandTony Murray 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
Tony MurrayandNeil Lathwood 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
Kevin KrummandGitHub 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
Tony MurrayandGitHub 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
Neil LathwoodandTony Murray 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
Richard LawleyandNeil Lathwood c56f04e1e2 fix: Set API log start at 0 rather than 1(#7772) 2017-11-20 15:31:21 +00:00
Tony MurrayandGitHub 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
Tony MurrayandGitHub e205c93c07 remove extra backtick (#7770) 2017-11-19 20:53:25 -06:00
Kevin KrummandTony Murray 8a4a5b2987 docs: added Web UI rename device. (#7769) 2017-11-19 20:20:02 -06:00
Tony MurrayandNeil Lathwood 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
Tony MurrayandGitHub d8c33463c6 fix: ldap auth typo (#7766) 2017-11-19 13:02:19 -06:00
Kevin KrummandGitHub 6a6ae97084 docs: snmp config for Mac OSX (#7767) 2017-11-19 12:50:55 -06:00
Tony MurrayandNeil Lathwood 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
mcq8andNeil Lathwood 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
Neil LathwoodandGitHub 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
Paul BlasquezandNeil Lathwood 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
SetiandTony Murray 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
Kevin KrummandGitHub 51a641c93b docs: added ports template to alert rules doc (#7763)
Ports utilization template
2017-11-17 19:33:35 -06:00
Tony MurrayandNeil Lathwood 59625dc836 Remove the duplicated API TOC (#7759) 2017-11-17 15:04:49 +00:00
Tom HaywardandNeil Lathwood 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
Tony MurrayandNeil Lathwood 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
Tony MurrayandNeil Lathwood 0dab58c85c fix: Fixed incorrect mail validation (#7755) 2017-11-17 09:09:08 +00:00
Tony MurrayandGitHub 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
Kevin KrummandGitHub e57feab499 docs: minor changes to validate doc (#7752) 2017-11-16 17:17:52 -06:00
Kevin KrummandGitHub c0295becff docs: fix for rule mapping (#7751)
accidentally put rule-mapping in hidden :(
2017-11-16 16:48:54 -06:00
Søren RosiakandNeil Lathwood b6e6ab53d4 fix: Fix typo in Cisco sensor disco (#7731) 2017-11-16 21:33:55 +00:00
Neil LathwoodandGitHub c6a0c9d124 api: Added support for Oxidized asking for a single host (#7705) 2017-11-16 21:21:52 +00:00
Søren RosiakandNeil Lathwood 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
Kevin KrummandNeil Lathwood 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
Kevin KrummandNeil Lathwood 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
Tony MurrayandGitHub 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
Neil LathwoodandGitHub 47a36b1ce6 fix: Fixed bgpPeers_cbgp discovery for junos (#7743) 2017-11-15 23:29:46 +00:00
Francesco M. TaurinoandNeil Lathwood 22f4974eb6 docs: Add sudo guidelines for Proxmox (#7739) 2017-11-15 20:52:48 +00:00
Francesco M. TaurinoandNeil Lathwood ae1cb5e6c4 docs: Add sudo suggestion for SMART monitoring (#7738) 2017-11-15 20:51:41 +00:00
Søren RosiakandNeil Lathwood 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
Søren RosiakandGitHub 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