diff --git a/bridge b/bridge index 5b71f31..edbe5f3 100755 Binary files a/bridge and b/bridge differ diff --git a/cmd/bridge/main.go b/cmd/bridge/main.go index d66e138..f343352 100644 --- a/cmd/bridge/main.go +++ b/cmd/bridge/main.go @@ -199,7 +199,7 @@ func (b *bridge) handle(w http.ResponseWriter, r *http.Request) { b.mu.Lock() defer b.mu.Unlock() switch status { - case 2: // DOWN (0=unknown,1=up,2=down per Kuma webhook) + case 0: // Kuma heartbeat status: 0=down, 1=up, 2=pending, 3=maintenance if _, exists := b.open[k.Monitor.Name]; !exists { tid, err := b.glpi.openTicketFor(k.Monitor.Name) if err == nil && tid == 0 {