chore: 插件改名
This commit is contained in:
parent
28482d201d
commit
77d8153b43
@ -1,5 +1,5 @@
|
|||||||
package zabbixagent
|
package zabbixagent
|
||||||
|
|
||||||
const (
|
const (
|
||||||
PluginName = "OnvifAgent"
|
PluginName = "ONVIF"
|
||||||
)
|
)
|
||||||
|
@ -76,9 +76,9 @@ func (p *zabbixAgentPlugin) registerMetrics() error {
|
|||||||
h := NewHandler()
|
h := NewHandler()
|
||||||
|
|
||||||
p.metrics = map[metricKey]*metricBinding{
|
p.metrics = map[metricKey]*metricBinding{
|
||||||
"onvif.version": {
|
"onvif.app.version": {
|
||||||
metric: metric.New(
|
metric: metric.New(
|
||||||
"ONVIF app version",
|
"App version",
|
||||||
nil,
|
nil,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user