Tony Murray
8d1b7d5493
fix: fix marking invalid ports as deleted in discovery ( #6665 )
...
There seem to be other issues in this file, such as $ports_l is never defined...
2017-05-17 22:25:47 +01:00
jackson-tim
390dd0bece
alerting: Added HipChat v2 API + Color Changes ( #6669 )
...
Added support for the HipChat V2 API (it detects if "v2" is in the API URL) and also changed the default coloring so any non-recovery/reboot messages get colored as red.
2017-05-17 22:20:34 +01:00
Søren Rosiak
b06176aa17
newdevice: Added basic Cisco SCE detection ( #6666 )
...
* newdevice: Basic Cisco SCE Support
fix #6630
* add os polling
* add group
2017-05-17 22:19:10 +01:00
Søren Rosiak
8252553eaa
newdevice: Updated SonicWALL Discovery ( #6668 )
...
fix #6667
2017-05-17 22:18:27 +01:00
Neil Lathwood
bfa26b8634
fix: Revert to using addslashes() for template parsing in alerts ( #6661 )
...
* fix: Revert to using addslashes() for template parsing in alerts
* Update alerts.inc.php
2017-05-17 20:11:54 +01:00
Tony Murray
21d205b379
fix: Fix typo ( #6664 )
2017-05-17 21:06:36 +02:00
Marcus Pink
26c17de7bb
newdevice: Updated Lancom LCOS detection ( #6651 )
...
* better Lancom LCOS detection, added LCOS-MIB
* added copyright, fixed mib placement, fixed definition
2017-05-17 08:03:23 +01:00
Neil Lathwood
e223ec3ff2
newdevice: Added support for Geist PDU ( #6646 )
2017-05-16 23:39:35 -05:00
Søren Rosiak
c40b762e23
feature: Update Juniper MSS Support ( #6565 )
...
* feature: Improve Juniper MSS Support
Add the following sensors
- Processor
- Mempool
- State
* Use snmp_get_multi
* updated mibs dir
2017-05-16 22:22:46 +01:00
Søren Rosiak
4c59e6cf0a
newdevice: Updated Barracuda NG Firewall Detection ( #6658 )
...
fix #6653
2017-05-16 22:13:19 +01:00
Marcus Pink
5b9623d8d4
newdevice: Added detection for HPE RT3000 UPS ( #6638 )
...
* newdevice: HPE RT3000 UPS
* newdevice: HPE RT3000 UPS
* changed polling to snmp_get_multi_oid, fixed divisor for load and voltage
* fixed blank line in functions.inc.php
2017-05-16 21:42:10 +01:00
Tony Murray
155d9de8dc
fix: two-factor auth and restore some auth speed regressions ( #6649 )
2017-05-15 23:13:07 -05:00
Tony Murray
683a10e723
fix: Improve authentication load time and security ( #6615 )
...
* fix: minimize session open time
page/graphs speedup part 2
Write close the session as soon as we no longer need to write to it. Prevents the session from blocking other requests.
Do not run through full authentication functions if the session is already authenticated.
Removes password from the session as well as some items to prevent session fixation from #4608 .
WARNING: This will cause issues for ad/ldap users who do not have a bind user configured!
* Do no erase username when using cookie auth.
Properly close the session in ajax_setresolution.php
* write close the session as soon as possible in ajax_setresolution.php
* Remove session regeneration. It is not compatible with the current code and would require more changes.
* Totally refactor authentication. Extract code to functions for re-use and improved readability
* Use exceptions for authentication and error logging
Tested: mysql, ad_auth with and without bind user
* fix a couple scrutinizer issues
* fix reauthenticate in radius
2017-05-15 22:18:23 -05:00
Tony Murray
ebdfbd00d8
fix: validate prefer capabilities over suid for fping ( #6644 )
...
* fix: validate prefer capabilities over suid for fping
* fix logic
2017-05-15 23:45:02 +01:00
Neil Lathwood
612186dabf
alerting: Added option to enable/disable option for sending alerts to normal users ( #6590 )
...
* alerting: Added option to enable/disable option for sending alerts to normal users
* Update notifications.rss
* added missing sql
* Fix schema
* Update notifications.rss
2017-05-15 23:35:26 +01:00
Tony Murray
74c7611bca
newdevice: Make TiMOS detection more generic, rebrand to Nokia ( #6645 )
...
Includes all product lines SR, SAS, ESS
2017-05-15 23:07:14 +01:00
Neil Lathwood
4d0832e412
refactor: Updated vlan discovery to support JunOS ( #6597 )
2017-05-13 23:06:14 +01:00
Arzhel Younsi
073b444d4a
alerts: Remove prettifying of mysql query in alerts ( #6614 )
...
* Pretty mysql for alerts breaks regex rules
Fix for issue #6613
* Remove useless replacements
2017-05-13 22:32:41 +01:00
Tony Murray
595e75bd14
refactor: modest speedup to database config population ( #6636 )
...
use references to assign values into the config array more efficiently, prevents a lot of memory churn caused by the recursive approach
2017-05-13 19:54:53 +01:00
Neil Lathwood
1ce58cd33d
feature: Added functionality to support recording status info ( #6628 )
...
* feature: Added functionality to support recording status info
* updated phpdoc block
2017-05-13 06:55:38 -05:00
Neil Lathwood
0338734fe7
feature: Added script (scripts/test-template.php) to test alert templates ( #6631 )
...
* feature: Added script (scripts/test-template.php) to test alert templates
* moved remaining functions, fixed php 5.3 and include dir
* added docs on use for test-template script
2017-05-13 06:46:08 -05:00
Tony Murray
2dd44fdfdf
refactor: move default alert rules into the collection ( #6621 )
...
* refactor: move default alert rules into the collection
Also adds the wireless rules to the default set.
* Added additional defaults to extra
* Fix up the extra value
Also, missed `rule` column when creating default rules
2017-05-13 09:24:47 +01:00
timando
c835708689
docs: Add instructions for opening firewall on CentOS ( #6605 )
...
* Add instructions for opening firewall
* Allow access through the firewall
2017-05-13 09:21:19 +01:00
Maciej Kaczkowski
cef1b723f8
newdevice: Added support for Terra sti410C ( #6598 )
...
* newdevice: Added support for Terra sti410c
* newdevice: tests for Terra sti410c
* renamed sti410c to terra, added support for sti440 and recognition for sda410C, sta410C, saa410C, sdi410C, sai410C, ttd440, ttx410C, tdx410C, sdi480
* fixed terra.svg and access to sysDescr
2017-05-13 09:15:23 +01:00
Aldemir Akpinar
039bf0b961
webui: Fixed Recent events card is misplaced for printer devices ( #6637 )
2017-05-12 13:28:21 +01:00
Nick Peelman
cbb67b35d6
Remove a leading space that broke some code rendering ( #6632 )
2017-05-11 15:42:47 +01:00
Neil Lathwood
528a14995a
webui: Updated link to peeringdb to use asn ( #6625 )
2017-05-10 18:41:10 -05:00
Tony Murray
b6e18db766
fix: page/graph load speed: part 1 ( #6611 )
...
* fix: page/graph load speed: part 1
Speed up load_all_os() by caching the full $config['os'] array
Function time goes from 1.13648s -> 0.00073s
The cache is updated during discovery, but only if it is >22hrs old.
Additionally, the cache is not used and a full yaml load is forced if the cache is >24hrs old.
The cache time is controlled by $config['os_def_cache_time'], I don't see any reason anyone would change that time.
* Delete Session.php
* Include the cache directory.
2017-05-10 08:57:10 +01:00
Olivier Beytrison
d60c43ed8d
fix: Remove escaped \ in Cisco voice graphs ( #6624 )
2017-05-10 08:34:07 +01:00
Olivier Beytrison
472d15a639
fix: Fixed radius debug mode ( #6623 )
2017-05-10 08:32:35 +01:00
Tony Murray
fe25e207ab
Update yaml, remove php 5.4 array syntax from jpgraph. ( #6620 )
2017-05-10 08:21:06 +01:00
Olivier Beytrison
b0c1885d73
fix: Actives PRI calls on Cisco can be an array ( #6607 )
...
* actives PRI calls can be an array
* graph when there's at least 1 line, not active calls
2017-05-09 07:57:02 +01:00
Neil Lathwood
a96335ecaf
newdevice: Added support for Cisco SRP devices ( #6600 )
...
* newdevice: Added support for Cisco SRP devices
* added snmprec file
2017-05-08 22:01:41 +01:00
Tom van Leeuwen
af9954610f
fix: Sanitized nginx application output for ubuntu-16.04
2017-05-08 20:07:37 +01:00
Tony Murray
379176ceac
fix: MySQL app graphs with rrdcached ( #6608 )
...
Do not send -1 values when we set the minimum as 0. Send the proper U for non-values.
fixes : #6223
2017-05-08 19:57:51 +01:00
Tony Murray
e67708d1f7
fix typo ( #6604 )
2017-05-06 12:51:21 -05:00
Tony Murray
a5ee8a3ce5
docs: Add all current wireless types. ( #6603 )
...
* Fix missing wireless sensors docs
* WIP: moving all legacy polling to wifi module
2017-05-06 11:52:36 -05:00
Tony Murray
9f7b6ddaf2
Fix missing wireless sensors docs ( #6602 )
2017-05-06 10:16:06 -05:00
Neil Lathwood
acaa29c583
webui: Disabled settings button for Shared (read) dashboards if you are not the owner ( #6596 )
2017-05-05 16:22:01 -05:00
Neil Lathwood
868fe44390
security: Remove possibility of xss in Oxidized and RIPE searches ( #6595 )
2017-05-05 16:16:39 -05:00
Neil Lathwood
6734e84382
feature: Added ability to whitelist ifDescr values from being ignored with good_if ( #6584 )
...
* feature: Added ability to whitelist ifDescr values from being ignored with good_if
* added ras to enterasys yaml
2017-05-05 15:18:33 -05:00
Tony Murray
50d31ad00b
fix: Restore access to existing wireless graphs ( #6593 )
2017-05-05 19:39:23 +01:00
Tony Murray
9d0b35187e
webui: split apart max and min sensor limits, allows sorting ( #6592 )
2017-05-05 18:18:05 +01:00
Svennd
ef3a163db8
docs: added seconds is the time unit. ( #6589 )
2017-05-05 09:46:00 -05:00
NerdBlender
a368a73825
newdevice: Added 3 Phase APC UPS Support issue #2733 & #5504 ( #5558 )
...
* Added 3 Phase APC UPS Support issue #2733
* Added 3 Phase APC UPS Support issue #2733 - v2
* Added 3 Phase APC UPS Support issue #2733 - v3
* Added 3 Phase APC UPS Support issue #2733 - v3
* Added 3 Phase APC UPS Support issue #2733 - v3.1
* Added 3 Phase APC UPS Support issue #2733 - v3.2
* Added 3 Phase APC UPS Support issue #2733 - v3.3
* Added 3 Phase APC UPS Support issue #2733 - v3.4
* Added 3 Phase APC UPS Support issue #2733 - v4
* Added 3 Phase APC UPS Support issue #2733 - v4.1
* Update apc.yaml
2017-05-05 13:16:46 +01:00
Neil Lathwood
34c35f3627
webui: Updated remaining display options where we do not show sysName if hostname is IP ( #6585 )
...
* webui: Updated remaining display options where we do not show sysName if hostname is IP
* renamed function + simplified
2017-05-05 06:25:58 -05:00
Neil Lathwood
1135bb9146
updated pbin.sh to be inline with other scripts and use env bash ( #6583 )
2017-05-05 07:52:52 +01:00
Tony Murray
101aa13d43
Set airport overview graphs ( #6587 )
2017-05-05 06:56:15 +01:00
Tony Murray
6f99cb6d69
tests: test each db schema file for proper format ( #6580 )
2017-05-04 21:14:14 +01:00
Tony Murray
422b2c8ae1
fix: issue with wireless sensors when there are too many oids ( #6578 )
...
fixes: 6560
2017-05-04 19:56:25 +01:00