Skip to content

Commit 990f31a

Browse files
committed
Rebuild after #16
1 parent fc19e82 commit 990f31a

File tree

2 files changed

+585
-585
lines changed

2 files changed

+585
-585
lines changed

USAGE.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ The following commands in the global namespace can be called directly.
2525

2626
| Command | Description | Example |
2727
| ------- | ----------- | ------- |
28-
| version | Print the current version of act.sh | `act.sh version ` |
2928
| config | Initialize the default environment. This is an alias for `act.sh environment add -d` | `act.sh config ` |
29+
| version | Print the current version of act.sh | `act.sh version ` |
3030

3131

3232
## account
@@ -178,11 +178,11 @@ Basic calls against an AppDynamics controller.
178178
| ------- | ----------- | ------- |
179179
| auth | Authenticate. | `act.sh controller auth ` |
180180
| status | Get the server status. This command will return a XML containing status information about the controller. | `act.sh controller status ` |
181-
| version | Get installed version from controller | `act.sh controller version ` |
182181
| isup | This command will pause until the controller is up. Use this to get notified after the controller is booted successfully. | `act.sh controller isup ; act.sh application list` |
183182
| call | Send a custom HTTP call to an AppDynamics controller. Provide the endpoint you want to call as parameter. You can modify the http method with option -X and add payload with option -d. | `act.sh controller call /controller/rest/serverstatus` |
184183
| login | Check if the login with your appdynamics controller works properly. If the login fails, use `act.sh controller ping` to check if the controller is running and check your credentials if they are correct. | `act.sh controller login ` |
185184
| ping | Check the availability of an appdynamics controller. On success the response time will be provided. | `act.sh controller ping ` |
185+
| version | Get installed version from controller | `act.sh controller version ` |
186186

187187

188188
## dashboard
@@ -211,18 +211,18 @@ Use the Database Visibility API to get, create, update, and delete Database Visi
211211
| list | List all collectors. No further arguments required. | `act.sh dbmon list ` |
212212
| queries | Get queries for a server. Requires a server id (-i), a start time (-b) and an end time (-f) as parameters. | `act.sh dbmon queries -i 2 -b 1545237000000 -f 1545238602` |
213213
| servers | List all servers. No further arguments required. | `act.sh dbmon servers ` |
214+
| create | Create a new database collector. You need to provide the following parameters:"<br>"/ -i name"<br>"/ -u user name"<br>"/ -h host name"<br>"/ -a agent name"<br>"/ -t type"<br>"/ -d database name"<br>"/ -p port"<br>"/ -s password | `act.sh dbmon create -i MyTestDB -h localhost -n db -u user -a "Default Database Agent" -t DB2 -p 1555 -s password` |
214215
| events | List all database agent events. This is an alias for `act.sh event list -a '_dbmon'`, so you can use the same parameters for querying the events. | `act.sh dbmon events -t BEFORE_NOW -d 60 -s INFO,WARN,ERROR -e AGENT_EVENT` |
215-
| create | Create a new database collector. You need to provide the following parameters:<br>/ -i name<br>/ -u user name<br>/ -h host name<br>/ -a agent name<br>/ -t type<br>/ -d database name<br>/ -p port<br>/ -s password | `act.sh dbmon create -i MyTestDB -h localhost -n db -u user -a "Default Database Agent" -t DB2 -p 1555 -s password` |
216216

217217

218218
## download
219219

220220
| Command | Description | Example |
221221
| ------- | ----------- | ------- |
222-
| versionlist | | `act.sh download versionlist ` |
222+
| login | Login with AppDynamics to retrieve an OAUTH token for downloads. You can use the provided token for downloads from https://download.appdynamics.com/ | `act.sh download login ` |
223223
| get | Download an agent. You need to provide a partial name of an agent you want to download. Optionally, you can provide a directory (-d) as download location. By default only the first match is downloaded, you can provide parameter -a to download all matches. | `act.sh download get -d /tmp golang` |
224224
| list | List agent files. You can provide a filter (-f) to filter for specific agent files. Or you can provide a search query (-s) to execute . Provide parameter -d to get the full download path | `act.sh download list -d -f golang` |
225-
| login | Login with AppDynamics to retrieve an OAUTH token for downloads. You can use the provided token for downloads from https://download.appdynamics.com/ | `act.sh download login ` |
225+
| versionlist | | `act.sh download versionlist ` |
226226

