Tony Murray
465fa3986a
Fix Undefined variable/key warnings ( #14134 )
...
* Fix Undefined variable/key warnings
* massage for test data
* restore set_numeric, only generates noise
* Fix ucd storage used (apparently free is not stored in discovery...)
2022-08-21 16:23:43 -05:00
SourceDoctor
30c20fa11f
hrsystem write fix ( #13314 )
2021-10-02 18:03:24 -05:00
SourceDoctor
f47410e426
log count of logged in users in Database ( #13137 )
...
* log count of logged in users in Database
* .
* rewrite Code
* create hrSystem Table
* .
* .
* db adjustments
* adjust db Table
* .
* adjust db Table
* table redesign
* .
* .
2021-10-02 01:58:26 +02:00
Jellyfrog
2fc3a21211
Apply fixes from StyleCI ( #12121 )
2020-09-21 15:43:38 +02:00
Tony Murray
020c5fd7e1
Remove legacy code and fix missing device graphs ( #11950 )
...
* removing $graphs global
* remove unused things
* fix some additional graphs
* Fix graphs persisting too soon
* correct name for poller module performance graph
* only one type of graph is used here
2020-07-23 09:57:22 -05:00
Tony Murray
fad0bffc43
Escape SNMP & IPMI shell commands ( #9537 )
...
hopefully doesn't break anything
Mostly issues with snmp oids and options containing spaces. Try to remove all of those.
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.
- [x] 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.
2018-12-16 13:42:50 +00:00
Neil Lathwood
fad5aca1b7
feature: Allow customisation of rrd step/heartbeat when creating new rrd files ( #5947 )
...
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files
* revert defaults
* added docs + webui config option
* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.
* Fix style/lint issues and missing use statements
* 3 more missing use statements
* updated doc + moved schema file
2017-02-23 22:45:50 +00:00
Neil Lathwood
21898a3c29
Disco / Poller tidy up + Added display of module mem usage ( #5778 )
...
* tidyup + added mem usage for poller modules
* tidied up discovery modules
* fix sensors
2017-02-07 22:54:30 -06:00
Tony Murray
9284bc60ff
Update code in includes to be PSR-2 compliant ( #4220 )
...
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
Tony Murray
57650e4ffc
Remove nfs requirement for distributed poller (with rrdtool 1.5+)
...
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
laf
a194009917
Pretty up the polling process output
2016-06-21 01:41:45 +01:00
laf
7b14aada4e
Rebased
2015-10-26 11:08:19 +00:00
f0o
7d95e94954
Fix rrd creation parameters
2015-09-28 08:24:57 +00:00
laf
433562d351
More updates for influx
2015-08-19 20:58:02 +00:00
laf
987634e463
Updated rrdtool_update() to use new array format
2015-08-18 16:26:55 +00:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
Alexander Sosna
5a7988e2e4
chmod 0644 to php files not directly executed
2015-04-28 22:58:03 +02:00
Adam Amstrong
b273e04241
/// -> //
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
2b8178bb5b
move all RRA decisions to config. switch mempool/storage to new rrds (sorry, data lost, the old rrds sucked). added some more apps pages.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3068 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-20 17:37:58 +00:00
Tom Laermans
f0ed749a26
all trailing spaces must die, this concludes the polling part
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1881 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 17:57:40 +00:00
Tom Laermans
ecbcd1db43
clean up polling source files, remove dead code
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1865 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 01:11:27 +00:00
Tom Laermans
3c10ede092
Get rid of some more execs
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1814 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-10 15:51:56 +00:00
Adam Amstrong
f29e7b755b
redesigned graph defining system (still seems a bit batshit, but nevermind). lots of improvements to various pollers, only writing RRDs if valid data is returned, etc.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1506 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 19:43:02 +00:00
Adam Amstrong
29f5afa472
split netstats pollers into protocols. update $graphs array for each one successfully polled
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1501 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 12:59:59 +00:00
Adam Amstrong
c22e8493f7
migrate all SNMP calls to use $config['mibdir']. automatically generated from install_dir if not present
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1284 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-02 19:58:13 +00:00
Tom Laermans
51e38b6a78
fix windows uptime
...
git-svn-id: http://www.observium.org/svn/observer/trunk@985 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-03 09:15:37 +00:00
Adam Amstrong
3405339a3d
continuation of storage changes, addition of rrdtool functions
...
git-svn-id: http://www.observium.org/svn/observer/trunk@937 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-24 13:46:12 +00:00
Adam Amstrong
3c11291488
add generic device, hackeryfix hr-mib memory
...
git-svn-id: http://www.observium.org/svn/observer/trunk@882 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-17 18:54:34 +00:00
Adam Amstrong
3c42f22dcf
much much much much much much prettier percentage bars and some moving around of overview page.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@832 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-13 23:55:56 +00:00
Tom Laermans
fe4db767c9
fix windows uptime
...
git-svn-id: http://www.observium.org/svn/observer/trunk@735 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-28 09:57:19 +00:00
Adam Amstrong
1ab6f3cded
updates additions
...
git-svn-id: http://www.observium.org/svn/observer/trunk@505 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-09 15:52:04 +00:00
Adam Amstrong
f263850092
add missing files
...
git-svn-id: http://www.observium.org/svn/observer/trunk@504 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-09 11:38:13 +00:00