Commit Graph
20 Commits
Author SHA1 Message Date
Tom SealeyandNeil Lathwood ecfdb681a9 bug: Fixed high/low calculations (#8603)
* changed limit values in routeros.yaml to allow for the divisor value of 10

* changed the code so divisor/multiplier is only used for oids

* updated json test file
2018-04-23 21:30:13 +01:00
Tom SealeyandNeil Lathwood 63cc936f60 docs: Created Gateone 3rd party integration doc (#8229)
* Create Gateone.md

Doc for Gateone integration.
Credit to davama who wrote most of this.

https://github.com/davama/librenms/commit/f6a7e5973f7aca86c65e651eb45bf513c66d27f1

* Update Gateone.md

* Update mkdocs.yml

added gateone.md
2018-02-10 20:52:26 +00:00
Tom SealeyandNeil Lathwood 2f6f99a330 feature: Added gateone link SSH support (#8189)
* adding gateone link

* Added gateone support, now checks config.php for settings

* adding gateone link

* Added gateone support, now checks config.php for settings

* fixed an incorrect url

* fixed syntax errors

* added new option to config.php, $config[gateone][use_librenms_user] is a boolean that inserts the logged in Librenms user to the SSH link if set to true

* removed code duplication

* removed hostbox-menu.inc.php
2018-02-10 20:51:26 +00:00
Tom SealeyandNeil Lathwood c07daa325b newdevice: Added basic os for EricssonLG ES switches (#7289)
* added basic os for EricssonLG ES switches

* changed names

* tidied up some more

* renamed test files

* fixed typo

* removed _ from names

* fixed os names

* changes requested by @laf

* fixed unit test for ucp
2017-09-25 10:01:35 +01:00
Tom SealeyandNeil Lathwood 4c3562ea0f alerts: Added Slack mrkdwn support in alert messages (#7202) 2017-09-01 14:50:13 +01:00
Tom SealeyandNeil Lathwood 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
Tom SealeyandNeil Lathwood 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
Tom SealeyandGitHub 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
Tom SealeyandGitHub 52f1b53a05 subtracting 1 from the $port_id value in the egress_ids loop
This is to fix an off by one error.
The ERS reports VLAN membership using a bitmask, but the MSB is always 0.
So using the `q_bridge_bits2indices` function results in the reported ports membership being +1 wrong.
The best fix for this would be to create a new function exactly the same as `q_bridge_bits2indices` which subtracts the 1 before returning the array. 
I tried this, but it broke my install :)
Not sure how to add to the `functions.inc.php` file without breaking it.
2017-08-01 11:20:27 +01:00
Tom SealeyandGitHub 01fca2ebd5 fixed more formatting errors 2017-08-01 10:35:14 +01:00
Tom SealeyandGitHub bd0e003e27 fixed code formatting errors 2017-08-01 10:25:07 +01:00
Tom SealeyandGitHub 6619450d56 adding RC-VLAN-MIB 2017-08-01 10:10:35 +01:00
Tom SealeyandGitHub d344629eda added check for Avaya-ERS OS 2017-08-01 10:09:47 +01:00
Tom SealeyandGitHub 9f65a3c1d7 created avaya-ers.inc.php
Avaya do not use the Q-Bridge MIB for Vlans.
They also store untagged vlan info in 2 seperate ways:
rcVlanPortDefaultVlanId stores the actual native VLAN or PVID per switch port.
rcVlanPortPerformTagging tells us the ports tagging mode, this can be true (all tagged or trunk), false (no tagging or access), 3 (only tag the PVID) or 4 (untag the PVID and tag everything else).
Due to how these bits of information are presented, for each VLAN ID we then need to loop through all the ports checking if their PVID matches the VLAN ID and if the tagging mode is false or 4. If both are true we add that port to the list of untagged ports for that VLAN.
2017-08-01 10:08:49 +01:00
Tom SealeyandGitHub 6a908affc8 fixed typo 2017-07-31 13:26:17 +01:00
Tom SealeyandNeil Lathwood f8b795ec95 newdevice: Removed check for switch model or firmware version for Avaya ERS switches
* Added mempool support for Avaya ERS 3500

* Added mempool support for Avaya ERS 3500

* removed check for  firmware version

* removed check for switch model or firmware version

* removed check for switch model or firmware version

* removed check for switch model or firmware version

* adding @laf suggested changes

* made changes as suggested by @laf

* removed blank line

* removed blank line

* added the snmpwalk back

need this, or it's pointless
2017-07-29 11:20:36 +01:00
Tom SealeyandNeil Lathwood d765330d16 newdevice: Added support for temp and processor discovery on Avaya ERS3500
* added support for Avaya ERS 3500 switches

Tested and working with single 3500 and stack of 5 3500

* added support for ERS3500 switches

tested on ERS 3500, both single and stack of 5
2017-07-23 19:54:43 +01:00
Tom SealeyandNeil Lathwood 3b2c42009b docs: added agent setup to mkdocs (#7033)
noticed that the Agent Setup doc is not listed under Extensions, but can be found by searching. Added to mkdocs.yml
2017-07-18 23:44:06 +01:00
Tom SealeyandNeil Lathwood 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
tslytslyandNeil Lathwood 932581d033 docs: Added section on smokeping and rrdcached use 2017-01-03 19:45:33 +00:00