Commit Graph

13939 Commits

Author SHA1 Message Date
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
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
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
Tony Murray
3a89820646 prepare for upcoming composer changes by cleaning the vendor directory (#6986) 2017-07-21 23:21:42 +01:00
Neil Lathwood
561e368d32 fixed routeros sensors file (#7067) 2017-07-21 23:08:12 +01:00
Tony Murray
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
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
feef5383f3 docs: Added code of conduct doc in root (#7055) 2017-07-21 12:36:33 -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
kkrumm1
ac5b2c663c docs: Update Performance.md (#7061)
* Update Performance.md

added more info for cron job for the poller wrapper.

* Update Performance.md

fixed formatting error.
2017-07-20 20:08:36 +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
Aldemir Akpinar
3ca39c810d webui: Facelift for alert templates, also added bootgrid (#7041)
* webui: facelift for alert templates, also converted the custom code to bootgrid

* Update alert_template.inc.php

removed var = action line, no longer needed.
2017-07-18 23:54:14 +01:00
Tom Sealey
3b2c42009b docs: added agent setup to mkdocs (#7033)
noticed that the Agent Setup doc is not listed under Extensions, but can be found by searching. Added to mkdocs.yml
2017-07-18 23:44:06 +01: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
Neil Lathwood
9dd9bc1d49 fix: Updated 113 schema to use 255 chars for index (#7054)
* fix: Updated 113 schema to use 255 chars for index

* update travis to fix php build issues
2017-07-18 16:33:36 -05:00
Tony Murray
8e85eebe32 fix: Don't lock the schema during install.php (#7051) 2017-07-18 20:07:21 +01:00
sorano
dedfc6c1d8 Set correct device_perf_purge in Support docs (#7049)
It is 7 according to defaults.inc.php
2017-07-18 15:46:44 +01:00
Steven Barnes
5c46ad1a72 corrected proxmox script path (#7048) 2017-07-17 21:20:22 +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
Tony Murray
fb121923b0 improve text when ipaddress module is missing (#7043) 2017-07-17 19:00:58 +01:00
Tony Murray
fabf0c54f4 Merge pull request #7046 from librenms/1.29
Added changelog for 1.29 (June 2017)
2017-07-17 09:41:47 -05:00
Neil Lathwood
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
Neil Lathwood
20ce209b27 Return more descriptive error when adding duplicate devices on sysName (#7019)
* Return more descriptive error when adding duplicate devices on sysName

* clean up functions to make more clear and reduce duplication

* moved return to correct place
2017-07-16 22:01:07 +01:00
InfraTeam
579bfd4c3e newdevice: Added additional sensors for APC IRRP100 Air Conditionner series (#7006)
* Added detection for Hirschmann Railswitch

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Synchro Fork

* Synchro Fork

* Added additional sensors for APC IRRP100 Air conditionner series

* Updated apc.yaml

@laf I modified the yaml file according to your comment. I forgot the index line in a few definitions...

* Rollback hirschmann.inc.php to original file

* Roolback to original hirschmann.inc.php file

* Updated apc.yaml file to include data section

* Update apc.yaml

* Update apc.yaml

* Updated apc.inc.php after @laf requests

Modified $current calculation, including $multiplier in place of static value and added 'PowerNet-MIB' as an argument of the snmp_get function (detached from OID writing)

* missing new line

* reverted hirschmann updates

* reverted hirschmann updates
2017-07-15 11:44:56 +01:00
Yacine Benamsili
294ec4d73d feature: Added support for sending metrics to OpenTSDB (#7022)
* Create OpenTSDB.md

* Send collected data to OpenTSDB

* Send collected data to OpenTSDB

* Update build.sql

* Send collected data to OpenTSDB

* Delete 200.sql

* Update db_schema.yaml

* Update datastore.inc.php

* Update OpenTSDB.md

* Added OpenTSDB to mkdocs.yaml
2017-07-15 10:28:27 +01:00
dennypage
db84d3bfe9 Fix EPSON logo (#7029)
* Fix EPSON logo

* Trim padding

* Update epson.svg
2017-07-14 21:57:13 +01:00
Tony Murray
b36d3d3408 fix: Don't use Enum in snmp-scan.py (#7036) 2017-07-14 21:56:47 +01:00
kkrumm1
e8282a4b6b fix: Allow discovery of IAP radios on Aruba Virtual Controller
* Update Arubaos.php

Allow discovery of IAP radios on Aruba Virtual Controller -

* Fix up changes
2017-07-14 21:30:57 +01:00
Søren Rosiak
fd140888ab newdevice: Added CPU / Mem support for HPE MSM (#7026)
* newdevice: Improve HPE MSM Support

fix #6972

* remove unneeded polling file

* Update to use numerical OID
2017-07-14 21:06:22 +01:00
Aldemir Akpinar
550e412808 webui: Added an empty option for delete device selection, and a minor db performance fix (#7018)
* webui: Added an empty option, also minor performance fix on the db query

* Added missing backtick

* Added html options per Laf's suggestion
2017-07-14 11:40:29 +01:00
Lasse Leegaard
039e410d6d fix: Change .htaccess to compensate for Apache bug (#6971)
Fix for https://github.com/librenms/librenms/issues/3810 and workaround for bug in Apache 2.4.21+ https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html#ProxyFCGIBackendType
2017-07-14 06:38:25 +01:00