Skip to content

Commit

Permalink
[qdevice] New plugin to collect information on quorum devices used by…
Browse files Browse the repository at this point in the history
… Pacemaker clusters

Signed-off-by: Javier Blanco <[email protected]>
  • Loading branch information
Javier Blanco committed Sep 6, 2024
1 parent cc88008 commit 0cf591e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions sos/report/plugins/qdevice.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (C) 2024 Javier Blanco <[email protected]>

# This file is part of the sos project: https://github.com/sosreport/sos
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# version 2 of the GNU General Public License.
#
# See the LICENSE file in the source distribution for further information.

from sos.report.plugins import Plugin, IndependentPlugin

class Qdevice(Plugin, IndependentPlugin):
short_desc = 'qdevice information'

plugin_name = 'qdevice'
packages = ('corosync-qnetd')

def setup(self):
self.add_cmd_output([
"pcs qdevice status net --full"
])

0 comments on commit 0cf591e

Please sign in to comment.