Commit Graph

14207 Commits

Author SHA1 Message Date
FTBZ
23389de928 Readd PA Active Session graph (#7517) 2017-10-19 08:01:44 +01:00
Florian Beer
ab1658e90a webui: Show only authorized services in availability map (#7498)
* Show only authorized services in availability map

Up until now, normal users could see all configured services in availability map. This PR checks for permissions first, before displaying the items. I haven't looked at the dashboard widget yet, maybe it needs similar changes.

* Update to use userlevel helper function
2017-10-19 07:49:07 +01:00
FTBZ
163d0b4f88 fix: Errors in the documentations for CentOS 7 (#7510)
* fix: Erros in the documentations for CentOS 7

* fix: Erros in the documentations for CentOS 7

* fix: Erros in the documentations for CentOS 7

* fix: Erros in the documentations for CentOS 7

* Some corrections to make docs work as intended.

* re-add httpd_execmem for nginx
2017-10-18 14:38:56 -05:00
FTBZ
fc6386bf5f fix: Add missing MIB for Palo Alto Networks firewall (#7509)
* fix: Add missing MIB for Palo Alto Networks firewall

* fix: MIBs directory
2017-10-18 13:34:53 -05:00
Neil Lathwood
1205f12f10 security: Stop accepting other variables in install that we do not use (#7511) 2017-10-18 13:19:16 +01:00
Benedict Law
3dab275f14 Fixed poller-wrapper.py so it can connect to database (#7507) 2017-10-18 08:59:36 +01:00
ZedTheYeti
ee5c223669 Supply MySQL database hostname when using Unix sockets to connect (#7471)
* Supply MySQL database hostname when using Unix sockets to connect

* Pass unix_socket parameter when db_socket is set

* Set db_host to localhost when db_socket is set
2017-10-17 21:55:41 -05:00
Chris A. Evans
04bb65b762 newdevice: Added Brocade IronWare interface dBm sensor support (#7434)
* Added IronWare iface dBm sensor and related OID pr~e-cache

* fixed syntax violations

* added return_num() function and modified ironware dbm sensor to use it

* Update functions.php

* Update ironware.inc.php
2017-10-17 17:36:49 +01:00
tomarch
c643d13cb5 newdevice: Added vpn state and flash usage for zywall usg (#7500) 2017-10-17 17:09:52 +01:00
FTBZ
89ff05ebea newdevice: Added firewall graphs for Palo Alto Networks firewall (#7483)
* Features: Add firewall graphs for Palo Alto Networks firewall

* Features: Add firewall graphs for Palo Alto Networks firewall

* Update db_schema.yaml
2017-10-17 12:42:13 +01:00
Tony Murray
96ccc49026 security: Escape sql credentials during install (#7494) 2017-10-17 11:49:56 +01:00
Martin Zatloukal
6e379bfbbd newdevice: Added support for Alcoma wireless devices (#7476)
* New os Alcoma

* New os Alcoma

* Update AlcomaAlmp.php
2017-10-17 08:57:31 +01:00
Neil Lathwood
cdf31c47e1 Revert "bug: fail isPingable if fping errors" (#7496)
* Revert "fix: Fixed clickatell alert transport (#7446)"

This reverts commit 9774acd055.

* Revert "newdevice: Added support for Eaton ATS devices (#7448)"

This reverts commit 1318e5871c.

* Revert "newdevice: Updated Zhone MXK detection (#7488)"

This reverts commit 81667b9e20.

* Revert "docs: Added HipChat V2 WebUI Config Example (#7486)"

This reverts commit a31eaa9839.

* Revert "fix: Fail isPingable if fping errors (#7426)"

This reverts commit 1998845f06.
2017-10-16 11:56:47 +01:00
Neil Lathwood
9774acd055 fix: Fixed clickatell alert transport (#7446)
* fix: Fixed clickatell alert transport

* Set a default value for two config columns to ensure mysql strict

* fixed schema

* fixed schema
2017-10-15 23:49:51 -05:00
tomarch
1318e5871c newdevice: Added support for Eaton ATS devices (#7448)
* eaton-ats: add definition, voltage, frequency and state

* eaton-ats: missing snmprec file

* fix some syntax error

* fix some syntax error, again

* exclude eaton-ats from eaton-mgeups definition

* change eaton-ats definition

* move state and output voltage to yaml syntax

* Update eaton-mgeups.yaml
2017-10-15 21:06:11 +01:00
Søren Rosiak
81667b9e20 newdevice: Updated Zhone MXK detection (#7488)
* newdevice: Improve Zhone MXK Discovery

* Fix test name
2017-10-15 21:02:39 +01:00
Søren Rosiak
a31eaa9839 docs: Added HipChat V2 WebUI Config Example (#7486) 2017-10-15 21:02:10 +01:00
Daniel Preussker
1998845f06 fix: Fail isPingable if fping errors (#7426) 2017-10-15 20:29:08 +01:00
Ryan Medlyn
62867a6661 webui: Allow user to display ok/warning/critical alerts only (#7484)
* Allow user to display ok/warning/critical alerts only

* Update alerts.inc.php

* Update alerts.inc.php
2017-10-15 19:50:55 +01:00
Tony Murray
2f2234da70 fix: cdp matching incorrect ports (#7491)
Need either remote device_id or mac_address to find a port, otherwise, we might match an incorrect port.
2017-10-15 19:49:28 +01:00
Mihai Petracovici
348f5012b1 api: Added sysname as filtering group for oxidized (#7485)
* Add sysname as filtering group for oxidized

* Updated Oxidized docs with new filtering option
2017-10-15 19:37:20 +01:00
Martin Zatloukal
f48cff0f1b newdevice: Added support for Racom RAy devices (#7466) 2017-10-15 19:31:44 +01:00
Søren Rosiak
a9ab96e83f feature: Improve Device Neighbour WebUI (#7487) 2017-10-15 09:26:01 -05:00
Neil Lathwood
a2de3ff681 newdevice: Added detection for SmartOptics T-Series devices (#7433) 2017-10-14 14:45:57 +02:00
kkrumm1
83e85a5478 docs: Alerts glues (#7480)
* docs: Alerts

added the note for or `||` for `OR` to use macro.

* docs: alert glues

fixed typo

* docs: alert glues

rearranged some words.
2017-10-13 21:46:05 +01:00
Neil Lathwood
6b44ac784a newdevice: Added support for Huawei OceanStor devices 2017-10-12 19:55:25 +02:00
Neil Lathwood
f61dfa3bcd newdevice: Added more support for Avocent devices (#7444)
* newdevice: Added more support for Avocent devices
2017-10-12 19:54:55 +02:00
Felix Eckhofer
26c9a45ca6 fix: Allow Options in .htaccess to be merged (#7472)
Apache will replace `Options` from the server config with new ones
provided in `.htaccess` unless all of the parameters start with either
`+` or `-`. This effectively disables `+ExecCGI` and others that might
be needed for proper operation.
2017-10-12 09:51:53 +00:00
gitwuethrich
8f282ad60e docs: Update Callback-Stats-and-Privacy.md (#7475)
As @murrant suggested, I added the port count and changed from total to count.
2017-10-12 09:50:09 +00:00
Tony Murray
48afb3258c Add nobulk documentation (#7478) 2017-10-11 20:02:18 -05:00
Yunchih Chen
82fb20cc19 feature: Configurable 95th percentile (#7442)
See issue #7406 for detail.
2017-10-11 13:21:11 +01:00
Tony Murray
46ee1b377c fix: snmp_get_multi returns no data if the oid doesn't contain a period (#7456) 2017-10-11 08:10:04 +01:00
Tony Murray
3d41019b61 docs: improve CentOS 7 and Ubuntu 16 rrdcached installation instructions (#7473)
I tried to get these to as few of steps as possible.
Ubuntu starts the service during installation, so it won't have proper permissions/settings until after you restart it.
CentOS doesn't need epel (it doesn't have rrdtool in it) or permissions fixes.  Move run files to /run directory to save a lot of steps and be similar to other platforms. Skipping the touch allows us to skip daemon-reload
2017-10-11 08:07:08 +01:00
sfini
3381b401f9 newdevice: Added Support for ApsoluteOS / Defense Pro Hw (#7440)
* Add Support for ApsoluteOS  / Defense Pro Hw

* apsoluteos.snmprec

* Create apsoluteos.yaml

* Create apsoluteos.inc.php

* Create apsoluteos.inc.php

* Create test

* mibs

* Delete test

* Update apsoluteos.yaml

* Update apsoluteos.inc.php

* Update apsoluteos.inc.php

* Create radwaremib.txt

* Update apsoluteos.yaml

* Update apsoluteos.yaml

* Delete BGP4-MIB.mib

* delete mib dir

delete

* CHANGE NAME
2017-10-10 14:18:47 +01:00
gitwuethrich
ea79515607 Some other formulation stuff (#7459)
Hi again
1. was -> way (just the typing error i guess)
2. i had to read the sentence 3 times until i got the meaning, so i changed it a little so it makes better sense to me (i hope you think so as well)
3. you -> your
2017-10-10 13:35:37 +01:00
gitwuethrich
ea703e8c7b Update Agent-Setup.md (#7462)
1. reformulation, because i thought it's easier to read like this, the other version sounds strange to me...
2017-10-10 13:35:07 +01:00
TomEvin
b45b2be695 Update hpe-ilo.inc.php (#7465) 2017-10-10 13:31:34 +01:00
gitwuethrich
66d2459bd4 Update Applications.md (#7461)
1. added "to" (was just what i noticed when i looked into the page, didn't read the whole document though)
2017-10-10 11:18:39 +01:00
gitwuethrich
a0ba873db1 Update Callback-Stats-and-Privacy.md (#7460)
Hi again
1. deleted 1 "total" before BGP (i hope this is what was meant) and switched to "total devices" accordingly, so it isn't once "... total" and then "total ..."
2. bgp -> BGP (doesn't really matter, but abbreviations are usually uppercase)
3. added a "we"... at first it sounded like "you shouldn't ask us" or something like that, with the "we" it's clearer in my opinion
2017-10-10 11:18:21 +01:00
gitwuethrich
b46735b9c2 docs: Some changes in formulation (#7458)
1. "is ..." -> "has to do with ..."
2. reformulation of the sentence: it wasn't complete, because after "Thanks to one of our users, Dan Brown ..." there was just "additional information" about Dan Brown but not what we actually have thanks to him. I think this formulation makes it a little bit easier to understand the sentence
3. cpu architect -> CPU architecture (i thought it was the common way to state it. Also, abbreviations are generally uppercase)

Hope this helps :)
2017-10-10 07:58:28 +00:00
gitwuethrich
b3185b792e docs: would't -> wouldn't (#7457) 2017-10-10 07:57:45 +00:00
gitwuethrich
e25f473a80 Sentence correction (#7450)
... with via ... doesn't really make sense in my opinion. I deleted the "with", because I thought the original meaning was "via", but I guess you could also go for the "with" and delete the "via". This doesn't affect the meaning of the sentence at all and I think people still get the meaning of the sentence. I just think it's fitting for this project when all documents are as close to perfect as possible ;)
2017-10-09 20:32:28 +01:00
TomEvin
c8b677779d newdevice: Added HPE ILO4 storage, memory and additional sensors
* HPE ILO4 enhance

Added Storage, Memory pools, new status (Array Controller, Logical Drive)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete hpe.ilo.inc.php
2017-10-09 20:24:20 +01:00
tomarch
c927e6d68c newdevice: Updated Zyxelnwa to add storage, mempools and wireless support
* zyxelnwa: add storage, mempools and wireless

* zyxelnwa: add storage, mempools and wireless

* Update Zyxelnwa.php

* zyxelnwa: add MIB and use snmp-get
2017-10-07 21:17:51 +01:00
Tony Murray
f92449e637 fix: issues with recent discovery refactor (#7437)
fix find_port_id() deleting all variables when device_id was given
improve find_port_id() to find ports where only a number is given
fix orphan deletion count
fix insert and update of links with strings where int are required
2017-10-06 08:53:16 -05:00
Tony Murray
a2b9342f05 fix: improve accuracy of is_valid_hostname() (#7435)
* fix: improve accuracy of is_valid_hostname()
fixes discovery code attempting to add discover invalid dns names
the old code allowed some invalid hostnames, this is more thorough
add tests

* fix merge error
2017-10-05 16:04:17 -05:00
Frank Petrilli
b89ed26852 newdevice: Added additional detection for Dell Equallogic devices
* Add support for alternate Equallogic SNMP sysObjectId

* Widen scope, add unit test

* Revert "Widen scope, add unit test"

This reverts commit 9486f06dd1.

* Revert erroneous commit, include changes

* Made changes requested by @laf
2017-10-05 19:53:13 +01:00
Tony Murray
503500f978 feature: AD now supports nested groups (resubmit #7175) (#7259)
* feature: AD support nested groups (resubmit #7175)
Don't let groups with periods in the name cause issues.

* Merge #7245 into this PR

* Capture Exceptions in get_userlevel()

* Throw generic error if auth_ad_debug is not enabled to prevent information leak.
2017-10-04 21:31:17 +01:00
Tony Murray
b6964ab3d6 docs: Re-organize install docs (#7424)
Try to group things that go together
prevent repeat actions such as running yum/apt
The only reason to return to command line after install.php is to check validate.php.
(The future is to move most validation to the web ui)
2017-10-04 21:18:59 +01:00
tomarch
931bfce011 newdevice: Added detection for technicolor TG650S and TG670S (#7420)
* update zywall.yaml ; use sysDescr_regex_except

* Cleanup technicolor

* newdevice: technicolor TG650S and TG670S

* Update technicolor.svg

* add technicolor.svg compressed

* Update tgos.yaml
2017-10-04 21:16:00 +01:00