Commit Graph

2204 Commits

Author SHA1 Message Date
laf
04a4987a23 Merge branch 'master' of github.com:laf/librenms into issue-laf-110-new
Conflicts:
	includes/defaults.inc.php
2015-05-25 18:06:49 +01:00
laf
0ccbc7a6b1 More updates 2015-05-25 18:05:11 +01:00
Alan Gregory
75aab599ee Changed Mib to Numeric OID on cpu discovery 2015-05-25 11:37:43 -03:00
Alan Gregory
7469657910 Merge branch 'fiberhome' of https://github.com/alangregory/librenms into fiberhome 2015-05-25 11:33:52 -03:00
Daniel Preussker
c199be62b2 Merge pull request #1125 from laf/issue-1033
Added ability to customise ports transit/peering/core/custom descr
2015-05-25 06:54:05 +00:00
laf
388d30d2a6 updating to f0os function 2015-05-25 02:12:48 +01:00
laf
071dd060a3 Added fallback for poller_group if empty 2015-05-24 20:48:54 +01:00
laf
1503013344 Added ability to customise ports transit/peering/core/custom descr 2015-05-24 20:07:37 +01:00
Rosiak
954632de10 Ubiquiti EdgeOS - Fix missing CPU load graphs
- No graphs were generated for the CPU load, now fixed. Tested on
EdgeRouter Lite 3-Port
2015-05-22 22:26:31 +02:00
Alan Gregory
1d245053b1 Removed ?> tag on non template file (Best Pratices) 2015-05-22 15:46:11 -03:00
Alan Gregory
218636896a Added Fiberhome Mempools Discovery/Pooler 2015-05-22 11:23:52 -03:00
laf
ee4aaf1749 Tidied up web interface to use standard dateformats 2015-05-22 14:05:09 +01:00
laf
6496e6ece4 Consistent date formatting from MySQL 2015-05-22 13:38:52 +01:00
Alan Gregory
25bf55a172 Added FiiberHome Cpu Discovery/Poller Added Support 2015-05-22 09:05:43 -03:00
f0o
e242924fd8
Introduce config-switch to regather contacts before dispatch 2015-05-22 10:26:38 +00:00
Daniel Preussker
0be611de4d Merge pull request #1087 from laf/enable-ip-add
Removed code that performs hostname check
2015-05-20 19:48:09 +00:00
f0o
fe412952c1
Add config-option to exclude SysContact from alerts 2015-05-20 16:29:39 +00:00
laf
ac0221f7e5 Update SQL query for ospf_nbrs lookup to use device_id 2015-05-20 13:41:23 +01:00
laf
23f2825d1f Removed code that performs hostname check 2015-05-20 13:22:58 +01:00
Neil Lathwood
c9492ac4cc Merge pull request #1086 from NURDspace/issue-1085
Removed if for junos check so srx dataplane cpu is checked
2015-05-20 12:19:57 +01:00
Rudy Hardeman
fc16d9f410 Fixed if 2015-05-20 13:04:45 +02:00
Rudy Hardeman
f0f1038b42 Added debug option 2015-05-20 13:00:32 +02:00
Neil Lathwood
22ec1ecf28 Merge pull request #1082 from SaaldjorMike/asa-os1
Added support for fetching model and software of Cisco ASA 5585-SSP40
2015-05-20 11:07:58 +01:00
Rudy Hardeman
89c5af8ff9 Removed if for junos check so srx dataplane cpu is checked 2015-05-20 11:59:59 +02:00
Mike Rostermund
6029fdcf83 Added support for fetching model and software of Cisco ASA 5585-SSP40 2015-05-19 22:34:41 +02:00
Rudy Hardeman
7a59c61a30 Scrut bug squash 2015-05-19 22:32:46 +02:00
Rudy Hardeman
2ec929b571 initial version 2015-05-19 22:19:13 +02:00
f0o
1f8db156eb
Introduce own librenms user and remove rrds when removing a device 2015-05-19 14:44:13 +00:00
laf
57a08a0ade Finished dell rac support and updated mib 2015-05-19 01:04:17 +01:00
laf
c332e17c3a Added Fanspeed support via Dell OpenManage + Docs 2015-05-18 22:23:27 +01:00
Neil Lathwood
baeec03d78 Merge pull request #1053 from paulgear/master
Make OSPF & ARP autodiscovery independent of xDP autodiscovery
2015-05-18 11:35:39 +01:00
Paul Gear
ab66b453e4 Make OSPF & ARP autodiscovery independent of xDP autodiscovery
Both OSPF & ARP discovery use discover_new_device(), but it was checking
$config[autodiscovery][xdp] internally, meaning xDP had to be enabled for the other two to work.
2015-05-18 20:32:11 +10:00
f0o
54c6696d3c
Disable Legacy-Alerting 2015-05-18 10:31:17 +00:00
f0o
4c10cb625b
Honour 'Disable all alerting for this host'
Fixes some redundancy in macros (parentesis)
2015-05-18 10:23:55 +00:00
Rudy Hardeman
14fd2dd89f clean up 2015-05-17 18:25:03 +02:00
Rudy Hardeman
39ae2f3578 Forgot the change the mib 2015-05-17 18:17:20 +02:00
Rudy Hardeman
d287e47806 bug fix 2015-05-17 18:16:12 +02:00
Rudy Hardeman
6ff61c5624 Update for getting sensor devider from snmp 2015-05-17 18:12:30 +02:00
Rudy Hardeman
05b95d2b8e Best Practice fixes 2015-05-17 16:53:03 +02:00
Rudy Hardeman
73d06758d0 Raritan PX iPDU inlet support 2015-05-17 16:42:09 +02:00
Neil Lathwood
f0347f8770 Merge pull request #1044 from f0o/issue-950
Allow a user-defined window to add tolerance to delay-values
2015-05-17 13:34:30 +01:00
Neil Lathwood
b7ef9d2cab Merge pull request #1041 from f0o/issue-1039
Added Domain-Expire check based on Nagios-Plugins
2015-05-17 13:27:28 +01:00
Neil Lathwood
6c7a92d84a Merge pull request #1040 from f0o/issue-1038
Added TLS/SSL Cert checks based on nagios-plugins
2015-05-17 13:26:45 +01:00
f0o
6624c17534
Allow a user-defined window to add tolerance to delay-values
This is to counter cronjob irregularities as they arent always executed on *:00 dead
2015-05-17 12:15:02 +00:00
f0o
7b889ae5a8
Added Domain-Expire check based on Nagios-Plugins
User-Contributed Nagios-Plugin can be obtained from: https://raw.githubusercontent.com/glensc/nagios-plugin-check_domain/master/check_domain.sh
2015-05-17 10:40:49 +00:00
f0o
119ef8ed86
Added TLS/SSL Cert checks based on nagios-plugins 2015-05-17 10:07:49 +00:00
Alan Gregory
2bf4786f92 Removed echos from discovery | Reverted custom temperature poller 2015-05-16 22:05:29 -03:00
Alan Gregory
9b2ef2153d Added Fiberhome Temeprature Discvover and Poller
Added option on includes/polling/functions.inc.php for especific MIB temperature polling
2015-05-16 21:08:40 -03:00
Alan Gregory
114da3f68e Added Fiberhome Os Icon and Os definition 2015-05-16 19:35:26 -03:00
Alan Gregory
faecea61e2 Add OS Discovery and Poller 2015-05-16 05:06:51 -03:00
laf
8327466d14 Adding alerting config 2015-05-15 14:19:45 +01:00
laf
d315014c96 Updated to use isset rather than array check for speed 2015-05-14 21:56:34 +01:00
laf
6e84535031 Dynamic config system 2015-05-14 21:54:33 +01:00
Rudy Hardeman
10e9daa253 Fixed bug with temp was deviced by 2 2015-05-14 21:52:43 +02:00
Neil Lathwood
309014a924 Merge pull request #1006 from f0o/issue-1005
Added Post-Formating fix for time-macros
2015-05-14 15:42:16 +01:00
Neil Lathwood
682deabe1e Merge pull request #1004 from f0o/issue-973
PagerDuty transport
2015-05-14 15:41:19 +01:00
f0o
543573d27c
Added Post-Formating fix for time-macros 2015-05-14 14:09:20 +00:00
f0o
477a857a77
PagerDuty transport draft 2015-05-14 13:48:17 +00:00
Daniel Preussker
f19edab751 Merge pull request #971 from laf/issue-963
Added Temperature sensor support for NetApp
2015-05-14 13:34:48 +00:00
Daniel Preussker
862256aace Merge pull request #998 from laf/issue-994
Added support for custom customer descriptions in ifDescr
2015-05-14 13:34:06 +00:00
Daniel Preussker
4dc35ac360 Merge pull request #996 from laf/port-relationship
Added flag to disable port relationship in ports list for a device
2015-05-14 11:46:42 +00:00
laf
8f8ef81799 Added support for custom customer descriptions in ifDescr 2015-05-14 00:37:40 +01:00
Neil Lathwood
0c4ff03cda Merge pull request #981 from NURDspace/apc-fix
Fixed apc powerbar phase limit discovery for AP7852 firmware: 2.7.3
2015-05-13 23:46:38 +01:00
Neil Lathwood
c743d04fb1 Merge pull request #992 from f0o/fix-graphperiods
Set timeperiods to current polling-period.
2015-05-13 23:37:14 +01:00
laf
4a9b01caf0 Added flag to disable port relationship in ports list for a device 2015-05-13 23:01:26 +01:00
Daniel Preussker
94900f14b7 Merge pull request #977 from laf/issue-975
Added a new db field to record when custom high/low limits are set and stop them being overwrote
2015-05-13 19:00:54 +00:00
Daniel Preussker
d5a385cf1c Merge pull request #986 from laf/issue-867
Added disk temp for Synology DSM
2015-05-13 19:00:11 +00:00
f0o
d2ecfdd9e4
Set timeperiods to current polling-period.
This makes caching of graphs a lot easier.
2015-05-13 17:41:32 +00:00
Neil Lathwood
3e3ea20f76 Merge pull request #988 from NURDspace/issue-985
IPMI Detection/Discovery
2015-05-13 15:19:01 +01:00
Neil Lathwood
3d7d0fb4fd Merge pull request #987 from f0o/icmp-servicecheck
Added ICMP service-check
2015-05-13 14:25:31 +01:00
Alan Gregory
add236c7e0 Fix wrong parameter substr 2015-05-13 09:47:12 -03:00
Neil Lathwood
33dc8d50c7 Merge pull request #984 from alangregory/datacom
Fix for 4 Digit CPU%
2015-05-13 12:43:46 +01:00
f0o
274474f0c7
Added ICMP service-check 2015-05-13 08:08:24 +00:00
Rudy Hardeman
2ff626b91b Added output for discovery to show used type 2015-05-13 08:37:08 +02:00
Rudy Hardeman
41ad518c25 Initial IPMI type detect version 2015-05-13 08:33:48 +02:00
Rudy Hardeman
33162e2e74 Small fix 2015-05-13 00:02:05 +02:00
Rudy Hardeman
2f53708d5a Bugfix 2015-05-12 23:40:20 +02:00
Rudy Hardeman
a5e8c36706 Fix for other apc devices 2015-05-12 23:34:01 +02:00
Rudy Hardeman
37d3ff0f2a Clean the code changed the phase discovery 2015-05-12 23:29:47 +02:00
Rudy Hardeman
c1702d643e Miner fixes 2015-05-12 22:53:01 +02:00
Neil Lathwood
6d11b38eb6 Merge pull request #982 from NURDspace/ilo-support
Ilo temperature support
2015-05-12 21:20:26 +01:00
Rudy Hardeman
7075bad196 HP ilo temperature: Fixed bug and Best Practice 2015-05-12 22:07:43 +02:00
Rudy Hardeman
9c3c39aee4 HP ilo temperature: Removed lookup array, lookup name from mib 2015-05-12 21:53:41 +02:00
Alan Gregory
6f72be7458 Added pooler parameters 2015-05-12 16:04:50 -03:00
Alan Gregory
e4940f01e9 Fix form 4 digit CPU usage on some firmware versions 2015-05-12 15:51:51 -03:00
Rudy Hardeman
e5b2a119d6 Added temerature support for hp ilo (using the snmp agent) 2015-05-12 13:46:30 +02:00
Neil Lathwood
ebc6908fb6 Merge pull request #960 from mmarchand/fixifaliasparse
Fix ifalias parsing
2015-05-12 12:32:59 +01:00
Rudy Hardeman
7600cc4f85 Fixed apc powerbar phase limit discovery for AP7852 firmware: 2.7.3 2015-05-12 11:56:18 +02:00
laf
a586eb21d0 Added a new db field to record when custom high/low limits are set and stop them being overwrote 2015-05-12 10:10:03 +01:00
laf
0d2148c8bc Added Temperature sensor support for NetApp 2015-05-11 22:01:26 +01:00
Daniel Preussker
c10aa240f7 Merge pull request #967 from laf/issue-963
Added support for NetApp detection + disks
2015-05-11 17:23:24 +00:00
laf
f7aee3520a Added netapp detection and disk support 2015-05-11 15:54:57 +01:00
laf
9614a203ca Added netapp storage support and restructured storage files/dir 2015-05-11 14:28:54 +01:00
f0o
a8e5880423
Fix logic bugs and strip %% 2015-05-11 13:09:51 +00:00
f0o
651f9d9d87
Added sanity check 2015-05-11 12:15:20 +00:00
f0o
25a9535b95
Rewrite rrdtool_escape 2015-05-11 11:22:36 +00:00
Mickael Marchand
9098e81835 Merge branch 'master' of https://github.com/librenms/librenms into fixifaliasparse 2015-05-11 12:33:18 +02:00
Mickael Marchand
8705dfa033 Fix ifAlias parsing when the description contains "="
It might also fix a few other parsing issues involving "=" in other snmp fields
2015-05-11 12:25:59 +02:00
f0o
d16784c040
This is not a fix for the issue!
It does however minimize the risk of running into zombies for certain distribution's php5.x packages.
It's been said it works for:
	Ubuntu 14.04.2 under Apache2's Mod-PHP using php5.5
	OpenSuSE 13.2 under Apache2's Mod-PHP using php5.6
	Debian 8 under Apache2's Mod-PHP and PHP-FPM using php5.6
