我想知道我是否能得到网络上每个设备的完整硬件信息?(首选linux命令)使用nmap命令,我在我的网络中找到了设备,但只有名称、ip地址和MAC。是否有可能获得完整的硬件信息,如CPU信息,RAM信息(每个卡的大小和频率),PCIe卡连接,硬盘等。
发布于 2017-08-14 09:56:19
Ansible在您的环境中可能是最容易配置的,以便完成您所拥有的数据收集任务。
一旦配置完毕,setup模块就可以满足您的需要(http://docs.ansible.com/ansible/latest/setup_module.html):
# Display facts from all hosts and store them indexed by I(hostname) at C(/tmp/facts).
# ansible all -m setup --tree /tmp/factshttps://serverfault.com/questions/868505
复制相似问题