Commit Graph

3042 Commits

Author SHA1 Message Date
Rosiak
d82ca08bc2 Remove unused code
#2934
2016-02-13 21:44:24 +01:00
Søren Rosiak
9790b97b2d Merge pull request #2991 from laf/issue-2983 2016-02-13 20:52:47 +01:00
Rosiak
f6b97248a1 Basic Barracuda Spam Firewall Support
#2993
2016-02-13 20:45:42 +01:00
laf
9059b687b2 Updated FortiOS to pick up all FortiManagers + updated rewrite for hardware 2016-02-12 14:17:57 +00:00
laf
8c53a94233 Removed old alerting dbInsert code 2016-02-11 22:27:36 +00:00
Søren Rosiak
6456bc4fec Merge pull request #2967 from laf/issue-2870 2016-02-11 22:59:06 +01:00
Neil Lathwood
fa783dc07e Merge pull request #2841 from adaniels21487/issue-2665
Cisco OTV
2016-02-10 19:49:59 +00:00
Daniel Preussker
2b55c06d9e Revert "Variable/Environment sanity" 2016-02-10 14:31:16 +00:00
f0o
a6bca987bf Enforce sanity before returning from database 2016-02-10 13:52:43 +00:00
Neil Lathwood
da9f6e5343 Merge pull request #2962 from arrmo/master
Updates for Windows 10
2016-02-09 23:21:40 +00:00
Neil Lathwood
29f3dac9be Merge pull request #2972 from murrant/issue-2883
Deal with 0 value for sensor data better.
2016-02-09 21:11:26 +00:00
Tony Murray
e3ec42c06d Deal with 0 value for sensor data better.
Issue #2883
2016-02-09 14:20:36 -06:00
Neil Lathwood
fabcd84de7 Merge pull request #2959 from murrant/netonix
Add hardware and version for Netonix.
2016-02-09 20:07:42 +00:00
Neil Lathwood
758facd4bf Merge pull request #2958 from murrant/calix
Calix Support
2016-02-09 20:06:27 +00:00
Tony Murray
f45bceecba The fanspeed is frequently 0 rpm. 2016-02-09 13:36:44 -06:00
Tony Murray
0422d8e589 Add fanspeed,temp, and voltage for Netonix switches. 2016-02-09 13:31:36 -06:00
Neil Lathwood
5f0c150d42 Merge pull request #2946 from murrant/oxidized_group_versions
Fix oxidized versioning + groups
2016-02-09 19:25:22 +00:00
laf
6e71661a3a Changed continue to break 2016-02-09 19:04:05 +00:00
Neil Lathwood
f074f25be2 Revert "Revert "Added location_map_regex"" 2016-02-09 19:02:38 +00:00
Daniel Preussker
1110836662 Revert "Added location_map_regex" 2016-02-09 20:00:54 +01:00
Neil Lathwood
3b19af910b Merge pull request #2935 from pblasquez/pblasquez-location_map_regex
Added location_map_regex
2016-02-09 18:56:55 +00:00
laf
135bbdcc43 Updated bgp-peers polling so that an snmpwalk isn't done for each bgp peer 2016-02-09 18:23:31 +00:00
Tony Murray
1b59ae9648 Use $config['mibdir'] instead of $config['mib_dir'] 2016-02-09 08:01:41 -06:00
arrmo
f2054d369b Updates for Windows 10 2016-02-08 20:15:11 -06:00
pblasquez
1b97bf069f Update rewrites.php 2016-02-08 16:09:16 -08:00
Tony Murray
21c2bb312a Do not hardcode mib path 2016-02-08 15:50:54 -06:00
Tony Murray
fc82587c3f Merge branch 'master' into netonix 2016-02-08 15:24:47 -06:00
Tony Murray
17fe1d1f66 I could not find cpu info in Calix MIBs. Just load in hr. 2016-02-08 15:01:25 -06:00
Tony Murray
f177dd6608 Merge branch 'master' into calix 2016-02-08 14:20:14 -06:00
Tony Murray
1d796fecfe Add a generic way to allow empty ifDescr on ports for an OS. 2016-02-08 13:58:03 -06:00
Tony Murray
799bb4dc5d Pull card serial numbers. Unsure if this what we want.
Set ifName as the primary port name.
2016-02-08 10:29:55 -06:00
f0o
4d0d78c48c Merge branch 'issue-386-v3' of git://github.com/BarbarossaTM/librenms
Conflicts:
	sql-schema/099.sql