2015-05-11 09:12:29 +00:00
f0o
fe031b214e
Fix a port-name issue for recent snmp versions for linux. (Found in Debian Jessie) 2015-05-10 16:36:04 +00:00
Neil Lathwood
4bb05363a1 Merge pull request #947 from f0o/issue-923
Basic Ubiquiti EdgeSwitch implementation
2015-05-09 22:47:36 +01:00
Neil Lathwood
fef06b5f35 Merge pull request #946 from f0o/issue-945
Add port-rewrite options
2015-05-09 22:46:05 +01:00
Ultra2D
05e3282cce Merge branch 'master' into issue-714 2015-05-09 17:17:51 +02:00
f0o
f9dd9c47c0
Basic Ubiquiti EdgeSwitch implementation 2015-05-09 12:49:22 +00:00
f0o
5ce9fbc388
Add port-rewrite options 2015-05-09 12:33:38 +00:00
laf
a25fc0d507 Removed cpu / memory graphs 2015-05-08 21:27:16 +01:00
laf
606c81d023 Added basic netgear detection 2015-05-08 19:34:24 +01:00
Neil Lathwood
bed7c08ae2 Merge pull request #941 from f0o/issue-926
Set defaults for AddHost on xDP discovery
2015-05-08 18:54:32 +01:00
f0o
34f1f11923
Set defaults for AddHost on xDP discovery 2015-05-08 17:47:25 +00:00
f0o
1ed51dad65
Force relative rrd-paths by prefixing rrd_dir with './'
Allow empty string as rrdcached_dir values
2015-05-08 12:58:09 +00:00
Daniel Preussker
bf5ff217ce Merge pull request #938 from filippog/sentry_smart_cdu
sentry3: add Sentry Smart CDU detection
2015-05-08 12:39:21 +00:00
Filippo Giunchedi
fe1be15286 sentry3: add Sentry Smart CDU detection
The polled SNMP OIDs are the same as Switched CDU, thus match both.
2015-05-08 14:05:34 +02:00
Neil Lathwood
48ea557c5a Merge pull request #932 from f0o/issue-931
Allow alerting on tables with relative/indirect glues.
2015-05-07 21:18:02 +01:00
f0o
6ab9b9727e
Make scrut happy 2015-05-07 20:05:47 +00:00
f0o
fadaffac21
Allow alerting on tables with relative/indirect glues.
This commit introduces a lookup using an adaption of left/right expansion searches to find a missing glue-column across several layers of relations.
You can now alert on data having a glue mapped to other entities as long as it resolves to 'device_id' in under 30 cycles.
First intention of usage is to alert on bill-usages.
The bills-table does not contain a valid 'device_id' glue and has to be resolved via 'bills.bill_id -> bill_ports.port_id -> ports.device_id'.
This example consumes 3+1 cycles.
2015-05-07 14:22:16 +00:00
f0o
0279c0f76e
Allow per-OS definitions of bad_iftype, bad_if, bad_if_regexp
Supported:
```php
	$config['os'][$os]['bad_if'][] = '...';
	$config['os'][$os]['bad_if_regexp'][] = '...';
	$config['os'][$os]['bad_iftype'][] = '...';
```
Best to be used in `includes/definitions.inc.php`
2015-05-07 10:24:26 +00:00
laf
dc0d12936c Added support for Oxidized 2015-05-06 22:52:54 +01:00
laf
cd38ad6bb6 Fixed load / current issue 2015-05-04 18:20:52 +01:00
laf
0bf3b518f5 Merge branch 'master' of github.com:laf/librenms into issue-798
Conflicts:
	includes/polling/functions.inc.php
