7dec670494
refactor: Updated a lot of references to LibreNMS - copyright still left intact ( #4339 )
2016-09-08 08:12:23 -05:00
200e670315
Fix defunct process issues: create Proc class ( #4210 )
...
* Proc class
Encapsulate processes in a class, when they go out of scope, we can use the __destruct() process to make sure the process terminates.
* Fix rrdtool_last checks failing
* Don't close rrdtool in rrd_graph
Try to start rrdtool process if they haven't been started yet
Remove some extra debug output
* phpdocs added
several cleanups
should still be functioning the same
Only open one rrdtool process for graph.php
2016-08-26 07:50:29 +01:00
7b93b564da
Centralize class loader ( #4169 )
...
Move the classloader to as early as possible in defaults.inc.php
This should cover all application entrances.
Set install_dir based on the location of defaults.inc.php
2016-08-22 23:59:59 +01:00
e80a385b7f
RRDtool dual process (remote creation/check) ( #4104 )
...
* Prepare for dual rrdtool processes
Disabled at this time
Split out rrdtool version checks into rrdtool_create_command()
Tests for rrdtool_create_command()
Fixes a few small issues.
* Enable dual process and remote rrd check/creation
* remove full path for remote commands
* Doc updates
minor fix to rrdtool_tune()
* Set up bootstrap for phpunit
Fix issues with FileExistsException
* Attempt to fix phpunit
* Fix classloader and bootstrap to use full paths only (not depending on $config)
* Fix phpunit tests, config.php does not exist.
2016-08-22 16:32:05 +01:00
b8e9b2d917
Implement an autoloader ( #4140 )
...
* Implement an autoloader
When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings
This reduces the file includes needed and only loads classes when needed.
* Add teh autoloader to graph.php
* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
5f8705bd37
Changed package names
2016-08-20 12:21:13 +01:00
8c639aa5a4
PSR2 Cleanup: /html edition
...
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
823177e877
Update graph.php
2016-02-17 13:06:46 -08:00
adedd872ae
Update graph.php
2016-02-16 19:46:22 -08:00
e2d1a8e7d9
Replaced custom utime() function with microtime(true)
2016-01-08 13:33:32 +01:00
4fa88bb928
Remove all unneeded if($debug)-statements and replace them with d_echo . html dir..
2015-08-21 16:10:01 +02:00
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
5a7988e2e4
chmod 0644 to php files not directly executed
2015-04-28 22:58:03 +02:00
c1ef9b6808
Resolved a large number index issues and update Console_Color to V2
2015-03-01 18:04:57 +00:00
afd00f8f3c
Alternative fix for graph.php debug failing
2013-11-19 21:00:33 +10:00
b630ed0ddc
Revert "Fix failing script in debug mode"
...
This reverts commit e66789939279cac8716e0b7dee5a4e82289427d2, which
stopped the script from working in non-debug mode.
2013-11-19 20:58:20 +10:00
e667899392
Fix failing script in debug mode
2013-11-19 09:18:43 +10:00
3184a35268
Revert boilerplate changes
2013-10-29 05:38:12 +10:00
985330f638
Updated copyright and package notices.
2013-10-28 21:39:08 +08:00
f768558e7e
fix auth for graphs to allow cidr filter. fix schema 006
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3169 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 15:21:42 +00:00
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
04ec17134b
syntaxer run 1/<many>
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2963 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-05 16:10:12 +00:00
5b9e58ecd4
descriptions on graph page (none created yet)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2931 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-27 16:53:23 +00:00
8c0392ffae
spit out runtime for graph.php when debugging
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2930 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-27 13:59:31 +00:00
f22f4b12a6
acsw change, and improve debugging for rrdtool graphing
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2816 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-12 12:51:21 +00:00
51e242b896
FFFFFFFffffffuuuuuuuuuuuuuuuuuuuuuu
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2028 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-05 14:16:27 +00:00
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
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
a32bff3c81
html pages cleanup
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1902 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 11:48:03 +00:00
ada14bd542
Major changes to graphing system organisation. Prevent sensors from being discovered in ENTITY-SENSOR-MIB if they've already been detected in CISCO-ENTITY-SENSOR-MIB (they share entPhysicalIndex). Fix ADSL poller. Make popup overlibs prettier as default.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1470 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-24 19:14:41 +00:00
c5f7f9ac5f
rrdcached support (yarly!)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1291 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-04 21:09:22 +00:00
19ccf99d8f
unify $os_group and $os_type into $config['os']
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1264 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-25 12:18:00 +00:00
ccda0e3966
forgot to remove removed files from graph.php, broken graphs, woopsie.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1201 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-18 14:15:12 +00:00
d33dfc87a1
fix load graph (fixed per-os specific graphs for device-level graphs *only*)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1157 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-12 18:14:59 +00:00
2df0add71a
revert 'rrdtool -' change for now
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1129 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-10 14:52:46 +00:00
a8babb6d0d
pass arguments to rrdtool via stdin instead of commandline (experimental, please find regressions if any ;))
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1107 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-08 18:22:00 +00:00
d21af56be1
fix emailing of up/down hosts and add config option to allow unauth'd graphs
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1091 61d68cd4-352d-0410-923a-c4978735b2b8
2010-05-28 15:21:27 +00:00
a40a1244bf
remove some crap from graphs setup. fetch device array inside graph file, not in graph.php. mres() in graph.php. try to switch to generic $_GET['id'] for everything (peers and ports undone?)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1084 61d68cd4-352d-0410-923a-c4978735b2b8
2010-05-02 19:47:09 +00:00
fca6fafb60
include defaults.php before config.php, not FROM config.php
...
git-svn-id: http://www.observium.org/svn/observer/trunk@966 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-27 14:44:38 +00:00
afdf4fbfc3
replace old hrStorage poller with generic storage poller and hrStorage plugin
...
*** OLD RRDFILES ARE USELESS NOW***
remove a load of old processor and storage stuff add more % bars to things
git-svn-id: http://www.observium.org/svn/observer/trunk@936 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-24 02:16:56 +00:00
e227df8ef2
rename some gui include files
...
git-svn-id: http://www.observium.org/svn/observer/trunk@891 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-20 17:37:42 +00:00
d1d00ffb12
less forks, more spoons...
...
git-svn-id: http://www.observium.org/svn/observer/trunk@779 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-07 22:26:13 +00:00
fb9c1f270d
one less fork per graph on a page, yay
...
git-svn-id: http://www.observium.org/svn/observer/trunk@768 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-05 23:11:47 +00:00
7157ec5549
a billion changes. **** MAKE SURE TO UPDATE DATABASE AND RUN poll-os.php AND discovery.php -h all **** This is VERY important, as a lot of things have changed! Expect missing files, and another update soon!
...
git-svn-id: http://www.observium.org/svn/observer/trunk@531 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-28 09:48:23 +00:00
08ae40ab1e
separate and improve overview page
...
git-svn-id: http://www.observium.org/svn/observer/trunk@515 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-11 18:20:32 +00:00
0983c2f94a
add debug option to spit rrd data
...
git-svn-id: http://www.observium.org/svn/observer/trunk@512 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-11 11:56:14 +00:00
881d4abfb3
add etherlike toggle option
...
git-svn-id: http://www.observium.org/svn/observer/trunk@511 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-11 11:43:06 +00:00
975c3a2a93
updates et al
...
git-svn-id: http://www.observium.org/svn/observer/trunk@503 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-07 02:30:38 +00:00
4ce992afb1
updates
...
git-svn-id: http://www.observium.org/svn/observer/trunk@499 61d68cd4-352d-0410-923a-c4978735b2b8
2009-10-28 23:39:05 +00:00
1f1eda9764
Major updates on the road to 0.7
...
git-svn-id: http://www.observium.org/svn/observer/trunk@492 61d68cd4-352d-0410-923a-c4978735b2b8
2009-10-28 13:49:37 +00:00