2016-02-07 15:23:52 +00:00
Daniel Preussker
0dc9219e56 Merge pull request #2949 from gottaloveit/master
add Dell Networking sysObjectId
2016-02-07 14:34:10 +00:00
Daniel Preussker
a6e5bf1279 Merge pull request #2912 from laf/issue-2890
Added ifOperStatus and ifAdminStatus _prev values to db.
2016-02-07 14:25:16 +00:00
Joe Passavanti
6e35b97ea9 add Dell Networking sysObjectId
This is for Dell Networking N2048 switch
2016-02-07 05:08:37 -08:00
Daniel Preussker
e2151bfc66 Merge pull request #2908 from khobbits/master
Add ./validate.php -m rrdcheck
2016-02-07 11:47:33 +00:00
Tony Murray
6f31755dfb Use poll_device;
List the inserted cards in "features".
2016-02-05 18:14:44 -06:00
Tony Murray
a34b958352 Add hardware and version for Netonix. 2016-02-05 17:57:17 -06:00
Tony Murray
8eda8e0bfc Fix Oxidized node reloading. 2016-02-05 16:29:42 -06:00
Tony Murray
4aa9838eda add discover, polling and mibs.
work around empty ifDesc
2016-02-05 14:26:06 -06:00
Tony Murray
3970753c86 Merge remote-tracking branch 'upstream/master' into calix 2016-02-05 14:24:04 -06:00
Maximilian Wilhelm
6ef1cf9e43 Add ability to map ports based on their ifAlias.
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-05 11:40:37 +01:00
pblasquez
cf5b6ba121 Update rewrites.php 2016-02-04 16:11:38 -08:00
pblasquez
937937aa09 Update core.inc.php 2016-02-04 16:10:28 -08:00
Tony Murray
e7c59dbd57 Initial Calix E7 Support 2016-02-03 16:01:31 -06:00
Maximilian Wilhelm
76a29f41e3 Fix detection of deleted interfaces for ifName/ifDescr port association mode.
The previous ifIndex based port mapping schema did detect deleted ports
  by checking ports in the DB against the ports currently polled via SNMP
  which breaks when using another port mapping schema. This commit fixes
  problem by checking known and found ports by their port_id.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 22:48:18 +01:00
Maximilian Wilhelm
ec5d0dfd89 Remove redundant code from port-{adsl,etherlike,poe} polling submodules.
$this_port already gets defined within include/polling/ports.inc.php
  so there's no need to redefine it again in each submodule.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 21:14:25 +01:00
Maximilian Wilhelm
5521002b37 Fix port association for adsl, etherlike and poe port information.
In 2c9df26bbf I broke the association of
  ports in the DB and ports just polled via SNMP for the adsl, etherlike
  and poe submodules and no one noticed. This fixes this issue. Sorry.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 21:14:25 +01:00
Maximilian Wilhelm
79eab54fd9 Allow ignoring unmapable interfaces in poller.
When using the ifName or ifDescr as means to map discovered ports to
  known ports in the DB (think of port association mode) it's possible
  that we're facing the problem that the ifName or ifDescr polled from
  the device is unset or an empty string (like when querying some ubnt
  devices...). If this happends we have no way to map this port to any
  port found in the database. As reported this situation may occur for
  the time of one poll and might resolve automagically before the next
  poller run happens. Without this special case this would lead to new
  ports added to the database each time this situation occurs. To give
  the user the choice between »a lot of new ports« and »some poll runs
  are missed but ports stay stable« the 'ignore_unmapable_port' option
  has been added to configure this behaviour. To skip the port in this
  loop is sufficient as the next loop is looping only over ports found
  in the database and "maps back". As we did not add a new port to the
  DB here, there's no port to be mapped to.

  I'm using the in_array() check here, as I'm not sure if an "ifIndex"
  can be legally set to 0, which would yield True when checking if the
  value is empty().

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 21:14:24 +01:00
Paul Gear
a81776e77b Merge pull request #2862 from laf/issue-2859
Added ability to ignore device sensors from entity mib
2016-02-03 15:31:32 +10:00