227227

228228
## environment
@@ -233,13 +233,13 @@ Afterwards you can use `act.sh -E <name>` to call the given controller.
233233

234234
| Command | Description | Example |
235235
| ------- | ----------- | ------- |
236-
| export | Export an environment into a postman environment | `act.sh environment export > output.json` |
237-
| edit | | `act.sh environment edit myaccount` |
238-
| delete | Delete an environment. Provide the name of the environment as parameter. | `act.sh environment delete myaccount` |
239-
| get | Retrieve an environment. Provide the name of the environment as parameter. | `act.sh environment get myaccount` |
240-
| list | List all your environments | `act.sh environment list ` |
241236
| source | Load environment variables | `act.sh environment source myaccount` |
237+
| get | Retrieve an environment. Provide the name of the environment as parameter. | `act.sh environment get myaccount` |
238+
| delete | Delete an environment. Provide the name of the environment as parameter. | `act.sh environment delete myaccount` |
242239
| add | Add a new environment. To change the default environment, run with `-d` | `act.sh environment add -d` |
240+
| list | List all your environments | `act.sh environment list ` |
241+
| export | Export an environment into a postman environment | `act.sh environment export > output.json` |
242+
| edit | | `act.sh environment edit myaccount` |
243243

244244

245245
## eum
@@ -289,8 +289,8 @@ Configure and retrieve health rules and their violates.
289289
| get | Get a healthrule. Provide an application (-a) and a health rule name (-n) as parameters. | `act.sh healthrule get -a 29` |
290290
| list | List all healthrules. Provide an application (-a) as parameter | `act.sh healthrule list -a 29` |
291291
| violations | Get all healthrule violations. Provide an application (-a) and a time range type (-t) as parameters, as well as a duration in minutes (-d) or a start-time (-b) and an end time (-f) | `act.sh healthrule violations -a 29 -t BEFORE_NOW -d 120` |
292-
| list | Copy healthrules from one application to another. Provide the source application id ("-s") and the target application ("-t").<br>/If you provide ("-n") only the named health rule will be copied. | `act.sh healthrule list -a 29` |
293292
| import | Import a health rule. | |
293+
| list | Copy healthrules from one application to another. Provide the source application id ("-s") and the target application ("-t")."<br>"/If you provide ("-n") only the named health rule will be copied. | `act.sh healthrule list -a 29` |
294294

295295

296296
## licenserule
@@ -319,8 +319,8 @@ Configure and retrieve health rules and their violates.
319319
| Command | Description | Example |
320320
| ------- | ----------- | ------- |
321321
| get | Get a specific metric by providing the metric path. Provide the application with option -a | |
322-
| list | List all metrics available for one application (-a). Provide a metric path like "Overall Application Performance" to walk the metrics tree. | |
323322
| tree | Create a metric tree for the given application (-a). Note that this will create a lot of requests towards your controller. | |
323+
| list | List all metrics available for one application (-a). Provide a metric path like "Overall Application Performance" to walk the metrics tree. | |
324324

325325

326326
## node
@@ -387,7 +387,7 @@ List servers, their properties and metrics
387387
| delete | Delete a machine. Provide a machine id (-m) as parameter. | `act.sh server delete -m 244` |
388388
| get | Get a machine. Provide a machine id (-m) as parameter. | `act.sh server get -m 244` |
389389
| list | List all machines. No additional argument required. | `act.sh server list ` |
390-
| query | Query a machineagent by hostname provide a machine name (-m) as parameter | `act.sh server query -m Myserver or if you want to query your own name -m mhu-ThinkPad-P52 on Linux` |
390+
| query | Query a machineagent by hostname provide a machine name (-m) as parameter | `act.sh server query -m Myserver or if you want to query your own name -m NEUMANNS-M-55CU on Linux` |
391391

392392

393393
## snapshot

0 commit comments

Comments
 (0)