Commit Graph

5111 Commits

Author SHA1 Message Date
Neil Lathwood
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
sfini
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
Neil Lathwood
707b6c6954 feature: Added support to cisco sensors to link them to ports + macro/docs for alerting (#6959)
* feature: Added support to cisco sensors to link them to ports + macro/docs for alerting

* renamed sql
2017-08-04 19:37:50 +01:00
Tony Murray
0d36244eda Fix string quoting in snmp trim (#7120) 2017-08-04 08:03:03 -05:00
Neil Lathwood
e6274720a7 fix: Strip " and / from snmpwalk_cache_oid() (#7063)
* fix: Strip " and / from snmpwalk_cache_oid()

* updated trim()

* Remove redundant trim()
2017-08-04 07:55:13 +01:00
Lorenzo Zafra
b8398d32b0 newdevice: Added additional sensors for Microsemi PowerDsine PoE Switches (#7114)
* Added power, voltage and temperature sensors for microsemi powerdsine poe switch

* Use MIB, switch to yaml discovery

* Revert "Use MIB, switch to yaml discovery"
2017-08-04 07:47:49 +01:00
Neil Lathwood
0ff847a9b3 newdevice: Added detection for NEC Univerge devices
newdevice: Added detection for NEC Univerge devices
2017-08-03 19:01:01 +01:00
Neil Lathwood
779ed8bc3d fix: Fixed Raspberry Pi sensors support
fix: Fixed Raspberry Pi sensors support
2017-08-03 17:11:08 +01:00
Tom Sealey
dc1b68d743 changed yaml to show ifName in WebUI
ERS ifDescr is far to long and makes lists of ports unwieldy.
Changing it to ifName gives the same info, but in a shorter form.
2017-08-03 15:53:35 +01:00
Neil Lathwood
7a36200b24 newdevice: Added VLAN discovery support for Avaya ERS devices
Added basic VLAN disco support for Avaya-ERS switches
2017-08-02 22:42:16 +01:00
AndyRap
4d14d5b1aa Update qnap.inc.php
Tested on QNAP TS-653 Pro, TS-851 and TS-859
2017-08-02 21:04:22 +01:00
AndyRap
bc72a487ad Update qnap.inc.php 2017-08-02 20:37:07 +01:00
laf
51f703ea04 newdevice: Added detection for NEC Univerge devices 2017-08-02 20:17:47 +01:00
Neil Lathwood
a435c7c2f6 Update vlans.inc.php 2017-08-02 07:59:36 +01:00
Neil Lathwood
c3627ec4e7 Merge pull request #7085 from murrant/device-status-event
fix: Add device status reason to up messages.
2017-08-01 21:49:15 +01:00
Tom Sealey
52f1b53a05 subtracting 1 from the $port_id value in the egress_ids loop
This is to fix an off by one error.
The ERS reports VLAN membership using a bitmask, but the MSB is always 0.
So using the `q_bridge_bits2indices` function results in the reported ports membership being +1 wrong.
The best fix for this would be to create a new function exactly the same as `q_bridge_bits2indices` which subtracts the 1 before returning the array. 
I tried this, but it broke my install :)
Not sure how to add to the `functions.inc.php` file without breaking it.
2017-08-01 11:20:27 +01:00
Tom Sealey
01fca2ebd5 fixed more formatting errors 2017-08-01 10:35:14 +01:00
Tom Sealey
bd0e003e27 fixed code formatting errors 2017-08-01 10:25:07 +01:00
Tom Sealey
d344629eda added check for Avaya-ERS OS 2017-08-01 10:09:47 +01:00
Tom Sealey
9f65a3c1d7 created avaya-ers.inc.php
Avaya do not use the Q-Bridge MIB for Vlans.
They also store untagged vlan info in 2 seperate ways:
rcVlanPortDefaultVlanId stores the actual native VLAN or PVID per switch port.
rcVlanPortPerformTagging tells us the ports tagging mode, this can be true (all tagged or trunk), false (no tagging or access), 3 (only tag the PVID) or 4 (untag the PVID and tag everything else).
Due to how these bits of information are presented, for each VLAN ID we then need to loop through all the ports checking if their PVID matches the VLAN ID and if the tagging mode is false or 4. If both are true we add that port to the list of untagged ports for that VLAN.
2017-08-01 10:08:49 +01:00
Lorenzo Zafra
f66d73de89 refactor: Use ifName if ifDescr is blank
* Add if statement for ROS os when querying remote port id for LLDP map

* Apply ifDescr fix in ports polling instead.
2017-07-29 12:09:15 +01:00
Lorenzo Zafra
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
Tom Sealey
f8b795ec95 newdevice: Removed check for switch model or firmware version for Avaya ERS switches
* Added mempool support for Avaya ERS 3500

* Added mempool support for Avaya ERS 3500

* removed check for  firmware version

* removed check for switch model or firmware version

* removed check for switch model or firmware version

* removed check for switch model or firmware version

* adding @laf suggested changes

* made changes as suggested by @laf

* removed blank line

* removed blank line

* added the snmpwalk back

need this, or it's pointless
2017-07-29 11:20:36 +01:00
Yacine Benamsili
de6af21131 fix correction of the echo of the opentsdb function to debug (#7086)
* feat: ADD co field for Opentsdb

* Update opentsdb.inc.php

* Update OpenTSDB.md

* Update opentsdb.inc.php

add d_echo for debugging

* Delete 200.sql

* Update OpenTSDB.md

* Update db_schema.yaml

* Update opentsdb.inc.php

* Update opentsdb.inc.php
2017-07-27 20:09:31 +01:00
Tony Murray
f1fd01f276 Add device status reason to up messages. 2017-07-27 08:27:52 -05:00
djamp42
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
laf
b840f8f315 updated sensors to use pre-cache 2017-07-26 21:39:19 +01:00
FTBZ
6b376e17ef newdevice: Added state sensor for HPE MSL (#7058)
* HPE MSL: add state sensor

* Update hpe-msl.yaml
2017-07-26 20:46:26 +01:00
Aldemir Akpinar
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
network-guy
890164c737 Update OS version parsing for IOS XE Denali and Everset (#7073) 2017-07-24 08:33:28 +01:00
Tom Sealey
d765330d16 newdevice: Added support for temp and processor discovery on Avaya ERS3500
* added support for Avaya ERS 3500 switches

Tested and working with single 3500 and stack of 5 3500

* added support for ERS3500 switches

tested on ERS 3500, both single and stack of 5
2017-07-23 19:54:43 +01:00
Søren Rosiak
b19116abe6 newdevice: Added CiscoSB DOM Support (#7072) 2017-07-23 19:35:30 +01:00
Søren Rosiak
64909849ee feature: Add CiscoSB Port Suspended Status Info (#7064) 2017-07-22 21:50:45 +01:00
Neil Lathwood
80b5a8c0de newdevice: Added more support for APC sensors (#7039)
* newdevice: Added more support for APC sensors
2017-07-22 21:08:54 +02:00
Neil Lathwood
75ea45d275 changed the way snmpwalk is done for yaml sensors (#7069) 2017-07-22 15:03:11 +01:00
laf
04b0c43dc1 fix: Fixed Raspberry Pi sensors support 2017-07-22 00:00:04 +01:00
Neil Lathwood
561e368d32 fixed routeros sensors file (#7067) 2017-07-21 23:08:12 +01:00
Tony Murray
123a90feab feature: Log event if device polling takes too long (#7065)
Move $device_time closer to end of poll_device(), and simplify
remove some unused variables
simplify $device_time in discover_device() too
2017-07-21 23:01:59 +01:00
Neil Lathwood
08d3a267ad fix: Stop loading all oses when we have no db connection (#7003)
* fix: Stop loading all oses when we have no db connection

* updated to use load_all_os() correctly
2017-07-21 12:42:16 -05:00
Neil Lathwood
23bbc97e6a newdevice: Added sensors for Mikrotik using mtxrOpticalTable + updated MIB (#7037) 2017-07-20 21:39:42 +01:00
Aldemir Akpinar
a2a1174033 Added log events for jira transport (#7059)
* Added log events for jira transport

* Resolve jira ticket bug for normal alerts
2017-07-20 20:09:33 +01:00
Neil Lathwood
d1e8458b31 newdevice: Updated powerwalker sensor discovery to use custom mib (#7020) 2017-07-20 12:01:16 +01:00
Neil Lathwood
da7550f55f device: Added additional sensors support for HP ILO4 (#7053)
* device: Improved HP ILO4 support

Added HP ILO4 temperature (HDD, motherboard), power, state (powersupply, HDD, Fans, memory slots) sensors support.
Tested with HP ProLiant ML350p Gen8-Gen9

* actual MIB file!
2017-07-19 22:06:59 +01:00
Aldemir Akpinar
c592f901b0 feature: Added jira alert transport (#7040)
* feature: added jira transport

* Trying to fix travis-ci sql problem

* Surpress mysql warnings

* Fix for typo

* Update Alerting.md
2017-07-19 16:25:03 +01:00
Neil Lathwood
c40825f233 fix: Use the correct high/high warn thresholds for junos dbm sensors (#7056) 2017-07-18 19:47:00 -05:00
Lorenzo Zafra
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
Tony Murray
8e85eebe32 fix: Don't lock the schema during install.php (#7051) 2017-07-18 20:07:21 +01:00
Tony Murray
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
Tony Murray
1e77d4b3ea refactor: validate.php improvements (#6973)
Always output header (may be missing mysql data)
Improve version display, now looks like '1.28-129-g74e6c3edf' <tag>-<commits since tag>-<shortag>
Add mysqli to the list of required extensions, check extensions before init
Add dbIsConnected() function, used to check if we have db in version_info()
Do not die on IPv4 and IPv6 so validate can print errors.
Move git checks so they are output together
fix rrdtool 1.7.0 reports version as 1.7.01.7.0
2017-07-17 19:02:28 +01:00
Tony Murray
97828eceba device: Added FDB support for IOS-XE devices (#7044) 2017-07-17 19:01:37 +01:00