Commit Graph

14914 Commits

Author SHA1 Message Date
Tony Murray
9152becec7 refactor: Moved AD user and group filter functions into ActiveDirectoryAuthorizer (#8545) 2018-04-11 10:06:46 +01:00
Atroskelis
6a26ac6dac docs: Updated Oxidized.md to show use of arrays (#8547)
Wanted to clarify how the array in ignore_types and ignore_os works cause i personally was dense and added multiple lines which overwrote themselves.
2018-04-11 09:24:18 +01:00
Serphentas
bc5b0f84cc docs: Added doc for linux zfs application setup (#8546) 2018-04-11 09:15:04 +01:00
Brock Alberry
5d64c5da6d webui: Update Buffalo logo to new style and svg (#8539)
* Delete buffalo.png

* Add files via upload

* remove height/width and compressed
2018-04-10 21:13:53 +01:00
Tony Murray
a21c0bccc4 fix: Fixed device group rule suggest, Auth before init (#8538)
* Fix Auth before init

* Fix Auth before init
2018-04-10 16:56:22 +01:00
djamp42
d1ad2696d1 device: Added CPU Information for Ruckus Wireless Type (#8529)
* Add CPU Information for Ruckus Wireless Type

Tested on ZD1100 & ZD1200

* Create ruckuswireless_zd1100.json

* Create ruckuswireless_zd1200.json
2018-04-10 15:36:35 +01:00
Søren Rosiak
7e4bae26ca device: Improve DCN detection (#8531)
* newdevice: Improve DCN support

fix #8452

* Updated dcn-software tests
2018-04-09 21:45:41 +01:00
Wheel
c7827b6652 docs: Updated Graylog.md for 2.4 version (#8517)
* Update Graylog.md

Updatet to current version of graylog. And default ports

* Update Graylog.md
2018-04-09 20:51:28 +01:00
Aldemir Akpinar
b209f0894d fix: Fixed cyberoam polling bug (#8530) 2018-04-09 20:38:26 +01:00
theherodied
2b093323f6 AeroHive added AP Env Temp. (#8520)
* Added AP Env Temp.

* Changed to yaml

* Corrected yaml

* Added over graphs

* Updated json test data.
2018-04-09 13:17:00 -05:00
Tony Murray
773ee96240 refactor: Restrict storage discovery walks to os (#8528)
leave hrstorage and ucd unrestricted
Not sure on the ilo, but I think linux and windows servers can return data
2018-04-09 13:54:14 +01:00
theherodied
313b46236e Added Tegile Storage OS detection, storage pool, and project storage. (#8464)
* added Tegile Storage 001

* Tegile fixed whitespace 002

* Added tegile.snmprec 003

* Added TEGILE-MIB

* Tried to fix svg size issue

* Tried to fix svg size issue 005

* Tried to fix svg size issue 006

* Trying dedup 007

* Revert "Trying dedup 007"

This reverts commit b30a3edb49.

* Tried to fix svg size issue 009

* Tried to fix svg size issue 010

* Reverted changes and created new branch

* changed tegile to intelliflash

* changed tegile to intelliflash

* changed tegile to intelliflash 002

* added intelliflash snmprec

* added Json test data

* Update intelliflash.json

* Redid logo

* Update tegile.svg

* changed to intelliflash1. intelliflash2 will come later.

* removed previous commit I made

* Adding project usage

* simplified project calculations

* simplified project calculations

* simplified project calculations

* simplified project calculations

* Cleaned up comments

* Added disco OS if check and removed network over graph

* chenged os detection to sysObjectID. Fixed disco if check.

* Updated json test file

* Fixed intelliflash-pr storage units.

* Updated test data

* Updated test data to remove bgp module
2018-04-09 00:57:22 -05:00
Søren Rosiak
e0b7cc1b5f newdevice: Add basic Ubiquiti LTU airFiber support (#8521)
* newdevice: Add basic Ubiquiti LTU airFiber support

* Update airos-af-ltu.json
2018-04-09 00:34:25 -05:00
Paul Heinrichs
098c948a04 device: Added Last Mile CTM support (#8478)
* Add Listmile mibs

Created custom lastmile mib

* Add Lastmile CTM support

* Update test description and remove wireless sensor

* Requested changes

Renamed OS

* json test data

* Updated test data
2018-04-08 09:32:41 +01:00
Tony Murray
7250376104 refactor: Don't access $_SESSION directly for Auth (#8513)
* Don't access $_SESSION directly for Auth

* fix style

* add property annotations
2018-04-07 21:55:28 +01:00
Adam Winberg
2ece84495d webui: Improved fdb search (#8251)
* sort fdb search by number of mac addresses/port to show most likely endpoint switchport first in list. Also add IP search to fdb search

* fix style check error
2018-04-07 20:14:28 +01:00
dnapper
e534608668 device: Updated F5 Discovery and Polling (#8481)
* updated discovery method

* added LF at EOF

* changed discovery data gather to an array loop

* updated per murrant's suggestions

* updated to only poll attribues if objects exist
2018-04-07 20:14:09 +01:00
djamp42
a3f822b7a3 device: Added Total Wireless Client and AP count for Ruckus Wireless OS Type (#8503)
* Create Ruckuswireless.php

Add Total Authorized Clients and Total AP Connected to Zone Director, Tested on Zone Director 1200 & 1100.

* Update Ruckuswireless.php

* Create ruckuswireless_zd1200.snmprec

* Create ruckuswireless_zd1100.snmprec

* Add AP count and Wireless Client over graphs

* Update ruckuswireless_zd1200.snmprec

* Update ruckuswireless_zd1100.snmprec
2018-04-07 20:13:18 +01:00
theherodied
a81e2d25cd Added 2n device detection. (#8490)
* Added 2n Intercom mib

* Added 2n png logo

* Added 2n definitions yaml

* changed 2n logo. still needs to be changed later.

* changed 2n logo. still needs to be changed later 2.

* changed os name

* png not working

* trying svg. need to fix still.

* changed to object id detection

* added includes/polling/os/2nipforce.php

* named file correctly 2nipforce.inc.php

* added 2nipforce.snmprec

* added uptime to over graphs

* Changed to HeliosIP OS

* Changed to HeliosIP OS

* Removed Device Traffic from over graphs

* working on review requests 001

* Like so

* Create heliosip.json

* Update heliosip.json

Forgot to clear os cache

* Removed svg dimensions.

* Made 2n logo again.
2018-04-07 10:53:17 -05:00
sorribes22
c22b31506e api: Added lattitude and longitude on devices/device fetch (#8515)
* 'lat' and 'lng' columns added on list_devices()

* 'lat' and 'lng' columns added on device fetch

Helped by https://github.com/laf

* Commit user.name changed
2018-04-07 13:29:46 +01:00
theherodied
f69412525e device: Added AeroHive Wireless Support (#8500)
* AeroHive 001

* AeroHive 002

* AeroHive 003

* Removed duplicate HiveOS for OS

* Added AP550 detection

* changed to Hiveos-Wireless

* changed back to HiveosWireless. Hiveoss-Wireless doesn't work

* changed back to HiveosWireless. Hiveoss-Wireless doesn't work

* Added Processor Usage.

* Added Mempool.

* working on review requests 001

* working on review requests 002

* stuck on radio stats

* WirelessSensor.php added channel 165

* Added AP250 snmprec

* Frequency work in progress.

* Frequency trying another way.

* Frequency trying another way 002

* Fixed AH-SMI-MIB? Added array try 003

* Frequency array is working thanks to Murrant.

* Frequency array description working.

* Added TX Power

* changed interface naming method

* Review changes 001

* Review changes 002

* Review changes 003

* Added json test data.

* Fixed test data 001.
2018-04-07 13:27:19 +01:00
Aldemir Akpinar
18101a93d5 webui: Use toastr for operational messages on alert templates page (#8499)
* webui: Use toastr for operational messages

* Reload template table after insert/update

* Trying to fix travis ci error

* Change error checking to librenms standard
2018-04-07 13:22:08 +01:00
Søren Rosiak
831bd01004 newdevice: Add Dell Rack PDU Support (#8498)
* newdevice: Add Dell Rack PDU Support

fix #7945

* Updated json test data
2018-04-05 22:09:27 -05:00
Uwe Werler
98263f0086 webui: OpenBSD display mempool stats (#8505) 2018-04-05 22:51:58 +01:00
Tony Murray
cc377353f3 Snmpsim fail when it fails (#8392)
* Update snmpsim to fail better if it can't be started.
The main issue is the isRunning() check was done too soon after forking, the sh process was still running.

* increase default delay to 2s

* Pull this back, all we need is the sleep really.

* Remove removed exception
2018-04-05 22:49:58 +01:00
Tony Murray
ca09cf61ac auth_test.php -v override config.php (#8508) 2018-04-05 22:43:54 +01:00
Maurice den Braber
3198826769 Update devices.inc.php to use searchquery (#8509)
Updated devices.inc.php to use new searchquery parameter in stead of hostname.
2018-04-05 22:41:56 +01:00
Neil Lathwood
39aea3da71 fix: Updated ports macros to use %macros.port (#8511)
* fix: Updated ports macros to use %macros.port

* small updates
2018-04-05 22:39:01 +01:00
Neil Lathwood
f38b87b499 fix: Fix toner snmpwalk passing an empty array 2018-04-05 21:20:33 +01:00
Valent Turkovic
ee2bb8e820 Update Rules.md (#8501)
devices.status != 1 (means device is down)
devices.status = 1 (means device is up)
2018-04-04 09:00:23 +01:00
Joshua Rabino
189b428d50 alerting: Better VictorOps message (#8502)
* adding fields to VictorOps transport for better alerts

* adding fields to VictorOps transport for better alerts
2018-04-04 08:49:54 +01:00
Tony Murray
85d0e3b98e refactor: Move nested defaults to Config::processConfig() (#8429)
* Move nested defaults to Config::processConfig()

Fixes log_file when users set log_dir for example.

Removed stuff:
mibdir
dp_autocreate
base_url: setting http/https before config.php is loaded...
moved collectd setting to it's own config file

* add base_url mod back.
I thought that since definitions is called before config.php it was useless, but it changes the built in definition between http and https.
2018-04-03 15:53:25 +01:00
toyowheelin
6f509f4e88 device: show PO and vlanmgmt ports for Dlink devices (#8402) 2018-04-02 21:31:04 +01:00
vivia11
b71febf372 device: Added WTI-MPC OS and mib (#8492)
* Add icon and initial discovery

* Added more discovery for wti-mpc. Add mib.

* Add snmp data and edit discovery

* Remove discovery due to weird mib[C

* Update wti-mpc.yaml
2018-04-01 21:38:47 +01:00
Tony Murray
214472ba89 refactor: rename array_sort() to avoid function collision (#8494) 2018-04-01 21:27:41 +01:00
Wheel
d755b8c55e Update RRDCached.md (#8495) 2018-04-01 21:25:53 +01:00
Neil Lathwood
b39cd1fa04 docs: Changelog for 1.38 (#8497) 1.38 2018-04-01 20:26:10 +01:00
Tony Murray
9885be4837 Test data for #8487 (#8493) 2018-03-29 22:29:54 -05:00
cchance27
63d6cf810a Cambium pmp ap client count discovery (#8487)
* Add pmp450 AP client count support

* add tests
2018-03-29 21:58:53 -05:00
Tony Murray
04e24d4671 webui: Alert builder layout optimsation (#8489)
* Alert builder: don't waste space
More space for the ui elements when the dialog is large.
Stop the import button from overlapping things when the dialog is extra small.

* Add divider to alert menubar
2018-03-29 20:57:41 +01:00
Tony Murray
1a26017338 bug: LDAP fall back to slow search if memberof is missing (#8491) 2018-03-29 20:50:55 +01:00
Wheel
b1ec1d14f0 webui: Added override default device grouping radius (#8485)
* Override default device grouping radius

Added an option to override the default group_radius 80. Usefull in fullscreenmap

* Update worldmap.inc.php

* Update worldmap.inc.php
2018-03-29 12:05:38 +01:00
Tony Murray
5c83aa1e28 refactor: LDAP debug output (#8434)
* LDAP debug
Updated LDAP and AD docs
ldap protocol default to v3 (so we don't have to set it all the time).  If this fails it should revert to v2.
ad was using auth_ad_timeout incorrectly (1 I think)

* Add option to list all users.
2018-03-29 11:40:27 +01:00
Wheel
3fb7f76aea docs: Update World-Map doc with examples (#8488) 2018-03-29 11:37:51 +01:00
Neil Lathwood
250b02fe23 device: Added detection for Cisco SPA devices (#8446)
* device: Added detection for Cisco SPA devices

* Drop sysDescr check
2018-03-29 00:27:24 -05:00
Søren Rosiak
8ec70a92af Improve Sentry4 discovery (#8407)
* feature: Improve Sentry4 discovery

* Added test data

* Updated to take into account C/F conversion

* fixed test json data
2018-03-29 00:22:17 -05:00
vivia11
314a552437 devices: Add Phybridge OS support (#8456)
* OS yaml definition for Phybridge

* Add images and snmp data

* Removed width/height from svg and added more specific discovery for phybridge

* Minimized svg and inverted icon

* added json test file

* update to json file

* Changing os name: phybridge to phybridge-flex

* Update json file to phybridge-flex

* Remove unneeded test data
2018-03-28 23:54:02 -05:00
James Andrewartha
2313e9c967 Add serial number detection to xerox, which is the standard prtGeneralSerialNumber from Printer-MIB (#8439) 2018-03-28 23:53:14 -05:00
Ruairi Carroll
665229be40 Follow on to PR 8168 - Fixed merge of manage_bills.php (#8467)
* Adding 1st rev of manage_bills.php

* Stlye fixes

* Freshinging PR 7633. Changing -r to -f, to be less confusing. Adding code style changes as per @laf's suggesting

* Adding in option for sysname or hostname variable. Fixing hostname lookup bug

* style fixes

* -renaming add_ports to add_ports_to_bill
- changing -i to -b for clarity sake
- Will print help if -s and -h are not set

* Adding check to ensure -i is set via cli

* I'm stupid

* I'm stupid

* Fixing help messages, fixing argument checking, moving help to it's own function

* Adding create_bill functionality, update help and opts as needed

* Adding 1st rev of manage_bills.php

* Stlye fixes

* Freshinging PR 7633. Changing -r to -f, to be less confusing. Adding code style changes as per @laf's suggesting

* Adding check to ensure -i is set via cli

* I'm stupid
2018-03-28 22:44:32 -05:00
Kevin Krumm
9e112bf675 docs: add FAQ for Device Type (#8482)
* docs: add FAQ for Device Type

* fixed typos and etc
2018-03-28 22:24:37 -05:00