Skip to content

Commit 90c9fa5

Browse files
swordqiuQiu Jian
andauthored
fix: cloudmon default options (#22451)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
1 parent a399e30 commit 90c9fa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cloudmon/options/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type CloudMonOptions struct {
2929
InfluxDatabase string `help:"influxdb database name, default telegraf" default:"telegraf"`
3030

3131
DisableServiceMetric bool `help:"disable service metric collect"`
32-
CollectServiceMetricIntervalMinute int64 `help:"Collect Service metirc Interval unit:minute" default:"5"`
32+
CollectServiceMetricIntervalMinute int64 `help:"Collect Service metirc Interval unit:minute" default:"1"`
3333

3434
HistoryMetricPullDays int `help:"pull history metrics" default:"-1"`
3535
SupportAzureTableStorageMetric bool `help:"support collect azure memory and disk usage metric, there may be additional charges" default:"false"`
@@ -44,7 +44,7 @@ type PingProbeOptions struct {
4444
ProbeCount int `help:"probe count, default is 3" default:"3"`
4545
TimeoutSecond int `help:"probe timeout in second, default is 1 second" default:"1"`
4646

47-
DisablePingProbe bool `help:"enable ping probe"`
47+
DisablePingProbe bool `help:"enable ping probe" default:"true"`
4848
PingProbIntervalHours int64 `help:"PingProb Interval unit:hour" default:"6"`
4949

5050
PingReserveIPTimeoutHours int `help:"expire hours to reserve the probed IP, default 0, never expire" default:"0"`

0 commit comments

Comments
 (0)