Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status and health items show xml data #9

Open
pavkamlc opened this issue Sep 17, 2021 · 1 comment
Open

Status and health items show xml data #9

pavkamlc opened this issue Sep 17, 2021 · 1 comment

Comments

@pavkamlc
Copy link

pavkamlc commented Sep 17, 2021

All status and health items show data in XML format, not text like in screenshot from README.

OS: Centos8
ZBX: v5.4.4

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <healInfo>
    <bricks>
      <brick hostUuid="3...
        <name>server1:/mnt...
        <status>Connected</status>
        <totalNumberOfEntries>0</totalNumberOfEntries>
        <numberOfEntriesInHealPending>0</numberOfEntriesInHealPending>
        <numberOfEntriesInSplitBrain>0</numberOfEntriesInSplitBrain>
        <numberOfEntriesPossiblyHealing>0</numberOfEntriesPossiblyHealing>
      </brick>
      <brick hostUuid="0...
        <name>server2:/m...
        <status>Connected</status>
        <totalNumberOfEntries>0</totalNumberOfEntries>
        <numberOfEntriesInHealPending>0</numberOfEntriesInHealPending>
        <numberOfEntriesInSplitBrain>0</numberOfEntriesInSplitBrain>
        <numberOfEntriesPossiblyHealing>0</numberOfEntriesPossiblyHealing>
      </brick>
    </bricks>
  </healInfo>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
</cliOutput>

@Lelik13a
Copy link
Owner

Its a main values and will be parsed by depended items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants