Commit Graph

2691 Commits

Author SHA1 Message Date
laf
d153cf4d6b Strip && and || from query for alerts in polling 2015-11-19 08:40:49 +00:00
Daniel Preussker
03e8eacbfd Revert "Remove last logical operator from generated SQL in GenGroupSQL" 2015-11-21 09:23:17 +01:00
Thom Seddon
05d60936e6 Remove last logical operator from generated SQL in GenGroupSQL
Previously this function would output invalid SQL as a logical
operator would be included after every condition. This change
removes the final logical operator so the SQL is valid.

For example, previously the single rule:
`bgpPeers.bgpPeerRemoteAs = "6939" &&"`

Would generate:
```
SELECT DISTINCT(bgpPeers.device_id) FROM bgpPeers WHERE device_id=? && (bgpPeers.bgpPeerRemoteAs = "6939" &&) LIMIT 1
```

This changes means it will generate:
```
SELECT DISTINCT(bgpPeers.device_id) FROM bgpPeers WHERE device_id=? && (bgpPeers.bgpPeerRemoteAs = "6939") LIMIT 1
```
2015-11-20 14:58:21 +00:00
Rick Hodger
8c4baaacfd Removed commented code. 2015-11-20 13:03:01 +00:00
Rick Hodger
8b1dc95d83 Issue 1865, Juniper hardware inventory fix 2015-11-20 10:47:47 +00:00
Mike Rostermund
7a1f9e4998 Merge pull request #2442 from laf/issue-2153
Added parsing support for lat/lng coords from device location
2015-11-19 22:51:02 +01:00
Neil Lathwood
6d82bbfccf Merge pull request #2457 from ekoyle/master
Fix librenms auto-discovery
2015-11-19 19:32:14 +00:00
laf
2b92bd5fb8 Updated parse_location function 2015-11-18 22:12:27 +00:00
Neil Lathwood
1494589cd6 Merge pull request #2456 from SaaldjorMike/ligowave
Added support for LigoWave Infinity AP's
2015-11-18 22:06:22 +00:00
Eldon Koyle
fb0501588e Fix librenms auto-discovery 2015-11-18 14:48:54 -07:00
Mike Rostermund
4cb734a3d4 Added support for LigoWave Infinity AP's 2015-11-18 10:41:55 -08:00
Mike Rostermund
fc85b71207 Merge pull request #2445 from laf/issue-2426
Added missing fields when inserting into applications table
2015-11-17 23:00:58 +01:00
laf
8660745b92 Added missing fields when inserting into applications table 2015-11-16 21:07:50 -08:00
laf
7d7479b977 Added parsing support for lat/lng coords from device location 2015-11-16 18:50:52 -08:00
laf
af8df3469c Added support for per device unix-agent port 2015-11-17 00:20:06 +00:00
Paul Gear
0d2949f69e Overhaul use of rrdtool_lastupdate & STACK for rrdtool 1.4/1.5 compatibility 2015-11-15 11:48:39 +10:00
Mike Rostermund
c5f6879dfb Add Ubiquiti UniFi memory graphs to device overlib. 2015-11-12 11:12:40 -08:00
Neil Lathwood
160b37d4c0 Merge pull request #2421 from SaaldjorMike/unifi
Added support for CPU and Memory usage of Ubiquiti UniFi
2015-11-12 14:39:58 -04:00
Mike Rostermund
01922e5c5a Added support for CPU and Memory usage of Ubiquiti UniFi 2015-11-12 09:55:11 -08:00
Mike Rostermund
f181403f95 Specified which MIB should be used when polling ntpd-server information. 2015-11-11 20:37:51 +01:00
Mark Schouten
930d9b022d Move the ceph_rrd function to includes/common.inc.php 2015-11-10 12:33:52 +01:00
Mark Schouten
24550b0c02 Fix if-then-else 2015-11-10 11:44:14 +01:00
Mark Schouten
a4eb4391c5 Add Ceph support 2015-11-10 11:10:06 +01:00
Neil Lathwood
02b7b0b0f3 Merge pull request #2195 from ciscoqid/master
Use official NET-SNMP-EXTEND-MIB first for running distro command
2015-11-06 03:50:03 -04:00
Rob Gormley
fa5f5750da Add MIBs for other Cisco SB switches (SG200 series) 2015-11-05 10:34:51 -08:00
laf
cd1640fe9a Removed device_traffic_descr entry to resolv graphs 2015-11-04 20:54:54 +00:00
Zollner Robert
0a48338fe0 Fix getRates should return in and out average rates
/billing-calculate.php depends on these return values.
2015-11-02 03:48:12 +02:00
Daniel Preussker
0471087d5c Merge pull request #2361 from laf/issue-2186
Basic support for SAF Lumina radios
2015-10-29 15:18:21 +00:00
laf
b07c7e3226 http://uk.tp-link.com/favicon.ico 2015-10-28 21:56:59 +00:00
laf
cb200e9e2e Added necessary files for SAF support 2015-10-28 21:32:19 +00:00
Mike Rostermund
a929cb9fd1 Merge pull request #2182 from laf/issue-2105
Updated to disable auto-discovery by ip
2015-10-26 21:59:06 +01:00
Mike Rostermund
74ae9b7c3c Merge pull request #2189 from laf/issue-2105-2
De-dupe checks for hostname when adding hosts
2015-10-26 10:59:50 +01:00
laf
7e9dcc716b Updated function name for blahdeblah 2015-10-25 21:23:06 +00:00
Mark Nagel
55379c04a6 Adjusted unix distro detection further, simplified quote stripping (cannot
defer until the end due to successive tests). Replicated EXTEND handling
into freebsd branch.
2015-10-25 12:21:08 -07:00
vitalisator
96e9aeff70 reduce jittering on big networks 2015-10-25 19:35:08 +01:00
vitalisator
311666d97d change default solver to hierarchicalRepulsion, some default presets in visjs 2015-10-25 19:21:30 +01:00
Mark Nagel
be579b3cf9 Use official NET-SNMP-EXTEND-MIB first for running distro command,
then fallback to the older OID subtree.
2015-10-23 09:18:05 -07:00
laf
5c803277db De-dupe checks for hostname when adding hosts 2015-10-22 21:10:33 +00:00
Jimmy
a9e2582da3 Detect vcsa as vmware instead of generic 2015-10-21 11:39:59 +02:00
Mike Rostermund
8b27e04d8f Merge pull request #2175 from laf/issue-2174
Removed ping + performance graphs and tab if skip ping check
2015-10-21 00:14:29 +02:00
laf
76f862fddd Updated to disable auto-discovery by ip 2015-10-20 16:12:03 +00:00
laf
ff1fc6f143 Scrut fix 2015-10-17 21:00:53 +00:00
vitalisator
952748fa5b fixed powerdns snmp checks 2015-10-17 22:41:30 +02:00
laf
94c5afb2db Scrut fixes 2015-10-17 19:11:21 +00:00
laf
96a0abbeca Stop adding device_perf data if no ping 2015-10-17 18:51:14 +00:00
laf
bbae6e9c48 Removed ping + performance graphs and tab if skip ping check 2015-10-17 18:49:01 +00:00
Mike Rostermund
c653e3c0ee Merge pull request #2131 from laf/issue-1936
Added ability to turn off icmp checks globally or per device
2015-10-17 18:48:37 +02:00
laf
ce2c60e5ad Added version detection from Synology MIB 2015-10-16 19:27:39 +00:00
laf
ee14daf971 Added additional comware detection 2015-10-16 18:46:43 +00:00
Neil Lathwood
af3016566c Merge pull request #2135 from SaaldjorMike/reformat-issue-2133
Reformat check a bit to make it easier for adding additional oids in …
2015-10-15 14:11:38 +01:00