Commit Graph
17185 Commits
Author SHA1 Message Date
Nils Steinger e853eb1c54 distro script: Removed unnecessary quotes 2015-09-24 01:38:42 +02:00
Nils Steinger 1b816f194d distro script: Removed United Linux (which has been dead since 2004) 2015-09-24 01:37:07 +02:00
Nils Steinger c806d4cf60 distro script: Consider /etc/os-release along with the distribution-specific files and allow /etc/lsb-release to override it 2015-09-24 01:35:55 +02:00
Nils Steinger 99b608ef48 distro script: Ignore /etc/lsb-release on Arch systems
On Arch systems, /etc/lsb-release contains the placeholder version string
"rolling".
Prevent parsing /etc/lsb-release on Arch systems to the script won't report the
distribution "Arch rolling".
2015-09-24 01:33:45 +02:00
Nils Steinger 1543f63467 Revert "distro script: Only parse /etc/lsb-release if no known distribution is found"
This reverts commit d048e5e616.

The detection logic for Ubuntu (and perhaps other distributions) relies on
/etc/lsb-release.
2015-09-24 01:25:24 +02:00
Nils Steinger 506c61b7fc distro script: Replaced outdated method of detecting OpenSUSE version
Replaced the crude parsing of /etc/SuSE-release (which is due to be removed in
future OpenSUSE versions) with equally crude parsing of /etc/os-release.
/etc/os-release is present on several different distributions and usually
contains the same information as /etc/lsb-release when both files are
available.
For now, parsing /etc/lsb-release takes precedence and /etc/os-release is only
used as a fallback when the former is not available.
2015-09-24 01:05:59 +02:00
Daniel Preussker d1d3383793 Merge pull request #1988 from trick77/master
Spelling correction
2015-09-23 19:47:27 +00:00
trick77 33a43ff9ed Spelling correction 2015-09-23 20:36:18 +02:00
Daniel Preussker 08e4af5747 Merge pull request #1987 from SaaldjorMike/shorten-top-tags
Shorten interface name in top interface widget
2015-09-23 16:38:52 +00:00
Mike Rostermund bf9aea6bfa Shorten interface name in top interface widget 2015-09-23 18:30:41 +02:00
Søren Rosiak 0b5f865136 Merge pull request #1983 from arjitc/patch-8 2015-09-23 17:29:56 +02:00
Arjit Chaudhary 0e3d5a35ac Removed <hr> 2015-09-23 20:38:01 +05:30
Søren Rosiak e869647952 Merge pull request #1985 from laf/gridster-bold-fix 2015-09-23 16:59:01 +02:00
Neil Lathwood 9e92c65385 Merge pull request #1982 from arjitc/patch-7
Change to panel UI
2015-09-23 14:14:30 +01:00
laf 0089874cb9 Removed bold from .gridster css 2015-09-23 12:01:34 +00:00
Neil Lathwood 1b7d241adf Merge pull request #1981 from f0o/issue-1980
Add default width for availability map's tiles
2015-09-23 12:36:29 +01:00
f0o 096023a6eb Set default width to 25px 2015-09-23 12:26:29 +01:00
Neil Lathwood 67d3622f24 Merge pull request #1975 from n-st/code-deduplication
Code deduplication: Made getImage() use getImageSrc()
2015-09-23 12:24:28 +01:00
Arjit Chaudhary d055902487 Table UI fixes 2015-09-23 15:48:53 +05:30
Arjit Chaudhary 46b5ebc6de Change to panel UI 2015-09-23 15:41:48 +05:30
f0o ceb135a33d Add default width for availability map's tiles 2015-09-23 09:57:37 +01:00
Daniel Preussker 20adc269ac Merge pull request #1978 from n-st/distro-script
Improvements to distro script: Arch Linux support, only use lsb-release as a fallback
2015-09-23 08:17:43 +00:00
Paul Gear bfe6a07c59 Merge pull request #1979 from laf/docs-port-parser
Added doc for Port parser usage
2015-09-23 16:56:40 +10:00
laf 52b1659cd7 Added doc for Port parser usage 2015-09-22 22:56:50 +00:00
Neil Lathwood 085cdb9f71 Merge pull request #1977 from n-st/menuitem-colour
Change colour of menu item 'Overview' → 'Packages' from red to black
2015-09-22 23:34:07 +01:00
Nils Steinger d048e5e616 distro script: Only parse /etc/lsb-release if no known distribution is found 2015-09-23 00:06:41 +02:00
Nils Steinger 774312d457 distro script: Code cleanup 2015-09-23 00:05:44 +02:00
Nils Steinger c53b5ecdeb distro script: Handle cases where a distribution's version string is empty 2015-09-23 00:05:44 +02:00
Nils Steinger 2f1b83bbae distro script: Added Arch Linux detection 2015-09-23 00:05:37 +02:00
Nils Steinger f397f53f5f Change colour of menu item 'Overview' → 'Packages' to black (like the other menu items in the same group) 2015-09-22 23:45:33 +02:00
Neil Lathwood d7ad5200b0 Merge pull request #1945 from chrisgfx/issue-1942
Documentation : Add Support for a new OS
2015-09-22 22:43:26 +01:00
Neil Lathwood cea7acadfa Merge pull request #1957 from ciscoqid/master
Add support for SonicWALL CPU and memory graphs
2015-09-22 22:42:27 +01:00
Mark Nagel 46bb776cae Update sonicwall.inc.php
Fixed indentation again!
2015-09-22 14:36:13 -07:00
Nils Steinger dba95472dc Use empty() instead of isset() and PHP's implicit boolean conversion 2015-09-22 22:58:38 +02:00
Neil Lathwood c9052ffb06 Merge pull request #1968 from f0o/issue-1966
Added 'Transit', 'Peering' and 'Core' graphs to the widget
2015-09-22 21:44:54 +01:00
chrisgfx 035dec21b7 Update Support-New-OS.md 2015-09-22 22:44:29 +02:00
Neil Lathwood 51e86b8ddf Merge pull request #1976 from n-st/archlinux-logo
Renamed icons from archlinux.{png,svg} to arch.{png,svg}
2015-09-22 21:40:51 +01:00
Nils Steinger 6f30f12b7b Renamed icons from archlinux.{png,svg} to arch.{png,svg}
scripts/distro currently sends the version string "Arch rolling" for Arch Linux
systems (assuming they have the lsb-release package installed), so LibreNMS
will try to use the icon file arch.png by default.
2015-09-22 22:37:52 +02:00
Neil Lathwood 8244bdaca6 Merge pull request #1970 from n-st/archlinux-logo
Added Arch Linux logo to OS icons
2015-09-22 21:08:02 +01:00
Nils Steinger ff57e67f55 Check if variable is set before trying to read it 2015-09-22 21:48:48 +02:00
Nils Steinger c1354532bb Removed duplicate code: Made getImage() use getImageSrc() 2015-09-22 21:48:17 +02:00
Arjit Chaudhary 8c34a1bd61 Wrap header in panel
http://i.imgur.com/vObwD4w.png
2015-09-23 01:17:29 +05:30
Nils Steinger 95bd3d7438 Added Arch Linux logo to OS icons
(As of this commit, the logo is not yet used in the LibreNMS web UI.)

