13863 Commits

Author SHA1 Message Date
aeedf515c5 fix: Include state descriptions in eventlog (#6968)
* fix: include state descriptions in eventlog
Pull in array_column compat library for php < 5.5

* Add state descriptions to eventlog messages
2017-07-06 08:27:02 +01:00
a3f7daff5f more specific on bugs (#6970) 2017-07-06 08:23:06 +01:00
394c4393a4 newdevice: Add Calix AXOS/E5-16F Detection (#6926)
* Add Calix AXOS/E5-16F Detection

* Update calix.yaml

* Create calix_e5-16f.snmprec

* Split out Calix to AXOS

* Delete axos.inc.php
2017-07-05 21:21:48 +01:00
6c449b41d0 webui: Split up the complex nfs v3 graphs (#6963)
* split up the complex graph

* overview page had some excessive graphs
2017-07-05 20:20:30 +01:00
39d3639733 newdevice: Added support for Rittal LCP Liquid Cooling Package (#6626)
* newdevice: Rittal LCP

* Add snmpsim file

* Change state sensor to YAML

* Clean old file

* Add state_name
2017-07-05 19:58:35 +01:00
8b627bfec9 Update Ubuntu-image.md (#6960)
advise 

http://blog.oxforddictionaries.com/2014/05/advise-advice/
2017-07-05 07:48:29 +01:00
2ba7093d9c api: Added ability to call get_graph_by_port_hostname() with hostname or id (#6936)
* Fix bug get_graph_by_port_hostname() only hostname

From the documentation:

Function: get_graph_by_port_hostname top
Get a graph of a port for a particular device.

hostname can be either the device hostname or id

But the function is only works with a hostname and not with a ID.
I have modified a few things that solve the problem.

* Update api_functions.inc.php
2017-07-04 22:41:22 +01:00
51d50edc87 docs: Added SSL config docs (#6951)
* SSL config docs

Moving from https://github.com/librenms/librenms/pull/6932 to a new file

* rename to match other docs

* tidying the formatting

* update to add SSL-configuration

* tidied up docs a little
2017-07-04 22:31:27 +01:00
9c957ee1d4 webui: Minor visual changes in schedule maintenance window and its modal (#6934)
* webui: minor visual changes in schedule maintenance window and it's modal

* Removed unnecessary comments

* Auto close alerts
2017-07-04 22:29:54 +01:00
b56c6b6adf fix: fdb tables multiple IPs and IPs from other devices adding extra rows (#6930)
Fix missing IPs because the ARP entries are on different port_id
Update arp discovery to use snmpwalk_group() additional fix in that function
Fix removal of arp entries
Fix a debug output type in fdb discovery
2017-07-04 22:27:43 +01:00
4a2f07cdca typo: Update Applications.md (#6953)
Typo: "postgres" changed to "powerdns-recursor" in powerdns SNMP section
2017-07-04 20:35:39 +02:00
a1fffa4e8f fix: Fixed state sensor values for fabos (#6947)
The state of the sensors was a value (#1-4) not an actual state (nominal, faulty etc.) on UI.

Tested device:
Brocade 300 Switch (Brocade FabricOS v6.4.1)
2017-07-04 11:41:38 +01:00
13d047c029 device: restore old junos version code as a fallback (#6945) 2017-07-04 02:10:48 +01:00
74e6c3edf5 feature: ignore web server log files ownership in validate (#6943) 2017-07-03 22:17:07 +01:00
afcc2b5e2d newdevice: Added more sensor support for raritan devices (#6929)
* newdevice: Added more sensor support for raritan devices

* Updated PDU-MIB

* Added more hover graphs to overview
2017-07-03 16:04:01 -05:00
a58a2d8677 fix: Updated sed commands to allow rrdstep.php to be used to increase and decrease values (#6941) 2017-07-03 16:02:30 -05:00
f810265cc0 feature: parallel snmp-scan.py (#6889)
* feature: parallel snmp-scan.py
Reduces scan time of a /24 from 5 minutes to 14 seconds
Work is done by addhost.php

Just tries to addhost.php hostname/ip right now
Might need some more complexity added there, but I wasn't sure what.

* respect autodiscovery.nets-exclude

* Improvements in ip handling and output
Add compatibility arguments so it can be used as a drop in replacement for snmp-scan.php

* tidy

* Handle errors from config_to_json.php

* Handle Ctrl-C better.  This is likely to get hit when someone scans a /16 or larger or an IPv6 network :)

* Move undefined outcome to proper location

* remove snmp-scan.php
2017-07-03 15:57:56 -05:00
573a4b0e62 Updated validate to detect lower case tables + added support for checking mariadb 10.2 timestamps (#6928)
* Updated validate to detect lower case tables + added support for checking mariadb 10.2 timestamps

* updated install docs
2017-07-03 15:46:45 -05:00
20b08cf595 refactor: finish logic and definition separation (#6883)
Clean up rewrites to only have function definitions
Move authentication initialization into a function
2017-07-03 15:38:58 -05:00
5020f47838 newdevice: ExtremeWireless initial wireless sensor support (#6819)
* First pass at implementing ExtremeWireless support
Includes global AP and user count, and per-AP user count

* Coding style fixes

* Tabs will be the death of me

* Add license count, fix coding nits

* PHP 5.3 support hopefully

* Graph APs configured with a max of licenses installed
2017-07-03 15:34:34 -05:00
eb1014a657 device: Updated Gamatronic ups use sysObjectID for os discovery (#6940) 2017-07-03 19:43:11 +01:00
701fbbc29b feature: Add a new locking framework that uses flock. (#6858)
Change locks to use flock, as pid checking is not
sufficient when PID Namespaces are involved.
2017-07-02 23:44:36 -05:00
f02b551145 feature: Improved install experience (#6915)
always check that the base sql has been imported.
async db building
After this merge, we could move install.php to the end of the install documentation.  Makes a more natural flow.
2017-07-01 21:28:29 +01:00
11cce1ff78 device: add APC output status state sensor (#6921) 2017-06-30 07:48:24 +01:00
08c21b5734 remove some extra html tags (#6925) 2017-06-30 07:45:18 +01:00
d8913baded docs: a couple of small fixes to the dynamic sensor docs (#6922) 2017-06-30 06:22:44 +01:00
b378d9e762 webui: Set correct button text when editing an alert template (#6916) 2017-06-29 22:03:43 -05:00
72da2c7b39 newdevice: Updated JunOS os polling to detect version correctly (#6904) 2017-06-29 21:56:27 -05:00
9a2b2ad07d docs: Update Rancid Integration
* Update and rename doc/Support/Configuration.md to doc/Support/Rancid Integration/Configuration.md

* tidy up files

* fixed config doc
2017-06-29 21:52:34 +01:00
14ed767edb fix: a couple of issues with the yaml state sensor discovery (#6912) 2017-06-29 21:12:51 +01:00
0854ff5f59 newdevice: Updated Radwin detection (#6918) 2017-06-29 21:10:10 +01:00
e8dd72e8db feature: Support fdb table on generic devices (#6902)
* feature: support fdb table on generic devices
refactored code to use snmpwalk_group
refactored ajax table code to use joins and reduce extra queries
add indexes for device_id and port_id, drop primary index
Make all columns sortable
Fix a few other small issues

* Add index for vlan_id since that field can be searched by the user

* fix whitespace

* Rename 197.sql to 198.sql

* set row count for table
2017-06-29 21:03:56 +01:00
bda5a4343e fix: Fixed auto discovery for lldp not adding new hosts (#6919) 2017-06-29 19:29:33 +01:00
a4b905e3f6 fix: Fixed netman voltage and load divisor values (#6905)
* fix: Fixed netman voltage and load divisor values

* Update to perform more checks
2017-06-29 07:23:39 -05:00
5f8729b1a0 refactor: update the default config generated by install.php (#6914) 2017-06-29 07:09:22 +01:00
5975980dee Emphasize web isntall.php (#6913) 2017-06-28 20:33:04 -05:00
aa64eb99ac fix: Fixed the index for sentry3 current + updated mibs (#6911) 2017-06-28 19:46:15 -05:00
929d7ece56 fix: Fixed checks for $entPhysicalIndex/$hrDeviceIndex being numeric (#6907) 2017-06-28 16:03:35 -05:00
7e1f7f53e3 updated donate link to use our redirect (#6903) 2017-06-28 15:45:25 -05:00
41882dfd8b fix: perf_times cleanup (#6908)
* fix: perf_times cleanup

* Truncate perf_times to save some headaches
2017-06-28 21:43:19 +01:00
d47b58bf6d newdevice: Changed Solaris and Allied discovery to yaml (#6900)
Add SunOS to callback sanitize
2017-06-28 07:53:25 +01:00
092f6922a9 newdevice: Added datacom dm1200e detection (#6901) 2017-06-28 07:52:19 +01:00
0fd7f3f5ed Fix for API services bug #6894 (#6895)
* Fixed an issue with the output including all services from a host that had a single matched service  regardless of whether they matched the filter.

* Cleaned up some bits

* Updated based on murrants suggestions

* A couple small cleanups
2017-06-28 01:00:46 -05:00
b8d8d79a0a newdevice: Added memory detection, fixed cpu polling (#6896)
* newdevice: Added memory detection, fixed cpu polling

* Added new line

* Fix temperature entPhysicalIndex too

* Edited the wrong spot :0
2017-06-28 00:54:14 -05:00
8b806a857a newdevice: Added Cpu/Mem support for dnos and ftos devices and updated detection (#6897) 2017-06-27 23:58:57 -05:00
2ee679276a updated alerting docs to correct macro link (#6898) 2017-06-27 23:57:09 -05:00
5e32474d26 feature: Added support for sensors to be discovered from yaml (#6859)
* feature: Added support for sensors to be discovered from yaml

* added discovery definitions

* Updated docs, more code updates + tests

* removed the oid_name use

* pre-set variable from scrut output

* small updates as per comments in pr

* Allow index in descr

* Added ability to skip values

* Check for numeric values

* small update of oid name
2017-06-26 23:27:57 +01:00
5d5d3816ef fix: Make various Cisco sensor descriptions start with upper case (#6891) 2017-06-26 21:40:50 +01:00
1ba6381d61 security: Enable support for secure cookies (#6868)
* Enable secure cookies for authentication

Enables secure cookies for authentication when HTTPS is used.

* Add line with example secure session cookies

* Fix comment line that's too long

* Remove session secure cookie config

* Added secure cookie config to init.php

Commented out because having this enabled will prevent the server from sending cookies over HTTPS.

* Enable secure cookies if config value provided

* Make code formatting consistent

* Remove secure cookie config

* Use $config['secure_cookies'] to set cookies

* Add default option to turn secure cookies on

* Fix formatting issues

* Set secure cookies to default to false

* Add info about secure cookies

* Fix formatting

* Remove trailing whitespace

* move secure cookie default config to defaults.inc.php

* Remove trailing whitespace

* Fix formatting

* Remove empty line by rrd config

* Remove whitespace
2017-06-26 14:21:21 +01:00
bf0df7266a feature: Added fdb discovery module (#6887)
revert the context_name changes to snmp.inc.php and use the same method as other parts of the code
2017-06-26 13:58:17 +01:00