13814 Commits

Author SHA1 Message Date
bf0df7266a feature: Added fdb discovery module (#6887)
revert the context_name changes to snmp.inc.php and use the same method as other parts of the code
2017-06-26 13:58:17 +01:00
8d5c3f34f2 newdevice: Updated detection for HP VC Flex-10/10D Module (#6882) 2017-06-26 08:27:01 +01:00
da733b32ee Added changelog for 1.29 (June 2017) (#6888) 2017-06-25 21:42:22 +01:00
54365985a6 Revert "feature: fdb tables (#6616)" (#6886)
This reverts commit 81ddab86afd797decaa47fc1232c4207bffd6fd1.
2017-06-25 07:04:04 +01:00
81ddab86af feature: fdb tables (#6616)
* feature: FDB TABLES for ios and timos

* Fixed coding style issues

* renamed fdb.sql to 191.sql

* fixed travisCI issue

* FDB table discovery working on IOS

* Fixed bug: failing to insert fdb entries into database

* Fix phpcbf issue

* moved sql schema

* rename sql schema

* Add (tentative) FDB support for HP Comware switches

* build schema

* schema changes

* run build schema.......

* FBD Table discovery working on HP ComWare

* FBD Table discovery working on HP ComWare

* Add FDB support for HP Comware

* Discovery regex fix, tested and works for cisco 3750, 2960, 6509

* Use vlan_id instead of raw vlan. Remove Nokia implementation as vlans are not being discovered for it at the moment.

* Use vlan_id instead of vlan.

* Add debug messages, comware support

* Sorry.. phpunit isnt working for me

* Use a file structure instead of if statement per OS

* Make inserts to vlan table if entry does not exist.

* Rename sql schema file

* Use existing context name

Improve output and database synchronization

Remove chromephp and if ios

rename sqlfile

add comware back

update schema

* Delete TIMETRA-CHASSIS-MIB

* Delete TIMETRA-FILTER-MIB

* change index to bigint to be safe
2017-06-24 22:07:31 -05:00
84814efc8b docs: Reorganised alerting docs + added some clarifications (#6869) 2017-06-24 21:27:42 -05:00
daff16fabb fix: config_to_json.php does not pull in database configuration settings (#6884) 2017-06-24 21:21:30 +01:00
62cde819a0 webui: Added "system name" for the "Services list" (#6873)
* Update devices.inc.php

* Update devices.inc.php

* Add "system name" to "hostname"

It is easy to watch hosts using system names and IP addresses

* Deleted -H for checking srevice

How wrote this code? 
I could not use additional plugins, because system adds "-H" when plugin runs. But some plugins don't use "-H"

* changed to original file

* Update services.inc.php
2017-06-23 22:17:01 +01:00
683c93cdf5 Non greedy match for IOS-XR works better (#6872) 2017-06-23 22:16:35 +01:00
1c43fecfa7 feature: New snmpwalk_group() function (#6865)
* feature: New snmpwalk_group() function
Intended to replace several other snmp functions, but may not behave exactly as they did.
Properly handles multi-line values.
Adds additional index data after the grouping so it isn't lost. Perhaps might make optional.
Might add $skip variable to support fully numeric oid indexes. Thoughts?

* Add e and t options.  If we want to specify, options, we can add that later.
2017-06-23 22:13:50 +01:00
e40a7d7767 device: More succinct hardware description for Netonix (#6863) 2017-06-23 22:12:44 +01:00
fb548a9732 docs: Update Ubuntu and CentOS nginx install doc with a better nginx config (#6836)
* docs: Update install doc with a beter nginx config

* Updated LibreNMS API Location to v0

* Updated LibreNMS API Location to v0
2017-06-22 22:49:13 +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
03a273f722 docs: Reorganize auto-discovery docs and add a little info in some places. (#6875) 2017-06-22 20:43:33 +01:00
62e2b83622 newdevice: Added support for Radwin 5000 Series (#6876) 2017-06-22 20:34:06 +01:00
b3c88925d4 webui: Allow editing and deleting of lapsed alert schedules (#6878) 2017-06-22 20:29:04 +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
52fabcb770 api: Add search by os to list_devices (#6861) 2017-06-19 19:49:43 +02:00
f9b9652167 Set travis to use php 5.6.29 whilst upstream issue is fixed (#6862) 2017-06-19 14:52:57 +01:00
bcaeae5976 feature: Added support for passing state to alert templates test
* Added option to specify transport when testing a template

* Allow you to specify "state" on commandline
2017-06-19 06:58:52 +01: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
09103b2067 feature: Added syslog auth failure to alert_rules.json (#6847)
feature: Added syslog auth failure to alert_rules.json (#6847)
2017-06-17 15:03:18 +01:00
7a87f12380 fix: custom config.php os settings (#6850)
fixes: #6848
2017-06-16 14:08:38 +01:00
013beb63f9 docs: Fix the Ubuntu 16 rrdcached config (#6846)
*  Fix the Ubuntu 16 rrdcached config

Missing user and group to run as and the -R option

* Create RRDCached.md

Add write threads in case users need to tune performance (4 is the default)
2017-06-16 12:58:48 +01:00
f5931535b4 fix: Check HC counters individually (#6828)
* fix: Check HC counters individually
Vendors are very inconsistent returning ifXTable values.
Some only implement some of them (seemingly randomly).
Others return them, but they are always 0.

This attempts to fix that by checking each value individually.

* A couple of small cleanups

* Change the logic, The (if < hc) logic will be messed up when the counters roll.
Just make sure it is not 0 or an empty string.
2017-06-15 08:11:10 +01:00
c66f6c9704 docs: Update custom OS graphs doc to current standard. (#6837) 2017-06-14 20:32:56 +01:00
572277bfaa Also fix the graph generating code for NfSen rrds (#6835)
* Also fix the graph generating code for NfSen rrds

* Updated NfSen document as well
2017-06-14 20:32:30 +01:00
af47676ce7 docs: Update Proxmox agent docs (#6834) 2017-06-14 20:31:04 +01:00
f72e2ce4b1 fix: Updated sysObjectId column in devices table to varchar(128) (#6832)
* fix: Updated sysObjectId column in devices table to varchar(128)

* correct db_schema
2017-06-13 18:37:21 -05:00
19cdf8f684 newdevice: Added support for Schneider PowerLogic (#6809) 2017-06-13 16:20:12 -05:00
ec636ac05a Show the opencollective link on issues (#6812) 2017-06-13 16:17:26 -05:00
3a62c83642 newdevice: Added additional sensors to Axis camera (#6827)
newdevice: Added additional sensors to Axis camera (#6827)
2017-06-13 21:37:01 +01:00
0ede9525b0 feature: Added support to use IP addresses for NfSen filenames (#6824)
feature: Added support to use IP addresses for NfSen filenames (#6824)
2017-06-13 21:35:33 +01:00
be64546498 newdevice: Added detection for AXIS Audio Appliances (#6830) 2017-06-13 21:33:21 +01:00
a5cf0b720a newdevice: Added Quanta lb6m device support (#6816)
newdevice: Added Quanta lb6m device support (#6816)
2017-06-13 21:30:00 +01:00
ffb20d9ee3 newdevice: Added hardware and version from AirOS 8.x (#6802)
newdevice: Added hardware and version from AirOS 8.x (#6802)
2017-06-13 20:55:42 +01:00
5c58cc011a newdevice: Added support for processor and memory for 3com devices (#6823) 2017-06-13 08:11:09 +01:00
32fa059c98 newdevice: Added state sensors to HP Procurve (#6814) 2017-06-12 19:37:25 +01:00
51ccec94c5 fix: Strip " from rPi temp sensor discovery (#6815) 2017-06-10 17:46:00 +01:00
3bf7e207a7 fix: Check for ifHCInOctets and ifHighSpeed before falling back to if… (#6777)
* fix: Check for ifHCInOctets and ifHighSpeed before falling back to ifEntry

* switched && to ||
2017-06-10 06:50:40 -05:00
a075997539 alerts: Emit tab field to elasticsearch to allow for data-driven URLs. (#6808) 2017-06-10 11:11:22 +01:00
57c9151363 webui: Add bootgrid for authlog page, and fix poll-log searchbar layout on smaller screens (#6805) 2017-06-09 19:50:56 +01:00
5966eaec8d docs: Added note to configure mod_status for Apache application (#6810) 2017-06-09 11:38:20 +01:00
d5384f9256 fix: Updated Raspberry Pi Temp sensor discovery (#6804) 2017-06-08 22:11:42 -05:00
4f4719b66a webui: Updated all tables to have the same set number of items showing (#6798) 2017-06-08 22:10:30 -05:00