return pve_rados_cluster_stat($self->{conn});
}
-# example: { prefix => 'mon dump', format => 'json' }
+# example1: { prefix => 'get_command_descriptions'})
+# example2: { prefix => 'mon dump', format => 'json' }
sub mon_command {
my ($self, $cmd) = @_;
use PVE::RADOS;
-print "TEST1\n";
my $rados = PVE::RADOS::new();
-print "TEST2\n";
-my $res = $rados->mon_command({ prefix => 'mon dump', format => 'json' });
+my $res = $rados->mon_command({ prefix => 'get_command_descriptions'});
+print Dumper($res);
+
+$res = $rados->mon_command({ prefix => 'mon dump', format => 'json' });
print Dumper($res);
$res = $rados->mon_command({ prefix => 'mon dump', format => 'json' });
print Dumper($res);