Commit Graph

134 Commits

Author SHA1 Message Date
Isaac McDonald
769077e128 docs: Use single quotes in example SNMP community per issue 8342 (#8348) 2018-03-09 17:26:29 +01:00
crcro
995b7069eb webui: Added support for stacked graphs (#7725)
* initial release

* newline fix

* missed some graphs in edit

* style fixes

* revert custom function, use Config

* unified config option
added webui graph config entry
added sql entry for webui config

* removed config_id from sql file

* remove graph stack from defaults

* moved transparency and stacked option to functions.php

* style fixes

* style fixes

* changes in code
added docs about stacked graphs

* return keyed array

* new colors and transparency

* sql rename
2017-12-02 20:28:03 +00:00
Neil Lathwood
3c0a2109e5 tidy up some file permissions and removed unused files (#5563)
* tidy up some file permissions and removed unused files

* Delete makemini.pl
2017-01-24 12:44:16 -06:00
Neil Lathwood
cc01969b06 refactor: Default to only using mysqli (#4915)
* refactor: Default to only using mysqli

* Remove includes/dbFacile.mysql.php

* updated mres() function to remove $config global
2016-11-10 19:40:53 -06:00
Neil Lathwood
9f1930a81e More more docs (#4197)
* Updated docs + some small code changes

* Added validating code doc for developers

* Doc updates

* Updates and improvements
2016-08-25 18:40:11 -05:00
laf
5a7a606abd Updated as per pr comments 2016-07-31 23:39:45 +01:00
laf
318c9cd2b0 Added cleanup for old RRD files 2016-07-30 16:57:09 +01:00
Maximilian Wilhelm
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
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
laf
4cc9482dbe Added support for specifying user in config and then validating install 2015-09-21 21:06:57 +00:00
laf
c8768cf49d Bad quotes :( 2015-09-21 13:31:15 +00:00
laf
8980bbc4e3 Changed config db options from double quotes to single 2015-09-21 13:23:09 +00:00
Daniel Preussker
409b2efd17 Merge pull request #1647 from laf/issue-12-new
Added mysqli support
2015-08-12 22:06:09 +02:00
Dan Langille
d988693564 Correct path to defaults.inc.php 2015-08-12 15:13:58 -04:00
laf
880cccf57b Added some docs, update config.php.default and web installer to use mysqli by default 2015-08-09 14:36:31 +00:00
Paul Gear
93eab16e5a Add proxy support to callback function 2015-04-13 19:37:12 +10:00
laf
9441295f41 Removing closing ?> in config.php.default 2015-03-02 17:30:43 +00:00
laf
2d9c15f02d Removed duplicate poller-wrapper code 2014-02-27 21:21:10 +00:00
Paul Gear
12f4a34a47 Merge branch 'wrapper' of github.com:librenms/librenms into wrapper 2013-12-18 03:48:36 +10:00
Tyler Christiansen
ef690cac7b add appropriate line 2013-12-18 03:36:12 +10:00
Tyler Christiansen
b403921398 add poller-wrapper 2013-12-18 03:35:52 +10:00
Paul Gear
553cc63892 Merge branch 'master' into devel 2013-11-05 09:34:29 +10:00
Paul Gear
aa9dded019 Remove user-facing references to Observium
This eliminates nearly all of the user-facing references to Observium,
including in the names of temporary files and in the metadata of PDFs.  Many
of these may not be used any more, but I've adjusted them anyway.  These
changes should also make it easier to change the branding later if it is
needed.  There are a few references of which I still don't understand the
significance, so I've left them as-is for now.  The Unix agent in particular
is rather untidy.
2013-11-05 09:33:32 +10:00
Tyler Christiansen
2e56ae9e38 Merge branch 'master' into wrapper
Conflicts:
	config.php.default
	librenms.cron
2013-11-03 22:30:10 -08:00
Tyler Christiansen
ab5feaee2f add framework for new cron features; add ability to update librenms daily 2013-11-03 22:16:01 -08:00
Tyler Christiansen
3b947c3b6c add appropriate line 2013-11-03 15:36:18 -08:00
Tyler Christiansen
f8debf4900 add poller-wrapper 2013-11-03 15:03:57 -08:00
pandom
2617b561dd Update config.php.default 2013-10-29 23:25:42 +11:00
Anthony
41b8ba6be5 Update config.php.default
Aligned default scanning-based discovery to RFC1918. Tested on 13.10.
2013-10-29 11:19:28 +11:00
Tyler Christiansen
231c626447 replace observium defaults with librenms 2013-10-28 01:05:42 -07:00
Adam Amstrong
dbf212f652 phpDocumentator headers. retire static-config. IF YOU ARE READING THIS, REMOVE IT FROM THE BOTTOM YOUR CONFIG.PHP. YES. YOU.
git-svn-id: http://www.observium.org/svn/observer/trunk@3150 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 10:01:42 +00:00
Tom Laermans
baa4f44c4e make sure capacity oid actually ends up in database for already existing toner
git-svn-id: http://www.observium.org/svn/observer/trunk@3140 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 20:07:03 +00:00
Adam Amstrong
e44c47cabd Add support for memcached to poller for current bps/pps for ports and ability to disable writing these values to MySQL. HIGHLY RECOMMENDED FOR LARGE INSTALLS. Also PROCEED WITH CAUTION.
git-svn-id: http://www.observium.org/svn/observer/trunk@2955 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-04 18:10:45 +00:00
Adam Amstrong
98ffa46ea0 preliminary support for unix agent. probably will eat your cat and rape your dog, at this point.
git-svn-id: http://www.observium.org/svn/observer/trunk@2923 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-26 09:37:55 +00:00
Tom Laermans
3558ea53a0 restore 2516 dbFacile.php, apparently the code layout changes breaking something somewhere?
git-svn-id: http://www.observium.org/svn/observer/trunk@2525 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 15:59:51 +00:00
Tom Laermans
9a1bee1458 more code cleanup (last commit for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
Tom Laermans
de7ff537cc revert r1957 patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1960 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-23 09:54:56 +00:00
Geert Hauwaerts
6501cd29b5 - Code cleanup by Bastian Widmer.
git-svn-id: http://www.observium.org/svn/observer/trunk@1957 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-22 20:27:39 +00:00
Adam Amstrong
500ed09299 add comment for snmp internal :>
git-svn-id: http://www.observium.org/svn/observer/trunk@1757 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-05 14:15:58 +00:00
Tom Laermans
2711732c12 move ldap example settings to defaults.inc.php
git-svn-id: http://www.observium.org/svn/observer/trunk@1751 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-02 17:43:53 +00:00
Adam Amstrong
038bc8c20e show ports/sensors on the device list page. add option to use php-snmp functions for snmp_get()s
git-svn-id: http://www.observium.org/svn/observer/trunk@1716 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-26 22:10:04 +00:00
Adam Amstrong
0abf5912a0 add exp
git-svn-id: http://www.observium.org/svn/observer/trunk@1709 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-20 23:47:27 +00:00
Adam Amstrong
3f45fc6953 remove base_url as default
git-svn-id: http://www.observium.org/svn/observer/trunk@1708 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-20 23:46:26 +00:00
Adam Amstrong
c50a124359 autogenerate $config['base_url'] (why didn't we do this all along?)
git-svn-id: http://www.observium.org/svn/observer/trunk@1490 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-26 20:54:59 +00:00
Adam Amstrong
f63e913a0e $config['log_file'] = USE IT.
git-svn-id: http://www.observium.org/svn/observer/trunk@1440 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 13:02:54 +00:00
Adam Amstrong
3940265744 record discover/poll speeds, prettier "not permitted" page, and readd "base_url" to config
git-svn-id: http://www.observium.org/svn/observer/trunk@1435 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-19 18:21:48 +00:00
Adam Amstrong
b0297704e5 move more settings to defaults.inc.php, vastly simplify config.php.default. move collectd functions to html/includes/, include them only where needed.
git-svn-id: http://www.observium.org/svn/observer/trunk@1390 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-17 20:30:05 +00:00
Adam Amstrong
e0944c233e THIS. IS. OBSERVIUM. also some indexes on sql tables.
git-svn-id: http://www.observium.org/svn/observer/trunk@1373 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-17 12:58:09 +00:00
Adam Amstrong
6ef140292e add nxos discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@1352 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-14 11:50:01 +00:00
Tom Laermans
fc8c8cf3ed More renames
git-svn-id: http://www.observium.org/svn/observer/trunk@1329 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-10 11:50:46 +00:00