Skip to content

Commit

Permalink
Merge pull request #14 from mqsysadmin/20170125
Browse files Browse the repository at this point in the history
readme update
  • Loading branch information
SysIntAu committed Jan 25, 2017
2 parents 8c43d96 + e6a6239 commit c9886cc
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions README.md
Expand Up @@ -102,30 +102,12 @@ Adding the

The 'find' function will help you construct a command, and demonstrate the target AMP and SOMA XML structure constructed and posted by the utility.

'find filestore' will give you a look at the SOMA structure
'find get-status' will give you a look at the SOMA structure
```
DPDirect> find filestore
DPDirect> find get-status
# Sample XML:
```
```XML
<man:request domain="?" xmlns:man="http://www.datapower.com/schemas/management">
<man:get-filestore annotated="?" layout-only="?" location="?" no-subdirectories="?"/>
</man:request>
```
```
# Valid 'location' attribute values:
local:, store:, export:, cert:, sharedcert:, pubcert:, image:, config:, chkpoints:, logtemp:,
logstore:, temporary:, tasktemplates:
```
So the command is 'get-filestore', and should include mandatory children and attributes. Not all attributes are mandatory.
In this case, it will suffice to enter at the cmd-line:
```
> get-filestore location=local:
```

'find get-status' will display
```
# Sample XML:
<man:request domain="?" xmlns:man="http://www.datapower.com/schemas/management">
<man:get-status class="?"/>
</man:request>
Expand All @@ -135,7 +117,12 @@ Together with a vast array of enumerated objects:
# Valid 'class' attribute values:
ActiveUsers, ARPStatus, Battery, ConnectionsAccepted, CPUUsage, CryptoEngineStatus, CurrentSensors, DateTimeStatus, DNSCacheHostStatus, DNSCacheHostStatus2, DNSNameServerStatus, DNSNameServerStatus2, DNSSearchDomainStatus, DNSStaticHostStatus, DocumentCachingSummary, DocumentStatus, DocumentStatusSimpleIndex, DomainCheckpointStatus, DomainsMemoryStatus, DomainStatus, DomainSummary...
```
when issued WITHOUT a 'class=...' identifier, the get-status command will return all 'ObjectStatus' statii that do NOT return an EventCode of '0x00000000'.
So the command is 'get-status', and should include mandatory children and attributes. Not all attributes are mandatory.
In this case, it will suffice to enter at the cmd-line:
```
DPDirect> get-status
```
'get-status' without arguments will display all objects who's status is not currently 0x00000000.
```
DPDirect> get-status
Class: Statistics, OpState: down, AdminState: disabled
Expand All @@ -155,8 +142,6 @@ Class: NFSDynamicMounts, OpState: down, AdminState: disabled

'tail-log' operation will tail the default log. To exit, hit enter.

'get-status' without arguments will display all objects whos status is not currently 0x00000000.

'tail-count' is experimental. 'tail-count name={mpgname} class=MultiProtocolGateway' will monitor the traffic count through the named mpg. It will clean up the temproary monitor when you exit (hit enter).


Expand Down

0 comments on commit c9886cc

Please sign in to comment.