Skip to content

Commit

Permalink
Merge pull request #5181 from snwoods/private/stevenwo/CA-381047
Browse files Browse the repository at this point in the history
CA-381047: Add observer capability to bugtool
  • Loading branch information
robhoes authored Oct 4, 2023
2 parents 4e40ab6 + 0556b82 commit 4adc1c9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ install:
$(IPROG) nbd_client_manager.py $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)$(ETCXENDIR)/bugtool/xapi
mkdir -p $(DESTDIR)$(ETCXENDIR)/bugtool/xenopsd
mkdir -p $(DESTDIR)$(ETCXENDIR)/bugtool/observer
$(IDATA) bugtool-plugin/xapi.xml $(DESTDIR)$(ETCXENDIR)/bugtool
$(IDATA) bugtool-plugin/xapi/stuff.xml $(DESTDIR)$(ETCXENDIR)/bugtool/xapi
$(IDATA) bugtool-plugin/xenopsd.xml $(DESTDIR)$(ETCXENDIR)/bugtool
$(IDATA) bugtool-plugin/xenopsd/stuff.xml $(DESTDIR)$(ETCXENDIR)/bugtool/xenopsd
$(IDATA) bugtool-plugin/observer.xml $(DESTDIR)$(ETCXENDIR)/bugtool
$(IDATA) bugtool-plugin/observer/stuff.xml $(DESTDIR)$(ETCXENDIR)/bugtool/observer
$(IPROG) fence $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xha-lc $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xapi-health-check $(DESTDIR)$(LIBEXECDIR)
Expand Down
1 change: 1 addition & 0 deletions scripts/bugtool-plugin/observer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<capability pii="maybe" max_size="104857600" max_time="60" mime="text/plain" checked="true"/>
3 changes: 3 additions & 0 deletions scripts/bugtool-plugin/observer/stuff.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<collect>
<directory label="tracing">/var/log/dt</directory>
</collect>
1 change: 0 additions & 1 deletion scripts/bugtool-plugin/xapi/stuff.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
<files>@ETCDIR@/stunnel/xapi-stunnel-ca-bundle.pem</files>
<command label="xapi_cert">cat @ETCXENDIR@/xapi-ssl.pem | @BINDIR@/openssl x509 -text</command>
<command label="xapi_pool_cert">cat @ETCXENDIR@/xapi-pool-tls.pem | @BINDIR@/openssl x509 -text</command>
<directory label="tracing">/var/log/dt</directory>
<command label="save_rrd">rrd-cli save_rrds</command>
</collect>

0 comments on commit 4adc1c9

Please sign in to comment.