Commit Graph

287 Commits

Author SHA1 Message Date
Jellyfrog
071173ffb9
Remove tabs from yaml (#14437)
* Remove tabs from yaml

* Remove tabs from random files
2022-10-10 18:13:10 +02:00
Kayck Matias
1e80780dd3
Load device selection dynamically on Ports page (#14353)
* Add search in real-time to Ports page

* Update to init_select2 and remove old query

* fixed styleci

* fixed styleci

* fixing email

* Finish up

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-09-16 08:40:03 -05:00
SourceDoctor
e7f2de79ec
Health Overlib Correction (#12203)
* Health Overlib Correction

* style correction
2020-10-11 17:07:52 -05:00
thomcatdotrocks
dfab530525
Matrix txnid fix (#12057)
* Fix Matrix alerting txnid

This fixes the issue I brought up in #12018.  I can confirm that I now get a new message from the LibreNMS bot every time I test my Matrix transport.

* Update AUTHORS.md
2020-09-04 16:38:19 +02:00
TheGreatDoc
239dee4caa
Misc changes (#11991) 2020-08-03 13:44:37 +02:00
Jason Cheng
48a07ada6a Add more Vigor series device support (#10562)
* Add more Vigor series device support

* Update draytek.yaml

* Add more Vigor series device test data

* Update AUTHORS.md

* Update draytek.snmprec

* Create draytek_vigor3900.snmprec
2019-09-05 03:42:40 +00:00
pobradovic08
2d246097d4 Documentation: Fix broken links and anchors (#10194)
* documentation: Fix broken Templates.md link

* Update AUTHORS.md

* docs: Fix broken anchor in Fast-Ping-Check.md

* docs: Changed Alerting link in Configuration.md
2019-05-06 21:50:45 -05:00
Tim de Boer
91ca7b37fe Refactored Nvidia Application (#10037)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [ ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 14:47:43 +01:00
PipoCanaja
2125c8640b Updated MGE UPS sensors and added traps (#9301)
* MGE: Improve support for Galaxy devices

* MGE: Improve support for Galaxy devices

* MGE: Improve support for Galaxy devices

* rfc1628 adaptations for Eaton MGE Galaxy 7000

* eaton-mge: test data on a Galaxy 7000

* rfc1628 adaptations for Eaton MGE Galaxy 7000

* rfc1628 adaptations for Eaton MGE Galaxy 7000

* eaton-mgeups: test data on a Galaxy 7000

* Add upsmgUtilityFailure and upsmgUtilityRestored trap support for eaton-mgeups

* dev: eaton-mgeups: OID in the dynamic definition for discovery

* dev: eaton-mgeups: cleaning

* add contributor

* add contributor
2018-10-17 17:03:51 +01:00
Rémy Jacquin
e12e6720f8 api: Added add_service_for_host endpoint to API (#8113)
* Add add_service_for_host endpoint to API

Signed-off-by: Rémy Jacquin <remy@remyj.fr>

* Change permissions to allow users to modify device

Signed-off-by: Rémy Jacquin <remy@remyj.fr>
2018-01-21 19:56:57 +00:00
Joel Kociolek
bc3d1ed47e feature: Improve Freeswitch agent: add ability to get data via snmp and graph more data (#7549)
* Add ability to get Freeswitch application data via snmp

On your Freeswitch server install the script from
https://github.com/librenms/librenms-agent/blob/master/agent-local/freeswitch
into /etc/snmp, make it executable and adjust it to your installation.
Configure your snmpd to use the sript as an extension. For example on Debian
add the following line to your /etc/snmp/snmpd.conf:

extend freeswitch /etc/snmp/freeswitch

Activate the Freeswitch application for your server on your LibreNMS server.
it should now start to receive data from your Freeswitch server via snmp.

* Graph "Calls" and "Channels" of Freeswitch agent

The Freeswitch agent sends Calls and Channels count and they weren't graphed
up to now.  This is especially useful in settings where the Freeswitch
server does not act as a Gateway and thus the agent does not sent
Incoming and Outgoing Call numbers.

* Cleanup commented code and add myself to authors
2017-10-26 11:27:11 +01:00
Frank Petrilli
b89ed26852 newdevice: Added additional detection for Dell Equallogic devices
* Add support for alternate Equallogic SNMP sysObjectId

* Widen scope, add unit test

* Revert "Widen scope, add unit test"

This reverts commit 9486f06dd1.

* Revert erroneous commit, include changes

* Made changes requested by @laf
2017-10-05 19:53:13 +01:00
RobJE
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
network-guy
dc498be4f0 newdevice: Added Current Connections Graph for Cisco WSA (#6734)
* Added current connections graph for AsyncOS devices

* Fixed issues with AsyncOS connections polling and add name to AUTHORS file

* Update 194.sql
2017-06-02 20:58:02 +01:00
Slashdoom
bdf1616c76 feature: Added additional Unbound chart for query cache info (#6574)
* Update unbound.inc.php

* Update unbound.inc.php

* Create unbound_cache.inc.php

* Update AUTHORS.md

* Update apps.inc.php
2017-05-04 11:04:10 +01:00
Tim Stallard
6b2ae00e27 fix: Increased speed of loading syslog pages. (#6433)
* Increased speed of loading syslog pages.
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* moved schema 186->189
2017-05-03 22:41:55 +01:00
Nick Peelman
cdd363f29e Equallogic add disk status (#6497)
* I agree to the conditions of the Contributor Agreement
contained in doc/General/Contributing.md.

* Extends the work done by @Peter2121 on #3519 to include disk statuses as individual sensors.

* Making changes as requested by @laf.

* Fix a typo from the variable renaming flurry.

* small updates
2017-04-26 23:08:35 +01:00
Dominik Bay
afa6a18364 Adding Cisco SG355-10P support (#6477)
* Adding support for Cisco SB SG355-10P switch

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-04-20 13:21:40 +01:00
Tony Murray
2b4fb847ee Merge pull request #6445 from svennd/author
I agree to the conditions of the Contributor Agreement contained in d…
2017-04-18 07:56:04 -05:00
Svennd
75586aebd3 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-04-18 09:37:48 +02:00
Jonathan Price
2186e3b79a fix: Update Shebangs and daily.sh for FreeBSD compatibility (#6413)
* Where shebangs had no flags, updated them to use /usr/bin/env for cross-platform compatibility
Updated daily.sh to support FreeBSD (su has different args, replaced with sudo when not on linux)

* Added myself to AUTHORD.md as per contributor guidelines

* Set all platforms to use sudo rather than su
Re-added missing arguments to sudo
2017-04-17 20:14:23 -05:00
remydb
3884a3c2f7 newdevice: Added support for multi-lane optics on Juniper equipment (#6377)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Poll device for optic lane info

* Add discovery for multiple lanes per optic

* Update formatting

* Update AUTHORS.md
2017-04-13 10:56:16 +01:00
Ben Klang
b7f1e09be5 webui: Updated bgp table to use bootstrap properly (#6406)
* Apply Bootstrap table spacing to BGP session list

* I  agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md
2017-04-12 22:30:01 +01:00
Chris Putnam
02017068e7 Fix redirect on login for instances behind reverse proxies (#6371)
* Fix redirect on login for instances

On instances where base_url has been set for use behind a reverse proxy, logins are incorrectly redirected.

This happens because REQUEST_URI is set by the proxy:
  1. librenms has base_url set to http://site.com/nms/
  2. Browser requests http://site.com/nms/
  3. nginx reverse proxies /nms/ to librenms at http://somehost:1234/
  4. librenms sees REQUEST_URI as "/"
  5. librenms logs the user in, but sends "Location: /" to the browser. This redirects to the wrong location.

To resolve, concatenate REQUEST_URI (which is relative) to base_url. As base_url is slash-terminated, crop the trailing slash. This should have no effect on users with default settings and will correctly redirect instances behind reverse proxies.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Adding comment explaining redirect logic on login

* Use rtrim instead of substr
2017-04-06 09:11:39 +00:00
Lorenzo Zafra
f85f8c1e13 newdevice: Add support for Nokia (Alcatel-Lucent) SAS-Sx 7210. Add TiMos version and hardware. (#6344)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Add support for Nokia SAS-Sx 7210

* Revert "I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md."

This reverts commit 2b89f9edb5.

* Edited hardware regex to cover more sample data
2017-04-04 14:35:39 -05:00
Lorenzo Zafra
9b62ea2cbf newdevice: Added basic support for Omnitron iConverters (#6336)
* Added basic support for Omnitron iConverters

* Fixed discovery issue & cropped logo
2017-04-04 13:02:50 -05:00
Lorenzo Zafra
7d656ac4c4 newdevice: Add logo for Sinetica UPS (Mitsubishi) (#6340)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Add mitsubishi logo for Sinetica UPS

* Update to SVG logos
2017-04-04 13:01:43 -05:00
Lorenzo Zafra
2b89f9edb5 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. 2017-04-03 14:01:14 -06:00
Jan-Philipp Litza
323df86d40 fix: Fixed height of widget boxes (#6282)
* Fix height of widget boxes

This pracitcally reverts #5644 and instead applies the correct fix by
calculating the dimensions of the widget box correctly.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-03-28 16:02:10 +01:00
deepseth
49d99e3258 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. (#6275)
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-03-27 08:32:47 +01:00
Jari Schäfer
183f7dbed8 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. (#6278) 2017-03-27 08:08:54 +01:00
InfraTeam
0c237ba9c1 Contributor Agreement (#6261)
I agree to the conditions of the Contributor Agreement contained in
doc/General/Contributing.md.
2017-03-23 21:20:17 +00:00
Neil Lathwood
668c017608 readded - Klaas Tammling <klaas@tammling.hamburg> (KlaasT) mistakenly removed (#6259) 2017-03-23 20:35:20 +00:00
InfraTeam
bc14b9137e newdevice: Added detection for Hirschmann Railswitch #6161 (#6207)
* Added detection for Hirschmann Railswitch

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes (old states and temperatures directories removal)

* fix for PR 6207 : state fileupdated
2017-03-23 14:36:25 -05:00
Klaas Tammling
374f6b3ade newdevice: Added discovery of Cyclades ACS (#6234)
* Discovery of Avocent Cyclades ACS 6000

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Unit Testing and more precise OS definition

* Unit Testing snmprec file

* Update OSDiscoveryTest.php

* move to sysObjectId lookup
2017-03-22 22:56:53 +00:00
Simon Mott
4e40314a3a I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. (#6235) 2017-03-22 14:43:18 +00:00
markabrahams
54deb1d429 fix: API call for graphs not working (#6184) (#6186)
* fix: API call for graphs not working (#6184)

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md

* updated set_image_type to use new function
2017-03-13 16:39:43 +00:00
Neil Lathwood
41824dda15 updated authors (#6078) 2017-03-03 21:44:45 +00:00
philmd
ad6dafd3a5 webui: display sysnames/hostnames instead of ip addresses #4155
When a network is mostly assigned using RFC 1918, DNS resolution is not useful
and devices are displayed by IP address.

When $config['force_ip_to_sysname'] is enabled, use ip_to_sysname() to display
the device hostname or SNMP sysName if present instead of the device IP address.

UI modified by this patch:
- Hover in Dashboard Availability Map (/overview)
- Name in Availability Map (/availability-map/)
- Title of device page (/device/device=...)

* I agree to the conditions of the Contributor Agreement contained in
doc/General/Contributing.md.

GitHub-issue: #4155
Suggested-by: Andres Rahn <andreser@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-03-03 19:48:53 +00:00
Mark Hughes
25df4c8fe8
Update AUTHORS.md
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-03-03 19:05:42 +11:00
Ryan Medlyn
fddbf3f46b Update AUTHORS.md (#6065)
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-03-03 07:53:42 +00:00
Avery Payne
fd21bee0e2 docs: Update lighttpd docs to include svg config
With SVG introduced, the icons for hosts are broken.  The pattern match has been revised to support more image formats, including SVG.  This resolves the icons showing up as broken images when running lighttpd.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md
2017-03-02 01:13:29 +00:00
ollb
698584e14d feature: Add support for dynamic interfaces in ifAlias script (#6005)
* add support for dynamic interfaces in ifAlias script

* netlink and ip support alias (`ip link set IFACE alias ALIAS`). In an
  environment with dynamic interfaces, it is useful to be able retrieve
  aliases from ip.

* we cannot assume next iface oid is n + 1 since oids do not necessarily
  follow incrementally when some interfaces has been destroyed and
  recreated.

* use straight POSIX shell

* I agree to the conditions of the Contributor Agreement contained in
doc/General/Contributing.md.
2017-02-26 23:22:03 +00:00
valikvicious
dc7e6f17c6 fix: exim queue graph (#5945)
* fixed exim app queue graph to show queue and not frozen messages

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-02-19 22:27:43 +00:00
VVelox
872eac10aa feature: add PHP-FPM support for snmpd (#5912)
* add single pool based poller for php-fpm

* add the page for php-fpm

* add graph for php-fpm

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* use named OID as suggest by @laf

* document PHP-FPM monitoring

* link it in the index

* clean up the named oid

* add how to grab the script in question
2017-02-16 15:10:42 +00:00
Craig
c5eb88cec2 I agree to the conditions of the Contributor Agreement contained in d… (#5900)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Update AUTHORS.md
2017-02-15 00:40:24 +00:00
mobilemaclin
49b5844346 newdevice: Added support for more Mellanox infiniband switches (#5887)
* Update mellanox.yaml

* Update AUTHORS.md

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Create mellanox-i5035.snmprec

* Update OSDiscoveryTest.php
2017-02-15 00:06:00 +00:00
Robbie Penziol
0375d67a52 Update AUTHORS.md (#5896)
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-02-14 23:02:25 +00:00
Michał Margula
530d01ee66 Update AUTHORS.md (#5877)
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-02-13 16:16:22 +00:00
NK74
ed78ce4a23 Update AUTHORS.md (#5854)
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-02-10 12:26:54 +00:00