358 Commits

Author SHA1 Message Date
b3567041dd newdevice: Added support for SmartOptics M-Series (#7314)
* newdevice: Added support for SmartOptics M-Series

* added os polling file
2017-09-13 21:12:56 -05:00
98786c0ea7 feature: Allow ignore_mount, ignore_mount_string, ignore_mount_regex per OS (#7304)
* feature: Allow ignore_mount, ignore_mount_string, ignore_mount_regex at OS level

* Change the storage settings to override global instead of merge.
Add documentation
2017-09-13 19:43:21 +01:00
e0040b2831 newdevice: Added support for Toshiba RemotEye4 devices (#7312)
* newdevice: Added support for Toshiba RemotEye4 devices

* small updates thanks to kate

* Update new-os.php

* Update new-os.php
2017-09-12 22:27:06 -05:00
58193e16a3 newdevice: Added additional Quanta detection (#7316) 2017-09-12 20:15:50 -05:00
1e7e421cd7 newdevice: Added additional detection for Calix devices (#7325) 2017-09-12 19:58:59 -05:00
9cafcb6280 newdevice: Added detection for Himoinsa Gensets (#7295)
* newdevice: Added detection for Himoinsa Gensets

* Update himoinsa.svg
2017-09-10 13:44:05 -05:00
dbbb9ca7fa newdevice: Added detection for ServerChecks (#7308)
* Add files via upload

Serverscheck logo

* Delete serverscheck.svg

* Add files via upload

* Delete serverscheck.png

* Add OS discovery for ServerChecks #7284

* Delete servercheck.svg

* newdevice: Add OS discovery for ServerChecks (#7284)

* Create serverscheck.yaml

* Delete serverscheck.png

* Change png to 32x32 size

* Add OS discovery for ServerChecks #7308

Added mib directory for serverscheck

* Create SERVERSCHECK-MIB

* Add OS discovery for ServerChecks #7308

Added snmprec file for serverscheck
2017-09-10 19:14:34 +01:00
455c72156d newdevice: Added support for Saf Integra Access points (#7292)
* newdevice: Added support for Saf Integra Access points

* Split SAF Integra models out

* added polling files

* Update saf-integra-b.yaml

* Update saf-integra-w.yaml
2017-09-08 15:22:03 -05:00
ec72eb2960 newdevice: Added basic Open-E detection (#7301)
ingore_mount_string will be activated with separate PR
2017-09-08 05:17:40 +01:00
66f9411adc newdevice: Added support for Mimosa A5 (#7287)
* device: add support for Mimosa A5
Frequency and Tx/Rx Power

Unfortunately, we would have to walk the client table to get any client stats such as count.

* remove sysdescr after checking stats

* Forgot the mib new files
2017-09-07 09:29:03 +01:00
7b262a6851 refactor: Improve yaml state discovery (#7221)
* feature: Improve yaml state discovery
Handle state values that are returned as strings instead of int
Synchronize state values for existing state translations so we can change them without creating a new translation and losing historical data
More extensive/verbose yaml discovery phpunit tests
dbBulkInsert, use the first entry instead of requiring the first entry to be at index 0

* Update sensor state documentation
re-order values for better readability
remove os check
Use snmpwalk_group since it is more flexible

* Add some more debug output in dynamic discovery
2017-09-03 19:58:39 +01:00
6914666004 newdevice: Added support for DragonWave Horizon (#7264)
* Add Dragonwave Horizon Support

* Add snmprec and fix style issues

* Update logo and discovery oid

* Update horizon.yaml
2017-08-30 23:13:31 +01:00
2da9ee7458 device: Added detection for Hitachi Data Systems SAN (#7160)
* Syslog test case

* revert changes on master

* newDevice: Hitachi Data Systems SAN

* Renamed mib directory

* Change discovery of sysObjectId
2017-08-18 07:58:38 +01:00
96b010a735 feature: Forced OS Cache rebuild for unit tests (#7163) 2017-08-16 13:58:10 -05:00
806f5cce74 newdevice: Added additional sensor support for Cisco ONS (#7096)
* newdevice: Added additional sensor support for Cisco ONS

* updated discovery yaml + added mibs
2017-08-13 20:21:55 +01:00
3594f494eb newdevice: Added support for Gude ETS devices (#7145) 2017-08-12 20:44:42 +01:00
25ec0be8d3 newdevice: Added support for Trango Apex Lynx OS (#7142)
* Added discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS
2017-08-11 23:09:07 +01:00
3ca6f84013 fix: bug in ipv62snmp function (#7135)
typo compressed instead of uncompressed
Tidied up the function and added unit tests.
2017-08-09 08:47:35 -05:00
1d777693e1 feature: New IP parsing classes. Removes usage of Pear Net_IPv4 and Net_IPv6. (#7106)
* Refactor remove use of pear Net_IPv4 and Net_IPv6

Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%.  Please test.

Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.

Add support for ipv6 fo ipInNetwork() function

Add phpdocs to functions
Remove accidental inclusion

Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()

tidy parsing cidr network

Change to a class based implementation.

Update phpdocs.
Fully catch exceptions for hex parsing.

Fix mistake.

support older phpunit versions

Fix php shifting to negative with php 5

* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.

* Also remove colons from hex strings.

* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
2017-08-08 14:14:58 -05:00
d8140467ae newdevice: Added support for Emerson energy systems (#7128)
* newdevice: Added support for Emerson energy systems

* added missing test

* Update ees.yaml
2017-08-08 07:58:57 +01:00
649795df86 tests: Tests for errors in mib files (#7030)
* tests: Tests for errors in mib files

* Some additional mib test

* Use groups to exclude mib tests from the default test run

* Enable per-mib tests too

* Refactor tests for easy filtering with @dir or @file (relative to mib_dir)
2017-08-07 11:32:13 -05:00
4e56ee17b8 newdevice: Added detection for Alteon OS
* Create radware.yaml

Add Support for radware/Alteon application Switch

* Update radware.yaml

Remove comment

* Update radware.yaml

remove comment

* Create radware.snmprec

* Add files via upload

* Update radware.svg

* Update and rename radware.yaml to alteonos.yaml

Change os, group

* Rename radware.snmprec to alteonos.snmprec

* Removed mib-dir
2017-08-04 20:16:46 +01:00
laf
51f703ea04 newdevice: Added detection for NEC Univerge devices 2017-08-02 20:17:47 +01:00
9a84a53a3f newdevice: Added ROS support for state sensors and system temps
* Added support for RS910 and added state sensors and temperature sensor

* Update ros.yaml
2017-07-29 11:44:02 +01:00
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