133 Commits

Author SHA1 Message Date
ec3520e518 Merge pull request #3865 from murrant/remove-agent-scripts
Remove agent scripts
2016-07-28 20:22:20 +01:00
6119aa9c22 Remove agent scripts
Leave a note that they have been moved to https://github.com/librenms/librenms-agent
The goal is to prevent divergence.
2016-07-21 22:34:11 -05:00
ff5b6c9a2b app: nfs-v3-stats
Rewrite of the original nfs-stats app.
Includes more stats, nicer graphs, no more nfsstats bin requirement.
2016-07-20 02:14:30 +03:00
263d33f107 added some how to for nfsstats.sh 2016-07-07 11:11:36 +00:00
93b891b9e3 added a new application monitoring: nfs server stats 2016-07-07 11:05:49 +00:00
48d8b3f09c add port_id to sql statement 2016-06-30 10:09:16 -07:00
9aa4203cc3 Use lsb_release in the distro script.
Don't overwrite REV unless it is set properly by the lsb_release tool.
2016-06-01 01:00:04 -05:00
16b91f6a97 Fix Smoking Path (#3577)
Fix Smokping Path
2016-05-31 21:24:03 -05:00
b98ba8c1a4 Remove some deprecated functions 2016-04-24 01:05:14 -05:00
5d16702320 Merge pull request #3343 from Piratonym/issue-3336
Use python2 in Python script shebang lines
2016-04-22 13:33:00 +10:00
1146080458 Add FreeBSD detection to distro file 2016-04-20 16:23:16 +02:00
2925d8ce81 Use python2 in Python script shebang lines
This fixes issue #3336.
2016-04-11 15:38:51 +02:00
9f22b18dc8 Split is removed in PHP7, replace with explode as none were using it as a regex.
Also fix two array keys without quotes in include/syslog.php
Fixes #2205
2016-02-25 14:34:06 -06:00
44cd86d24e Add systemd unit file for the python poller service.
Move poller-service init scripts into to scripts directory and update the documentation.
2016-02-02 20:23:08 -06:00
2c9df26bbf Update discovery and poller to allow stable interface mapping by ifName/ifDescr based port mapping.
By default libreNMS used the ifIndex to associate ports just found via SNMP
  with ports discoverd/polled before and stored in the database. On Linux boxes
  this is a problem as ifIndexes are rather likely to be unstable between reboots
  or (re)configuration of tunnel interfaces (think: GRE/OpenVPN/Tinc/...), bridges,
  Vlan interfaces, Bonding interfaces, etc.

  This patch adds a »port association mode« configuration option per device which
  allows to map discovered and known ports by their ifIndex, ifName, ifDescr, or
  maybe other means in the future.
  The default port association mode still is ifIndex for compatibility reasons.

  As port RRD files were stored by their ifIndex before, they are now identified
  by their unique and stable port_id to ensure a stable and unique mapping and
  allow future port association modes to be added without requireing any further
  internal changes. Existing RRD files are renamend accordingly in discovery and
  poller tools to ensure stability of port associations in both modules as we
  don't know which might run first after an update.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-26 13:49:30 +01:00
laf
eb689fe66e Rebased from upstream 2015-12-01 21:50:13 +00:00
f0o
380c98c438 Added SLES detection to distro script 2015-11-25 13:23:52 +00:00
laf
c000676a2a Some more updates for rrdtool tune 2015-11-18 21:52:32 +00:00
laf
1591f9ca6d Added rrdtool_pipe_open :( 2015-11-18 21:39:53 +00:00
laf
52e0be911b More updates 2015-11-17 05:38:45 -08:00
laf
253b27d403 More updates to tune rrdfiles 2015-11-17 05:14:41 -08:00
laf
cf09a51d3a Updated to use env in distro script 2015-10-25 21:49:48 +00:00
80a816dab9 - added env php to top of file 2015-10-04 19:15:12 +02:00
3b1dbdf220 - added PLD Linux support to distro script 2015-09-29 15:14:53 +02:00
52ceafbcbb OpenWrt support added to distro detection script 2015-09-29 15:20:47 +03:00
b197533cc6 distro script: Added empty lines for better readability 2015-09-24 01:39:39 +02:00
e853eb1c54 distro script: Removed unnecessary quotes 2015-09-24 01:38:42 +02:00
1b816f194d distro script: Removed United Linux (which has been dead since 2004) 2015-09-24 01:37:07 +02:00
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
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
1543f63467 Revert "distro script: Only parse /etc/lsb-release if no known distribution is found"
This reverts commit d048e5e616a3d50efbc1c41d2fdd926c08dd2ad2.

The detection logic for Ubuntu (and perhaps other distributions) relies on
/etc/lsb-release.
2015-09-24 01:25:24 +02:00
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
d048e5e616 distro script: Only parse /etc/lsb-release if no known distribution is found 2015-09-23 00:06:41 +02:00
774312d457 distro script: Code cleanup 2015-09-23 00:05:44 +02:00
c53b5ecdeb distro script: Handle cases where a distribution's version string is empty 2015-09-23 00:05:44 +02:00
2f1b83bbae distro script: Added Arch Linux detection 2015-09-23 00:05:37 +02:00
95ab21504c Fix MySQL Host Logic 2015-08-18 15:11:06 +00:00
5369112d48 Fix some scrutinizer coding style issues 2015-08-04 18:36:03 +02:00
064f374160 Merge pull request #1501 from laf/issue-1334-new
New overview page and new map
2015-07-26 14:33:34 +10:00
laf
031a818c77 Removed references to location override 2015-07-20 16:52:33 +01:00
laf
6ec525c222 Formatting + scrut updates 2015-07-16 16:01:51 +01:00
laf
7eed295897 Rebased 2015-07-15 20:46:04 +01:00
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
laf
b668571c8c Some small changes 2015-07-07 20:28:04 +01:00
laf
0b30d18733 Final pieces to the smokeping integration 2015-07-07 20:24:09 +01:00
b84b8de09f Merge pull request #1110 from laf/issue-279
Updated mysql DATE_FORMAT() and php date() to use $config variables
2015-06-13 10:15:23 +10:00
0a9d8c92c3 Fix fatal in scripts/shoutcast.php
[lint] PHP Fatal error:  Call-time pass-by-reference has been removed in /var/lib/jenkins/jobs/librenms/workspace/scripts/shoutcast.php on line 43
2015-06-06 17:55:40 +00:00
laf
6496e6ece4 Consistent date formatting from MySQL 2015-05-22 13:38:52 +01:00
laf
5ed95fd1ca Actually added the doc and contents 2015-05-12 08:54:56 +01:00