0

As a part of automating server self discovery I am trying to fetch network details of the idrac. I can fetch ipV4 network settings using "ipmitool lan print" command. But I want to fetch "DNS DRAC Name" value as well which we are setting manually. Can it be queried using any of the ipmitool options?

4

1 回答 1

1

我找不到它。我尝试过的各种 ipmitool 命令都没有,SNMP 也没有。

但是,有一个设置可以让它在 DNS 中注册自己。并且您的 DHCP 服务器也可能被配置为这样做。

所以我无法从机器读取值,但我可以使用反向 DNS 获取名称:

idracIP=192.168.10.10
host $idracIP
# or
dig +short -x $idracIP
于 2015-11-20T18:37:16.343 回答