12400 Commits

Author SHA1 Message Date
Tony Murray
edbb6ae0e3 refactor: Centralize MIB include directory specification (#4603)
* refactor: Centralize MIB include directory specification
The default is now:
```
$config['mib_dir'].'/mibdirname:'.$config['mib_dir']
```
This means we exclude OS mibs and only use ours  (we could prepend `+` if we want to include os mibs.
All snmp calls should only include the name of the subdirectory under the mibs directory.

* Remove d_echo from Proc
Fix snmpsim tests.
2016-09-28 14:19:28 +01:00
Daniel Preussker
20a3b555ab Fix Day counter in process CPU-time (#4653)
fix: Updates unix-agent handling of reported time values from check_mk #4652
2016-09-28 09:20:16 +01:00
Søren Rosiak
f6db0a505a feature: Add Cisco WAAS Optimized TCP Connections Graph (#4645)
* feature: Add Cisco WAAS Optimized TCP Connections Graph

* fix names
2016-09-28 08:00:35 +01:00
Neil Lathwood
6fdcf8a6da refactor: OS Discovery files D-H (#4572)
* refactor: OS Discovery files D-H

* Combine edgeswitch check

* fix my typo

* update to fix tests
2016-09-27 22:31:16 +01:00
crcro
f06b0ffb66 fix: device with no uptime (#4625)
fix: Add checks for devices with no uptime over snmp #4587
2016-09-27 21:07:42 +01:00
Tony Murray
b41ce631a8 device: Edge Core ES3528M - base support
device: Edge Core ES3528M - base support
2016-09-27 14:54:39 -05:00
crcro
4bb435ee21 poweralert divisor fix for voltages (#4639) 2016-09-27 20:40:15 +01:00
Tony Murray
82a7d3fa5f Update edge-core.inc.php 2016-09-27 14:38:35 -05:00
sorano
9142bcc6d3 Increase charlength for Procedure URL. (#4626)
* Increase charlength for Procedure URL.

Increased charlength for Procedure URL.

Fixes #4305

* Update new_alert_rule.inc.php
2016-09-27 20:33:31 +01:00
crcro
904e7a86a1 apc smart ups support (#4622) 2016-09-27 20:20:10 +01:00
Tony Murray
74a8822034 Clean up discover_x functions debug output. (#4610) 2016-09-27 20:18:12 +01:00
Bennett Blodinger
6becfd65eb align to class (#4602)
bootstraping when possible
2016-09-27 20:04:32 +01:00
Tony Murray
11f087f147 docs: Tiny Sensor-State update 2016-09-27 13:55:16 -05:00
Tony Murray
59d294a58f fix: stop qnap discovery from running for every device 2016-09-27 13:55:16 -05:00
Tony Murray
efc4d59324 device: Fix eatonups to properly discover sensors
Also removed many needless snmpgets
2016-09-27 12:47:03 -05:00
Søren Rosiak
3a6c6985a3 newdevice: Added support for Cisco IPS (#4561)
* newdevice: Added support for Cisco IPS

* Add snmprec

* fix
2016-09-27 12:35:46 -05:00
Neil Lathwood
ef59d5110f Rebased + added OS Tests 2016-09-27 18:05:42 +01:00
Tony Murray
fc0871f716 Move Support New OS to the Developing menu (#4636)
Re-arrange the Developing menu, needs separators...
2016-09-27 17:52:26 +01:00
Tony Murray
02b84cf3f7 Support device group definitions from v2 (#4591)
* Support device group definitions from v2
Disable editing v2 groups.

V2 Device groups are defined as follows:
pattern = WHERE query with ? placeholders for values
params = json encoded array of values

* Can't array_unshift something that isn't an array...
2016-09-27 17:50:52 +01:00
Tony Murray
4f90d389c6 Add test for HP-1800-8g procurve switch. (#4629) 2016-09-27 15:41:28 +01:00
Neil Lathwood
5c4d383f80 fix: Fixed the old port rrd migration code to work with new rrdtool functions (#4616) 2016-09-27 09:18:57 -05:00
crcro
88dc19a323 fix for disabled/ignored (#4623) 2016-09-27 09:17:36 -05:00
kate66
3784f65abb Added MGE Comet detection (#4606)
newdevice: Added MGE detection
2016-09-27 14:49:58 +01:00
Neil Lathwood
665864e604 Added actual sysDescr string from real device 2016-09-27 07:32:54 -05:00
Neil Lathwood
6294506e38 Update netonix current descr (#4618) 2016-09-27 09:32:26 +01:00
Neil Lathwood
4d37912548 Merge pull request #4615 from librenms/issue-4614
hopefully fix quanta discovery
2016-09-27 09:15:26 +01:00
Neil Lathwood
812cf1c29d Update quanta.inc.php 2016-09-27 09:03:22 +01:00
Daniel Preussker
64fdeeb87f hopefully fix quanta discovery 2016-09-27 09:51:59 +02:00
Neil Lathwood
7b4988aab7 Merge pull request #4612 from kate66/i-agree2
I agree to the conditions of the Contributor Agreement contained in d…
2016-09-27 07:58:58 +01:00
Neil Lathwood
12014d01a6 Merge pull request #4611 from crcro/disco-fix-hp-procurve
disco: fix procurve dicovery
2016-09-27 07:54:36 +01:00
Kate Gerry
aefe587f16 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. 2016-09-26 18:45:30 -07:00
crcro
171111fe58 make procurve dicovery case insensitive 2016-09-27 03:53:00 +03:00
Neil Lathwood
dc26f097b0 fix: Run cleanup for ipmi sensor discovery (#4582)
* fix: Run cleanup for ipmi sensor discovery

* Updated check_valid_sensors calls to use ipmi as sensor type
2016-09-26 16:34:54 -05:00
Tony Murray
38d87df9be Fix netonix version (#4607) 2016-09-26 16:33:56 -05:00
Neil Lathwood
9936aa77ff Feature: Added alerts output to capture system (#4574)
* Feature: Added alerts output to capture system

* Renamed $output to $content

* removed duplicate functions
2016-09-26 16:27:27 -05:00
Neil Lathwood
601074606d Merge pull request #4600 from murrant/netonix-update
devices: Netonix switch data collection update
2016-09-26 21:56:47 +01:00
Neil Lathwood
4a9e8fd535 Merge pull request #4569 from crcro/fix-amap
fix: availability-map
2016-09-26 21:29:49 +01:00
Neil Lathwood
fbbf915d80 Merge pull request #4589 from crcro/discovery-qnap-states
disco: Add qnap hdd state sensors
2016-09-26 21:19:19 +01:00
Neil Lathwood
d3e4f6a1ce Merge pull request #4596 from crcro/disco-amazon-server
webui: added amazon server icon
2016-09-26 21:04:24 +01:00
Neil Lathwood
6f95899814 Merge pull request #4593 from sorano/patch-1
docs: Update apache applications to detail testing and additional requirements.md
2016-09-26 21:01:07 +01:00
Tony Murray
12cdec8024 Do not rely on OS shipped mibs, just our mibs. 2016-09-26 10:56:45 -05:00
Tony Murray
1b4d44b2f8 Netonix switch update
New mib
Added total power consumption and dc power input (for dc switches)
Small cleanups
2016-09-26 10:34:49 -05:00
crcro
e5fa690bed force travis recheck 2016-09-26 16:27:49 +03:00
crcro
f96a421bc6 replace special char from snmpget result, cleaner 2016-09-26 14:48:38 +03:00
crcro
f584b00233 amazon server icon 2016-09-26 13:51:30 +03:00
sorano
1bc0344b1a Update Applications.md
Just tried the Apache agent on Ubuntu 16.04 and got following error:

root@librenms:/opt/librenms-agent# /usr/lib/check_mk_agent/local/apache
Can't locate LWP/Simple.pm in @INC (you may need to install the LWP::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/lib/check_mk_agent/local/apache line 14.

Solution was to apt-get install libwww-perl. Also added verification step.
2016-09-26 12:09:16 +02:00
crcro
4669ff6d1a spaces ... 2016-09-26 12:18:00 +03:00
crcro
405fe14e4a mib contains cpu usage, my model does not support it 2016-09-26 04:40:14 +03:00
crcro
40a588135b removed header cpu usage, added hdd states sensors 2016-09-26 04:07:30 +03:00
Neil Lathwood
8b68429a06 Tidy up alert output info for poller cli (#4578) 2016-09-25 10:01:58 -05:00