334 Commits

Author SHA1 Message Date
cd006d1842 newdevice: Added additional PBN detection
* PBN AIMA3000

Add Support for PBN AIMA3000

* Add PBN AIMA3000 detection

Add PBN AIMA3000 detection
2017-07-27 08:46:54 +01:00
bb20ac9616 newdevice: Added basic detection for TSC Barcode printers (#7074)
* newdevice: TSC Barcode printer

* Added missing snmprec file

* Replaced os icon with a 32x32 png

* Update tsc.yaml
2017-07-25 21:48:26 +01:00
ddc65e1bef feature: Config helper to simplify config access (#7066)
Saves from having to check isset() and all that junk.
Uses dot separated config paths like the database.

Usage:
  Config::get('install_dir')
  Config::get('memcached.enable', false)
  Config::getDeviceSetting($device, 'retries', 'snmp', 5)
  Config::getOsSetting($device, 'nobulk')
  Config::set('poller_modules', array())
2017-07-21 23:05:07 +01:00
bfaab856bd newdevice: Added support for Siemens Ruggedcom Switches (#7052)
* newdevice: Siemens Ruggedcom Switches

* Fixed svg images

* Renamed to ros

* renamed snmprec file
2017-07-18 23:32:07 +01:00
181b0fb7d5 refactor: Use the new locks for schema updates (#6931)
* Use the new locks for schema updates

* removed schema lock from discovery

* Add the ability to wait for a lock.
Add unit tests

* Add MysqlLock
Use that for the schema updates
Wait up to 30s for other schema updates to complete.

* Switch the schema lock back to a file lock for now.
Make FileLock support indefinite locking without polling.
Add a warning to MysqlLock for scenarios where it won't work.

* Delete MysqlLock.php

* Removed MySQL lock tests
2017-07-17 19:35:08 +01:00
534595d71d newdevice: Added detection for Gestetner printers (#7038)
* newdevice: Added detection for Gestetner printers

* added missing snmprec test file

* reverted ports change from debug
2017-07-17 07:00:48 -05:00
282e4b77a5 newdevice: Savin printer support (#6982)
Toner supply levels supported
2017-07-12 08:16:05 +01:00
d30e5660f9 feature: Added ability specify options for sensors yaml discovery (#6985)
* feature: Added ability specify options for sensors yaml discovery

* travis fix for new line + skip_values_* -> skip_value_*
2017-07-10 16:27:46 -05:00
93a7929513 device: Updated IOS-XE detection for 3000 series devices (like 3850) (#6983)
* device: improve IOS-XE detection for 3000 series devices (like 3850)

* add additional snmprec
2017-07-08 09:01:57 +01:00
5185e19d9a device: Updated Toshiba Tec e-Studio printers (#6984) 2017-07-08 08:59:57 +01:00
fa2b3f57f0 newdevice: Added Eltek Valere initial detection (#6979)
* newdevice: Eltek Valere initial detection

* Add the snmprec file, no joke the sysDescr is "Sys Description"
2017-07-07 20:26:52 +01:00
394c4393a4 newdevice: Add Calix AXOS/E5-16F Detection (#6926)
* Add Calix AXOS/E5-16F Detection

* Update calix.yaml

* Create calix_e5-16f.snmprec

* Split out Calix to AXOS

* Delete axos.inc.php
2017-07-05 21:21:48 +01:00
39d3639733 newdevice: Added support for Rittal LCP Liquid Cooling Package (#6626)
* newdevice: Rittal LCP

* Add snmpsim file

* Change state sensor to YAML

* Clean old file

* Add state_name
2017-07-05 19:58:35 +01:00
5020f47838 newdevice: ExtremeWireless initial wireless sensor support (#6819)
* First pass at implementing ExtremeWireless support
Includes global AP and user count, and per-AP user count

* Coding style fixes

* Tabs will be the death of me

* Add license count, fix coding nits

* PHP 5.3 support hopefully

* Graph APs configured with a max of licenses installed
2017-07-03 15:34:34 -05:00
eb1014a657 device: Updated Gamatronic ups use sysObjectID for os discovery (#6940) 2017-07-03 19:43:11 +01:00
f02b551145 feature: Improved install experience (#6915)
always check that the base sql has been imported.
async db building
After this merge, we could move install.php to the end of the install documentation.  Makes a more natural flow.
2017-07-01 21:28:29 +01:00
0854ff5f59 newdevice: Updated Radwin detection (#6918) 2017-06-29 21:10:10 +01:00
d47b58bf6d newdevice: Changed Solaris and Allied discovery to yaml (#6900)
Add SunOS to callback sanitize
2017-06-28 07:53:25 +01:00
092f6922a9 newdevice: Added datacom dm1200e detection (#6901) 2017-06-28 07:52:19 +01:00
5e32474d26 feature: Added support for sensors to be discovered from yaml (#6859)
* feature: Added support for sensors to be discovered from yaml

* added discovery definitions

* Updated docs, more code updates + tests

* removed the oid_name use

* pre-set variable from scrut output

* small updates as per comments in pr

* Allow index in descr

* Added ability to skip values

* Check for numeric values

* small update of oid name
2017-06-26 23:27:57 +01:00
8d5c3f34f2 newdevice: Updated detection for HP VC Flex-10/10D Module (#6882) 2017-06-26 08:27:01 +01:00
02a7949c5e newdevice: Added Support for Benu OS (#6857)
* Added Basic OS support for Benu

* Benu OS take 2

* Benu OS take 3

* Benu round 4 - this time for real

* added benu sensors

* reamed to benuos, renamed mibs, sensor rewrite pending

* upated sensors to use snmp_get_multi

* rename yaml

* rename yaml

* updated mempool discover to use multi get, fixed whitepaces, removed old commented out code from polling

* changed detection from sysDescr to sysObjectId

* Update benuos.yaml

* Update benuos.inc.php

* Update benuos.inc.php

* Update benuos.inc.php

* Update benuos.inc.php
2017-06-22 21:45:18 +01:00
90aa485149 refactor: discovery code cleanups (#6856)
* Use foreach $key => value

* use get_port_by_ifIndex
get rid of the rest of the array_keys()

* improve hex_to_ip() function, add tests, use in more places

* Simplify can_skip_discovery logic
2017-06-22 21:08:20 +01:00
62e2b83622 newdevice: Added support for Radwin 5000 Series (#6876) 2017-06-22 20:34:06 +01:00
2f4efb2a43 fix tests (#6870)
Injecting into the dev_cache without having hostname set caused the code to run an sql query.
Fix undefined index errors.
2017-06-20 16:56:38 -05:00
b8452862af device: Fix for syslog-messages from zywall (USG series) (#6838)
* Fix for syslog-messages from zywall (USG series)

* Adding a test
2017-06-20 12:27:37 -05:00
2e43adce37 newdevice: Improved Cisco Unified CM detection and renamed to ucos (#6813) 2017-06-18 20:56:31 -05:00
283392c9a7 newdevice: Added support for Chatsworth PDU (legacy old pdus not sure model number) (#6833)
* newdevice: AXIS Audio Appliance

* newdevice: chatsworth pdus

* Renamed chatsworth to chatsworth-pdu
2017-06-17 15:31:01 +01:00
bcc618a3ad feature: Added Syslog hooks for Oxidized integration (and more) (#6785)
* Creating syslog hooks with example script for Oxidized integration

* Corrected IOS-XR matching and stopped spurious calls to Oxidized
2017-06-17 15:21:21 +01:00
5bcec9c7d3 newdevice: Added detection for Microsemi PowerDsine PoE Midspans (#6843)
newdevice: Added detection for Microsemi PowerDsine PoE Midspans (#6843)
2017-06-17 15:12:33 +01:00
19cdf8f684 newdevice: Added support for Schneider PowerLogic (#6809) 2017-06-13 16:20:12 -05:00
be64546498 newdevice: Added detection for AXIS Audio Appliances (#6830) 2017-06-13 21:33:21 +01:00
6a581ab822 newdevice: Added more detection for Bintec smart devices (#6780) 2017-06-08 19:17:48 +01:00
1d70d3e96a newdevice: Added detection for Atal Ethernetprobe (#6778)
* newdevice: Added detection for Atal Ethernetprobe

* updated to ethernetprobe2

* added temp and humidity sensors
2017-06-08 19:05:10 +01:00
2a2d78baa5 newdevice: Updated Cisco NX-OS detection (#6796) 2017-06-06 23:14:32 +01:00
c67424b4ef newdevice: Updated Oracle ILOM detection (#6779) 2017-06-05 06:45:28 -05:00
CZ
f784228e93 newdevice: Added support for Adva FSP150CC and FSP3000R7 Series (#6696)
* ADVA device support
- sensors for temperature, voltage, current and dbm
- ADVA mibs for FSP150CC and FSP3000R7

* sysObjectId - changed to level above instead of two entries

* OS for FSP150 and FSP3000R7 now in two seperate OS definitions
- split the files
- removed sysObjectId check for each
- removed hardcoded sensor limits
- removed more generic MIBs

* standardized variables / corrected declarations

* added missing MIB, style check code

* - corrected 'current' readings by adding $devisor
- changed rrdfile names to sensorname+$index
- moved LLDP-V2 mibs to main mib directory
2017-06-02 21:07:55 +01:00
528350177d newdevice: Arris C4c (#6662)
* newdevice:  Arris C4c, convert arris.png to arris.svg, added temperature sensors

* removed debug

* converted snmp_walk to snmpwalk_cache_oid_num

* added test, fixed formatting

* fixed logo

* removed height and width from logo

* revert arris.svg
2017-06-01 18:46:13 -05:00
8c8d591d67 newdevice: Add basic support for CradlePoint WiPipe Cellular Broadband Routers (#6695)
* Add basic support for CradlePoint Ceullular Broadband Rotuers

 	new file:   html/images/os/cradlepoint.png
 	new file:   includes/definitions/wipipe.yaml
 	new file:   includes/discovery/sensors/dbm/wipipe.inc.php
 	new file:   includes/discovery/sensors/pre-cache/wipipe.inc.php
 	new file:   includes/discovery/sensors/state/wipipe.inc.php
 	new file:   includes/polling/os/wipipe.inc.php

* Added snmprec test file

* Updated definitions file

* Updated copyright blocks and comments

* Added WIPIPE-MIB#

*  	renamed:    tests/snmpsim/wipipe.smmprec -> tests/snmpsim/wipipe.snmprec

*  	copied:     html/images/os/cradlepoint.png -> html/images/logos/cradlepoint.png
 	modified:   html/images/os/cradlepoint.png
 	modified:   includes/definitions/wipipe.yaml
 	modified:   includes/discovery/sensors/pre-cache/wipipe.inc.php
 	modified:   includes/polling/os/wipipe.inc.php

* Changes requested by laf

 	modified:   includes/discovery/sensors/dbm/wipipe.inc.php
 	modified:   includes/discovery/sensors/pre-cache/wipipe.inc.php
 	modified:   includes/polling/os/wipipe.inc.php

* Reworked devFWUpgradeStatus state sensor
 	modified:   includes/discovery/sensors/state/wipipe.inc.php

* Fixed hardware/OS version detection
 	modified:   includes/polling/os/wipipe.inc.php

* moved mib file to correct location
2017-05-31 21:45:31 +01:00
3b45ea1b37 newdevice: Improve Aerohive Support (#6721)
fix #6670
2017-05-24 22:49:40 +01:00
88a490a969 newdevice: Add support for Halon Gateway (#6716)
newdevice: Add support for Halon Gateway
2017-05-24 00:00:43 -05:00
d48be5f507 newdevice: Added detection for Cisco EPC devices (#6690)
* newdevice: Added detection for Cisco EPC devices

* updated test file

* added dbm support

* added snr support
2017-05-23 10:28:44 -05:00
2a75083f47 newdevice: Added basic HPE OpenVMS detection (#6706)
I could not figure out the proper logo, so HPE it is.
2017-05-22 18:10:39 +01:00
9d3b91bf9d newdevice: Updated sonicwall discovery (#6688)
* newdevice: Updated sonicwall discovery

* added another test file
2017-05-19 14:15:08 -05:00
8565417dfe new device: Added basic support for MRV OptiDriver Optical Transport Platform (#6656)
* Committer: Chris A. Evans <thecityofguanyu@outlook.com>

Add basic support for MRV OptiDriver Optical Transport Platform
 * OS Detection
 * Sensors
  * Chassis temperature
  * State
   * Tx/Rx Optical Interface Power
   * Power Supply
   * Fan

*  	renamed:    includes/definitions/mrv-optidriver.yaml -> includes/definitions/mrv-od.yaml
 	new file:   includes/discovery/sensors/dbm/mrv-od.inc.php
 	deleted:    includes/discovery/sensors/dbm/mrv-optidriver.inc.php
 	renamed:    includes/discovery/sensors/pre-cache/mrv-optidriver.inc.php -> includes/discovery/sensors/pre-cache/mrv-od.inc.php
 	renamed:    includes/discovery/sensors/state/mrv-optidriver.inc.php -> includes/discovery/sensors/state/mrv-od.inc.php
 	new file:   includes/discovery/sensors/temperature/mrv-od.inc.php
 	deleted:    includes/discovery/sensors/temperature/mrv-optidriver.inc.php
 	renamed:    includes/polling/os/mrv-optidriver.inc.php -> includes/polling/os/mrv-od.inc.php

*  	modified:   includes/discovery/sensors/dbm/mrv-od.inc.php

  Added missing ')' in the if conditionals.

*   Requested changes
 	modified:   includes/definitions/mrv-od.yaml
 	modified:   includes/discovery/sensors/state/mrv-od.inc.php
 	modified:   includes/discovery/sensors/temperature/mrv-od.inc.php
 	modified:   includes/polling/os/mrv-od.inc.php
 	removed extensions from all new mib files

* Add snmprec file to satisfy test units
	new file:   tests/snmpsim/mrv-od.snmprec
2017-05-18 22:04:40 +01:00
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
e223ec3ff2 newdevice: Added support for Geist PDU (#6646) 2017-05-16 23:39:35 -05:00
4c59e6cf0a newdevice: Updated Barracuda NG Firewall Detection (#6658)
fix #6653
2017-05-16 22:13:19 +01:00
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
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