You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/probe/fortiswitch_port_stats.go
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@ package probe
3
3
import (
4
4
"log"
5
5
"fmt"
6
-
7
6
"github.com/bluecmd/fortigate_exporter/pkg/http"
8
7
"github.com/prometheus/client_golang/prometheus"
9
8
)
@@ -12,7 +11,9 @@ func probeSwitchPortStats(c http.FortiHTTP, meta *TargetMetadata) ([]prometheus.
12
11
var (
13
12
mSwitchStatus=prometheus.NewDesc(
14
13
"fortiswitch_status",
15
-
"Whether the switch is connected or not. \n # fgt_peer_intf_name = FortiLink interface that the FortiSwitch is connected to # \n connection_from = FortiSwitch port that is connected to the FortiLink interface",
14
+
`Whether the switch is connected or not
15
+
# fgt_peer_intf_name = FortiLink interface that the FortiSwitch is connected to
16
+
# connection_from = FortiSwitch port that is connected to the FortiLink interface`,
0 commit comments