Commit Graph

14882 Commits

Author SHA1 Message Date
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
Neil Lathwood
07ee21b04d fix: Fixed and improved toner discovery (#8428)
* fix: Fixed and improved toner discovery

* Update konica data
xerox tries to insert too long of descriptions.  Lets remove the part and serial number, they are ugly to look at in the ui.
2018-03-28 22:13:45 -05:00
Tony Murray
fb701bc1b4 Defaults for alert collection rules (#8474)
Better error message if rule with same name exists.
2018-03-28 22:11:57 -05:00
Tony Murray
d91fe84fc3 Change the default alert delay to 1m (#8462)
Add regex type for numbers
Tooltips for all alert rule dialog items
2018-03-28 22:10:54 -05:00
PENorris
7ea189745d Bumping CISCO-PRODUCTS-MIB to newest release (#8483) 2018-03-28 21:45:01 -05:00
theherodied
e814cd8e34 Fixed missing mib dir in raritan definitions (#8476)
* Add mib dir that was missing

* Fixed missing raritan mib dir in definitions
2018-03-26 20:50:17 -05:00
Wheel
1b4e7b3680 docs: Debian stretch RRDcached settings (#8470)
* Debian stretch settings

* Update RRDCached.md

* Update RRDCached.md
2018-03-26 20:09:38 +01:00
Michael Corcoran
97d58cc121 fix:: Fixed display of WD drives for smart application (#8471)
WD drives have a dash in the serial number, e.g. WD-WCCXXXXXXXXX.
The librenms-agent script changed to using serial numbers in
librenms/librenms-agent@3a84624615
As we split the name by the same char, we discarded everything after WD,
which made all WD drives in the system appear as one, and broke the generated
links.
2018-03-26 14:36:38 +01:00
Neil Lathwood
8ec6fc03d6 Fix hiveos detection to make it more strict (#8472) 2018-03-26 14:23:13 +01:00
priiduonu
a1999c42e2 device: Updated moxa-etherdevice hardware/software/version detection
* Update moxa-etherdevice.inc.php

Would rather rely on `sysObjectID` when getting the hardware/software information as the `sysDescr` may be changed through the web interface of the device. Use numeric OID-s only.

* Update moxa-etherdevice.inc.php

Converted separate `snmp_get` calls into a single `snmp_get_multi_oid` call.

* Update moxa-etherdevice.inc.php

Unset variables at the end.

* Update moxa-etherdevice.inc.php

Unset multiple variables at once.

* Update moxa-etherdevice.inc.php
2018-03-25 21:57:13 +01:00
Maurice den Braber
9f5b42b028 webui: Allow full search on devices page (#8364)
* Update devices.inc.php

* Update devices.inc.php

* Replace $_POST with $vars

Better protection for SQL injection attempts; Need to verify other files for same issue.

* Fixed whitespace.

*sigh*

* More search options & sql injection fixes.

+Allow full search on devices page;
+Allow sysName search on alertlog page;
+Allow sysName search on alerts page;
+Allow sysName search on eventlog page;
+Allow sysName search on poll-log page;
+Allow sysName search on ports page;

*Replaced all occurrences of $_POST with $vars in librenms/html/includes/table. ($vars are sanity-checked).

* Whitespace fix

* Fixed $where & $param

* Add files via upload

* Whitespaces....

Sometimes you want'em, sometimes you hate'em.
2018-03-25 21:50:09 +01:00
Andrew Steen
2044f9bd14 device: Added QFX5100-96S8Q to rewrites.php (#8466) 2018-03-25 21:46:06 +01:00
priiduonu
af09e994e9 device: Added hardware and firmware detection for Hanwha Techwin devices (#8468) 2018-03-25 21:23:55 +01:00
theherodied
2537291734 nimbleos Changed to bit shift high << 32 and add low. Changed over graphs. (#8411)
* Changed to concat 32bit high.low counters

* Changed to concat 32bit high.low counters

* Correction. Needed to bit shift.

Correction. Needed to bit shift << 32 on high and add low.

* Correction. Needed to bit shift.

Correction. Needed to bit shift << 32 on high and add low.

* Added storage removed processor and memory

No point in processor and memory until nimble supports it. Added stroage to overhead.
2018-03-23 15:23:02 -05:00
Neil Lathwood
4c2822fe77 device: Improved detection for dlink and dlinkap devices (#8447) 2018-03-23 15:04:25 -05:00
Tony Murray
94f5ed67c5 Remove alert.macros from db schema again. (#8460)
Only affects new installs.
Leave dynamic config settings.
2018-03-23 18:56:27 +00:00
papatango71
7ed7885ca7 Add ifAlias to tag influxdb port data (#8461)
* Update ports.inc.php

Adding ifAlias to the $tags that are sent into influxdb

* Remove space
2018-03-23 12:43:50 -05:00
Neil Lathwood
41dbc3547d device: Added detection for Raritan KVM and EMX devices (#8279) 2018-03-23 12:26:09 -05:00
Neil Lathwood
e0589e0efe Added better detection for HiveOS devices (#8277)
* device: Added better detection for HiveOS devices

* Added MIBs for later use
2018-03-23 12:25:46 -05:00
Tony Murray
0d4a403253 Fix GenSQLOld() (#8459) 2018-03-23 14:39:50 +00:00
Tony Murray
333efe1402 Query builder fix root OR with more than one rule (#8457)
pushed the first recursion loop down, makes the code cleaner.
2018-03-23 14:39:13 +00:00
Tony Murray
0c0a70cc39 fix: Fixed validation sql for primary keys and first columns (#8453)
* Fix validation sql for primary keys and first columns
Remove extra space in generated sql :D

* Update Database.php
2018-03-23 07:51:34 +00:00
Neil Lathwood
faf48311b2 refactor: Small improvement to per port polling (#8431) 2018-03-22 13:40:11 -05:00
Neil Lathwood
9019f6c599 device: Added additional detection for Calix B6 (#8445) 2018-03-22 13:38:21 -05:00
Neil Lathwood
544b363951 alert: Added support for disabling recovery notifications (#8430)
* alert: Added support for disabling recovery notifications

* reversed use of recovery

* removed debug + small update
2018-03-22 12:38:16 -05:00
Jarod2801
268e7c1ed4 Added detection for Ciena 8700 (SAOS 8) (#8442)
* Update ciena-sds.yaml

Added sysObjectID for Ciena 8700 (SAOS 8) device.

* Add files via upload
2018-03-22 09:17:27 -05:00
ospfbgp
dba3f3fdfd device: Update avaya-vsp.yaml to reflect new vendor name (#8373)
* Update avaya-vsp.yaml

Extreme purchased the Avaya network assets and so I need to rebrand the VSP to be Extreme.  I am changing the icon to be Extreme.  I am also adding support for the 8404c which is  sysObjectID .1.3.6.1.4.1.2272.220

* Create avaya-vsp_8404c.snmprec

need to add a new vsp 8404c chassis support for avaya/extreme

* Added generated json file

* Udated test files
2018-03-22 08:37:12 +00:00
Slashdoom
308d43f07a docs App doc fix (#8448)
* small fixes to apps doc

* small fixes to apps doc
2018-03-22 08:33:28 +00:00
Mike Rostermund
e13920cdc8 Fix typo (#8444) 2018-03-21 15:10:20 -05:00
Neil Lathwood
8378834918 fix: Restored config items in sql queries (#8443) 2018-03-21 19:44:12 +00:00
Steven Barnes
a1d80e3940 Small edit (#8438)
Can't forget that semicolon.
2018-03-21 17:37:11 +00:00
Tony Murray
f950bb63e5 Don't break the webui when there are broken sql queries. (#8436) 2018-03-21 17:36:17 +00:00
mikeSimonson
607a7f801d Updating the mibs file from vmware (#8388)
The files where retrieved from the vmware provided mibs at
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1013445
2018-03-20 23:31:14 +00:00