W3Cschool
恭喜您成為首批注冊(cè)用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
zabbix_api 默認(rèn)連接[zabbixserver]的機(jī)器信息
--profile 不加參數(shù)時(shí),會(huì)輸出可支持的后選項(xiàng)
[root@Linux ~]# zabbix_api --profile
1.2.2
['zabbixserver', 'bendi', 'server31', 'server128', 'server156']
默認(rèn)連接zabbixserver的機(jī)器信息,如果想連接[bendi]的機(jī)器,無需頻繁修改配置文件,只需要在命令后加上--profile bendi,指定新的配置就可以了
[root@meetbill ~]#zabbix_api host_get --profile bendi
1.2.3
[HostID] [HostName] [ip] [Status] [Available] [templates]
[10084] [Zabbix server] [127.0.0.1] [Disabled] [Unknown] [Template App Zabbix Server,Template OS Linux,]
sum: 1
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: