aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortanaka_733 <tanaka-takayoshi@users.noreply.github.com>2017-03-16 11:41:17 +0900
committerBryn M. Reeves <bmr@redhat.com>2017-03-23 17:34:17 +0000
commitaf990ea220008a34e599f279ac7aef57cf640ed7 (patch)
tree94b36c8192b99f9627cbcc23e9cf8fd3ad1df884
parent78812cea93d12a1f93a2ded27157c936ffa4e1b7 (diff)
downloadsos-af990ea220008a34e599f279ac7aef57cf640ed7.tar.gz
[azure] Added RHEL plugin and collecting conf.
Added supporting RedHatPlugin. Added colleting /etc/waagent.conf. Resolves: #962. Signed-off-by: Takayoshi Tanaka <tatanaka@redhat.com>
-rw-r--r--sos/plugins/azure.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/azure.py b/sos/plugins/azure.py
index b61f7b63..edf0775c 100644
--- a/sos/plugins/azure.py
+++ b/sos/plugins/azure.py
@@ -14,10 +14,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-from sos.plugins import Plugin, UbuntuPlugin
+from sos.plugins import Plugin, UbuntuPlugin, RedHatPlugin
-class Azure(Plugin, UbuntuPlugin):
+class Azure(Plugin, UbuntuPlugin, RedHatPlugin):
""" Microsoft Azure client
"""
@@ -30,6 +30,7 @@ class Azure(Plugin, UbuntuPlugin):
"/var/log/waagent*",
"/var/lib/cloud",
"/etc/default/kv-kvp-daemon-init",
+ "/etc/waagent.conf",
"/sys/module/hv_netvsc/parameters/ring_size",
"/sys/module/hv_storvsc/parameters/storvsc_ringbuffer_size"
])