34 Commits

Author SHA1 Message Date
Dietmar Maurer
780fbb4b2a pvestatd: log warnings to syslog 2016-10-26 15:58:23 +02:00
Dietmar Maurer
ae8b09bdf6 pvestatd: use 'priv' environment for service 2016-01-22 11:24:17 +01:00
Dietmar Maurer
092fa1b0de cleanup: use new run_cli_handler() method 2015-10-02 11:28:01 +02:00
Dietmar Maurer
d36acebb14 pvestatd: cleanup, run PVE::RPCEnvironment->init() 2015-09-04 12:48:30 +02:00
Dietmar Maurer
b89ae9fc92 convert pvestatd into a PVE::Service class 2015-09-04 11:22:09 +02:00
Dietmar Maurer
b8d5dcf5ae correctly display lxc templates 2015-08-18 09:43:15 +02:00
Wolfgang Link
4905626e31 fix bug #682: change at the Gui the used disk size.
in the pvesm and pvesh we are giving the correct size of the used space from a disk.
this change make the output of Gui and CLI consistent.
2015-08-17 09:47:36 +02:00
Alexandre Derumier
6de570e1a3 add node stats
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-23 17:13:50 +02:00
Alexandre Derumier
567bb543a7 add graphite plugin V2
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-23 17:13:14 +02:00
Dietmar Maurer
eb32152f91 implement status plugin framework 2015-06-22 09:45:57 +02:00
Wolfgang Bumiller
98ac92f039 move preparations into prepare()
Moving some preparation code found at the top level of some binaries
into a prepare() sub.
2015-05-29 16:12:24 +02:00
Dietmar Maurer
57bbb7ef19 pvestatd: update status of LXC containers 2015-04-18 09:43:45 +02:00
Dietmar Maurer
dafb62468e remove OpenVZ related code
There is still no OpenVZ for kernel 3.10 or newer, so we remove that code now.
2015-03-27 13:43:59 +01:00
Dietmar Maurer
974e0baada pvestatd: remove duplicate syslog (already logged in PVE::Daemon) 2015-01-02 14:32:00 +01:00
Dietmar Maurer
4209128ee1 pvestatd: fix register_XYZ_command parameters 2015-01-02 09:57:19 +01:00
Dietmar Maurer
6e12f8db96 pvestatd: correctly set debug flag 2015-01-02 09:55:57 +01:00
Dietmar Maurer
6de9c74747 fix arguments for register_restart_command 2014-12-18 13:52:47 +01:00
Dietmar Maurer
891d124227 pvestatd: use new Daemon class from pve-common 2014-12-18 10:42:27 +01:00
Dietmar Maurer
c8a8385a8c close inotify handle before restart/exec 2014-05-22 09:57:15 +02:00
Dietmar Maurer
ad1072cd11 undo last commit - we us an extra daemon to update firewall rules 2014-05-16 07:05:23 +02:00
Dietmar Maurer
77524769c4 periodically update firewall rules with pvestatd 2014-05-06 12:44:55 +02:00
Stefan Priebe
776de3bc0d do not use -w switch as it breaks modules
-w enabled warnings for all modules - even when these modules comes from the OS and are not compatible
with warnings. This is the reason to NOT use -w and instead use "use warnings".
2013-10-01 10:36:47 +02:00
Alexandre Derumier
68cd38c2cc pvestatd : add template value to rrd
we need it for resourcestore

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-02-15 10:21:31 +01:00
Dietmar Maurer
3c353ed26d updates for new pve2.3-vm rrd format 2013-01-17 09:37:11 +01:00
Dietmar Maurer
53f13052ed implement new auto balloon algorithm
Moved code into PVE/AutoBalloon.pm, and added a regression tests in bin/test/balloontest.pl
2012-12-28 12:50:13 +01:00
Dietmar Maurer
0883a37846 implement auto_balloning
bump version to 2.3-3
2012-12-20 13:45:19 +01:00
Dietmar Maurer
9dbdda49d0 pvestatd: run at lease 10 cycles
Comment from Stefan: I've seen that it takes up to 10 cycles to have a
constant memory size. I think this is due to the fact that perls garbage
collection is not running every after each cycle.
2012-10-29 13:08:46 +01:00
Dietmar Maurer
350b3b46e9 pvestatd: fix server reload 2012-10-29 12:32:53 +01:00
Dietmar Maurer
f9d4fc64e2 updates for vzctl 4.0 2012-10-02 09:28:11 +02:00
Dietmar Maurer
cbb20c6e19 use QMP to query detailed blockstats from KVM 2012-07-13 09:37:18 +02:00
Dietmar Maurer
16b69b6c3e add subscription status to datacenter summary 2012-03-26 10:39:10 +02:00
Dietmar Maurer
9b0aba107a only log status update time if it takes more than 5 seconds 2011-11-10 06:27:10 +01:00
Dietmar Maurer
b3409356f3 implement openvz status update 2011-09-28 15:45:13 +02:00
Dietmar Maurer
aff192e6f5 imported from svn 'pve-manager/pve2' 2011-08-23 07:40:22 +02:00