2015-05-04 09:16:48 +01:00
Neil Lathwood
fa06134e76 Merge pull request #894 from Rosiak/master
Add temp polling for IBM Flexsystem switches
2015-05-03 14:38:01 +01:00
Søren Rosiak
b124c280aa Update functions.inc.php
- Add extra safety check
2015-05-03 14:33:33 +02:00
Daniel Preussker
2be1157b68 Merge pull request #888 from laf/issue-759
Added load and current for apc ups units
2015-05-03 10:39:11 +00:00
Søren Rosiak
92b9865f27 Update ibmnos.inc.php
- Updated to fit suggestions from scrut
2015-05-02 12:24:09 +02:00
Rosiak
94381f9d4f Add temp polling for IBM Flexsystem switches
- Able to poll temps from IBM Flexsystem switches
- Convert temp response to digit
2015-05-01 17:46:58 +02:00
laf
965b0df8cb Scrut fixes 2015-05-01 11:22:36 +01:00
laf
8093e87a49 Updated nested addhosts to use passed variables to initial addhost call 2015-04-30 21:39:10 +01:00
laf
9f9a7a8602 Added load as a new category 2015-04-30 19:04:19 +01:00
laf
496c8d611f Updated division 2015-04-30 19:04:19 +01:00
laf
ccedbf14fc Added index to snmp get 2015-04-30 19:04:19 +01:00
laf
3e1ad90115 Added + to mibs 2015-04-30 19:04:19 +01:00
laf
46e11b044c Updates to make the apc ups more dynamic 2015-04-30 19:04:18 +01:00
laf
60d62cada4 Updated to use normal structure 2015-04-30 19:04:18 +01:00
Neil Lathwood
266306d5e5 changed divisor 2015-04-30 19:04:18 +01:00
Neil Lathwood
b992bac145 using snmpwalk instead of get 2015-04-30 19:04:18 +01:00
laf
0442825948 Actually use the correct mib 2015-04-30 19:04:18 +01:00
laf
ce4bfe5062 Added support for APC OutputLoad 2015-04-30 19:04:18 +01:00
laf
19790fa514 Some more small tweaks to get everything together 2015-04-30 18:23:42 +01:00
laf
0f43550fcf t # This is a combination of 11 commits.
More mibs needed from http://www.ieee802.org/1/files/public/MIBs/