Adapted from https://sources.archlinux.org/other/artwork/archlinux-logo-dark-scalable.svg.

According to an email by Aaron Griffin, use of the logo in LibreNMS is
permitted as long as no commercial interests are pursued and the TM symbol is
included in the logo:

  On 22.09.2015 18:17, Nils Steinger wrote:
  > To Whom It May Concern:
  >
  > I'm a new user of the LibreNMS network monitoring system (an Open Source
  > fork of Observium) [1].
  > LibreNMS has inherited a number of logos from Observium that are
  > displayed in the list of monitored hosts to show what *nix/Linux
  > distribution they are running.
  >
  > Would it be possible to add a 32×32 or 48×48 px version of the Arch
  > Linux logo (like the one attached to this email) to LibreNMS?
  >
  > LibreNMS has no commercial interests, but I'm not sure whether the Arch
  > Linux Trademark Policy allows creating derivatives of the logo and
  > including them in software distributions, hence this inquiry.
  >
  > Best Regards,
  > Nils Steinger
  >
  >
  > [1]: https://github.com/librenms/librenms

  On 22.09.2015 19:54, Aaron Griffin wrote:
  > This is an acceptable use of the logo - the only thing we ask is that you
  > maintain the TM symbol on the logo.
2015-09-22 20:13:12 +02:00
Daniel Preussker 939218865b Merge pull request #1956 from laf/user-validation
Add config option for librenms user + validate.php support
2015-09-22 18:09:28 +00:00
Daniel Preussker c223619ad8 Merge pull request #1963 from laf/issue-1910
Added distinct to query to stop duplicated devices
2015-09-22 18:08:10 +00:00
f0o 31a074d83a Added select-input for custom_descr 2015-09-22 18:53:32 +01:00
f0o dddb2ead40 Added custom port-desc as well 2015-09-22 18:05:43 +01:00
f0o 4ccab34f81 Added 'Transit', 'Peering' and 'Core' graphs to the widget 2015-09-22 17:37:03 +01:00
Mark Nagel 82af247825 Update sonicwall-mem.inc.php
Updated to conform to coding standard, added copyleft header.
2015-09-22 07:36:23 -07:00
Mark Nagel 45513854d2 Create SONICWALL-FIREWALL-IP-STATISTICS-MIB 2015-09-22 07:32:56 -07:00