Skip to content

Commit a6392d6

Browse files
Fix zenoss base url (#5)
1 parent 1bf1625 commit a6392d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zenoss/scripts/send2jsm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var API_KEY = ""
2424
var TOTAL_TIME = 60
2525
var configParameters = map[string]string{"apiKey": API_KEY,
2626
"zenoss2jsm.logger": "warning",
27-
"jsm.api.url": "https://api.atlassian.com/jsm/ops/integration",
27+
"jsm.api.url": "https://api.atlassian.com",
2828
"zenoss2jsm.http.proxy.enabled": "false",
2929
"zenoss2jsm.http.proxy.port": "1111",
3030
"zenoss2jsm.http.proxy.host": "localhost",
@@ -271,7 +271,7 @@ func logErrorAndExit(log string, err error) {
271271
}
272272

273273
func postToJSM() {
274-
apiUrl := configParameters["jsm.api.url"] + "/v1/json/zenoss"
274+
apiUrl := configParameters["jsm.api.url"] + "/jsm/ops/integration/v1/json/zenoss"
275275
target := "JSM"
276276

277277
if logger != nil {

0 commit comments

Comments
 (0)