Skip to content

Commit 627992f

Browse files
committed
Added vdom search
Signed-off-by: Örnfeldt Philip (66140321) <[email protected]>
1 parent 4f0f602 commit 627992f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/probe/system_ntp_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func probeSystemNtpStatus(c http.FortiHTTP, meta *TargetMetadata) ([]prometheus.
8181
}
8282

8383
var result []SystemNtpStatusResult
84-
if err := c.Get("api/v2/monitor/system/ntp/status","",&result); err != nil {
84+
if err := c.Get("api/v2/monitor/system/ntp/status","vdom=*",&result); err != nil {
8585
log.Printf("Error: %v", err)
8686
return nil, false
8787
}

0 commit comments

Comments
 (0)