Updated mib names

Updated poller function and siklu call

Updates for Siklu detection

Removed one graph not supported

Added rfOperationalFrequency graph

Removed modulation graph

Work on siklu support

Siklu packets supports

Last updates for Siklu support

Updated more siklu support
2015-04-30 16:55:06 +01:00
laf
d56a7e01ca Added RADIO-BRIDGE-MIB if os is siklu
Updated file for siklu
2015-04-30 16:55:00 +01:00
laf
bf24e793b5 Siklu RADIO-BRIGE-MIB provided by user
Added polling files

Added system volts and temp
2015-04-30 16:54:03 +01:00
Neil Lathwood
8a0394d5a4 Merge pull request #874 from xxorde/master
cleanup2
2015-04-29 10:25:33 +01:00
laf
c5bfacaa2f Added support for disk and system temps for Synology dsm 2015-04-29 01:07:18 +01:00
Alexander Sosna
5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
laf
62f523529f Added config option web_mouseover to disable/enable mouseover popups 2015-04-28 21:14:31 +01:00
Neil Lathwood
ce8193d541 Merge pull request #871 from f0o/issue-870
Pre-Formatting rules to make parsing easier.
2015-04-28 15:23:41 +01:00
f0o
a2c1ba27d6
Pre-Formatting rules to make parsing easier. 2015-04-28 13:49:53 +00:00
Daniel Preussker
8f3a3b96ae Merge pull request #866 from laf/issue-laf-859
Added support for using rrdcached via tcp connections
2015-04-27 18:29:21 +02:00
Neil Lathwood
bcf3c5c541 Merge pull request #863 from f0o/alert_macros
Alerting-Update
2015-04-27 11:21:22 +01:00
laf
567a31f45f Added support for using rrdcached via tcp connections 2015-04-27 10:04:57 +01:00
Neil Lathwood
f12cc78c04 Revert "Fix filename for rrdcached usage." 2015-04-27 09:39:11 +01:00