Commit Graph

13973 Commits

Author SHA1 Message Date
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
Neil Lathwood
be4a4cd5cf webui: Update avaya-ers to use ifName for displaying
changed avaya-ers.yaml to show ifName in WebUI
2017-08-03 17:09:52 +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
573ccd415c fix: Added missing get_group_list() to ldap-authorization auth method
Added get_group_list() to ldap-authorization. The function was copied…
2017-08-02 22:45:52 +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
Neil Lathwood
5d135b5283 newdevice: Added CPU temperature for QNAP devices
Updated qnap.inc.php to include CPU temps
2017-08-02 22:02:50 +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
Etz
115515f966 fix: Service warning/critical alert rules (#7105)
Name and rule statements were swapped.
2017-08-02 09:20:45 -05:00
Nick Ramser
2e2e046a81 Remove blank line at the end of the file. 2017-08-02 08:32:43 -04: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
Nick Ramser
4acf4eafd7 Added get_group_list() to ldap-authorization. The function was copied from ldap.inc.php 2017-08-01 16:16:52 -04: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
6619450d56 adding RC-VLAN-MIB 2017-08-01 10:10:35 +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
Neil Lathwood
afa5b6fd00 Merge pull request #7093 from tslytsly/patch-1
fixed typo
2017-07-31 21:01:09 +01:00
Tom Sealey
6a908affc8 fixed typo 2017-07-31 13:26:17 +01:00
Neil Lathwood
92116804d5 Merge pull request #7092 from laf/1.30-changelog-5
Added Changelog for v1.30
2017-07-30 17:23:02 +01:00
Neil Lathwood
7eb1bf0391 Added Changelog for v1.30 (#7091) 2017-07-30 16:32:59 +01:00
laf
2bf3fd8905 Added Changelog for v1.30 1.30 2017-07-30 09:31:34 +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
Neil Lathwood
fc2041caaf api: Added api routes for eventlog, syslog, alertlog, authlog (#7071) 2017-07-27 19:56:38 +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
Lorenzo Zafra
faaa94a1e9 webui: Loading speed improvement when viewing syslogs for specific device (#7062)
* Changed query to filter for device_id when searching for programs and priorities

* Fixed sql, use prepared statements

* appending to param moved to appropriate line

* Update syslog.inc.php
2017-07-25 21:47:57 +01:00
network-guy
890164c737 Update OS version parsing for IOS XE Denali and Everset (#7073) 2017-07-24 08:33:28 +01:00
Neil Lathwood
66008a0fd5 feature: Added script to test alerts (#7050)
* feature: Added script to test alerts

* actually added the file

* Add text when no alert is found.
2017-07-23 19:56:22 +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
Tony Murray
3a89820646 prepare for upcoming composer changes by cleaning the vendor directory (#6986) 2017-07-21 23:21:42 +01:00