14007 Commits

Author SHA1 Message Date
5dfff2207b feature: Create librenms-irc.service (#7087)
* Create librenms-irc.service

basic systemd start up script goes in /etc/systemd/system/librenms-irc.service it is set to start at boot, but it can be stopped or started just like any other systemd script ie. systemctl start librenms-irc.service

* Small changes
2017-08-16 13:59:02 -05:00
96b010a735 feature: Forced OS Cache rebuild for unit tests (#7163) 2017-08-16 13:58:10 -05:00
1f98bf46a5 Update Using-Git.md (#7159) 2017-08-15 15:59:58 +01:00
7b97e0e761 Attempt to fix repeated sql issue we come across (#7123)
* Attempt to fix repeated sql issue we come across

* renamed sql file
2017-08-14 22:00:41 +01:00
dc41c9d565 newdevice: Udated edgecos OS polling to include more models
* Udated edgecos OS polling V2

* Udated edgecos OS polling V2

* Udated edgecos OS polling V2
2017-08-14 14:06:25 +01:00
8d5ae076bd newdevice: Updated AKCP sensorProbe detection (#7152) 2017-08-13 21:02:28 +01:00
806f5cce74 newdevice: Added additional sensor support for Cisco ONS (#7096)
* newdevice: Added additional sensor support for Cisco ONS

* updated discovery yaml + added mibs
2017-08-13 20:21:55 +01:00
262a3967ec docs: Centralised the Metric storage docs (#7109) 2017-08-13 19:18:19 +01:00
fe408a1f7c webui: Removed ability to use OR for generating rules (#7150) 2017-08-13 18:44:53 +01:00
1e4be3bf4a refactor: Udated edgecos OS polling (#7149) 2017-08-13 13:32:35 +01:00
2370c08cbd newdevice: Added RSSI Support for Cisco IOS wireless devices (#7147) 2017-08-12 21:54:50 +01:00
c5acb65b2f fix: Escape sensor_descr_fixed in dBm sensors graph (#7146)
* Escape sensor_descr_fixed so that graphs with ':' in sensor_descr can be rendered

* Remove superfluous calls to substr and str_pad
2017-08-12 21:05:21 +01:00
5ed7003b43 fix: Fixed issue with column size of ifTrunk (#7125)
* fix: Fix potential issue with column size of ifTrunk

* renemed sql file

* updated db_schema.yaml
2017-08-12 21:03:17 +01:00
3594f494eb newdevice: Added support for Gude ETS devices (#7145) 2017-08-12 20:44:42 +01:00
34d0fc3199 refactor: Ability to edit default alert template (#7121)
* newfeature: ability to edit default alert template

* Fix style errors

* Added missing db query

* Removed unnecessary code, and added faq section

* Minor documentation about default alert template. And put back wrongly removed lines

* Fixing the silly old mistakes... again
2017-08-12 20:21:13 +01:00
Etz
0ebf436d47 refactor: Replace escapeshellcmd with Purifier in service checks (#7118)
* fix: issue #4934

Required for service checks, which include multiple quotes or regex.

Proposed patch tested, works.

* fix: issue #4934

Required for service checks, which include multiple quotes or regex.

Proposed patch tested, works.
2017-08-12 20:19:12 +01:00
a062350cbd Fix RPI frequency/voltage sensors (#7144)
* Update linux.inc.php

Fix RPI sensors

* Update linux.inc.php

Fix RPI sensors
2017-08-12 14:55:33 +01:00
25ec0be8d3 newdevice: Added support for Trango Apex Lynx OS (#7142)
* Added discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS
2017-08-11 23:09:07 +01:00
a84392cff6 newdevice: Added dry contact state support for AKCP devices
* feature: Add AKCP dry contact state support

fix #7100

* Updated to use yaml
2017-08-11 23:05:18 +01:00
cdf8021843 snmp exec support (#7126)
* I agree to the conditions of the Contributor Agreement contained in
doc/General/Contributing.md.

* add support for snmpd exec
2017-08-11 22:11:02 +01:00
38cb8ab5db docs: Allow host renames with selinux enforcing for CentOS installs
* Allow host renames with selinux enforcing

you have to change the fcontext of /opt/librenms/rrd/ to allow read/write.

* Update Installation-CentOS-7-Nginx.md

Changed to add semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/rrd(/.*)?' to complete the selinux change.

* Update Installation-CentOS-7-Apache.md
2017-08-11 09:34:21 +01:00
4e4a9d919e Update avaya-ers.inc.php (#7139)
noticed that I didn't rename the array on line 46. 
If we don't need to declare it here then it can be deleted.
2017-08-10 17:14:51 +01:00
a44dc7bd28 fix bugs introduced to address-search (#7138) 2017-08-10 09:07:39 -05:00
34a070f524 newdevice: Added fan and temp sensor state discovery Avaya ERS
* newdevice: Added support for Emerson energy systems (#7128)

* newdevice: Added support for Emerson energy systems

* added missing test

* Update ees.yaml

Added Avaya ERS fan and temp state discovery

* removed some left over debug code

Update avaya-ers.inc.php
2017-08-10 11:24:11 +01:00
aca772511b Update ees.yaml to use correct overview graphs (#7137)
* Update ees.yaml

* Update ees.yaml
2017-08-09 19:17:31 +01:00
3ca6f84013 fix: bug in ipv62snmp function (#7135)
typo compressed instead of uncompressed
Tidied up the function and added unit tests.
2017-08-09 08:47:35 -05:00
ece0488d96 fix: missed call to removed is_ip function (#7132) 2017-08-08 16:23:03 -05:00
40f25aa17a fix: Fixed Raspberry Pi sensors (#7131)
* fix: Fixing Raspberry Pi sensors

* Update linux.inc.php

* Update linux.inc.php

* Update linux.inc.php
2017-08-08 21:31:22 +01:00
1098529c62 fix: Check session directory is writable before install.php (#7103)
Drop pear check.
A few html/bootstrap cleanups too.
2017-08-08 20:26:03 +01:00
b31188c762 fix: Raritan CPU temperature discovery (#7130) 2017-08-08 20:17:03 +01:00
1d777693e1 feature: New IP parsing classes. Removes usage of Pear Net_IPv4 and Net_IPv6. (#7106)
* Refactor remove use of pear Net_IPv4 and Net_IPv6

Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%.  Please test.

Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.

Add support for ipv6 fo ipInNetwork() function

Add phpdocs to functions
Remove accidental inclusion

Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()

tidy parsing cidr network

Change to a class based implementation.

Update phpdocs.
Fully catch exceptions for hex parsing.

Fix mistake.

support older phpunit versions

Fix php shifting to negative with php 5

* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.

* Also remove colons from hex strings.

* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
2017-08-08 14:14:58 -05:00
d8140467ae newdevice: Added support for Emerson energy systems (#7128)
* newdevice: Added support for Emerson energy systems

* added missing test

* Update ees.yaml
2017-08-08 07:58:57 +01:00
649795df86 tests: Tests for errors in mib files (#7030)
* tests: Tests for errors in mib files

* Some additional mib test

* Use groups to exclude mib tests from the default test run

* Enable per-mib tests too

* Refactor tests for easy filtering with @dir or @file (relative to mib_dir)
2017-08-07 11:32:13 -05:00
4e56ee17b8 newdevice: Added detection for Alteon OS
* Create radware.yaml

Add Support for radware/Alteon application Switch

* Update radware.yaml

Remove comment

* Update radware.yaml

remove comment

* Create radware.snmprec

* Add files via upload

* Update radware.svg

* Update and rename radware.yaml to alteonos.yaml

Change os, group

* Rename radware.snmprec to alteonos.snmprec

* Removed mib-dir
2017-08-04 20:16:46 +01:00
707b6c6954 feature: Added support to cisco sensors to link them to ports + macro/docs for alerting (#6959)
* feature: Added support to cisco sensors to link them to ports + macro/docs for alerting

* renamed sql
2017-08-04 19:37:50 +01:00
0d36244eda Fix string quoting in snmp trim (#7120) 2017-08-04 08:03:03 -05:00
e6274720a7 fix: Strip " and / from snmpwalk_cache_oid() (#7063)
* fix: Strip " and / from snmpwalk_cache_oid()

* updated trim()

* Remove redundant trim()
2017-08-04 07:55:13 +01:00
b8398d32b0 newdevice: Added additional sensors for Microsemi PowerDsine PoE Switches (#7114)
* Added power, voltage and temperature sensors for microsemi powerdsine poe switch

* Use MIB, switch to yaml discovery

* Revert "Use MIB, switch to yaml discovery"
2017-08-04 07:47:49 +01:00
0ff847a9b3 newdevice: Added detection for NEC Univerge devices
newdevice: Added detection for NEC Univerge devices
2017-08-03 19:01:01 +01:00
779ed8bc3d fix: Fixed Raspberry Pi sensors support
fix: Fixed Raspberry Pi sensors support
2017-08-03 17:11:08 +01:00
be4a4cd5cf webui: Update avaya-ers to use ifName for displaying
changed avaya-ers.yaml to show ifName in WebUI
2017-08-03 17:09:52 +01:00
dc1b68d743 changed yaml to show ifName in WebUI
ERS ifDescr is far to long and makes lists of ports unwieldy.
Changing it to ifName gives the same info, but in a shorter form.
2017-08-03 15:53:35 +01:00
573ccd415c fix: Added missing get_group_list() to ldap-authorization auth method
Added get_group_list() to ldap-authorization. The function was copied…
2017-08-02 22:45:52 +01:00
7a36200b24 newdevice: Added VLAN discovery support for Avaya ERS devices
Added basic VLAN disco support for Avaya-ERS switches
2017-08-02 22:42:16 +01:00
5d135b5283 newdevice: Added CPU temperature for QNAP devices
Updated qnap.inc.php to include CPU temps
2017-08-02 22:02:50 +01:00
4d14d5b1aa Update qnap.inc.php
Tested on QNAP TS-653 Pro, TS-851 and TS-859
2017-08-02 21:04:22 +01:00
bc72a487ad Update qnap.inc.php 2017-08-02 20:37:07 +01:00
laf
51f703ea04 newdevice: Added detection for NEC Univerge devices 2017-08-02 20:17:47 +01:00
Etz
115515f966 fix: Service warning/critical alert rules (#7105)
Name and rule statements were swapped.
2017-08-02 09:20:45 -05:00
2e2e046a81 Remove blank line at the end of the file. 2017-08-02 08:32:43 -04:00