Table of Contents
How to remove ghost nics on vmware machines that have been P2Ved
- Open up a command prompt
- Type – “SET DEVMGR_SHOW_NONPRESENT_DEVICES=1? and hit Enter
- Type – “START DEVMGMT.MSC” and hit Enter
- Once the Device Manger opens to the “View” menu and select “Show Hidden Devices”. Expand the Network Interface portion of the device tree and you should be able to remove the phantom NIC.
Enable SNMP Monitoring
- Turn on SSH
- Login
- Navigate to Configuration
- Click on Security Profile
- Go to Properties
- Enable SSH
- SSH into server
- edit /etc/vmware/snmp.xml
- vi /etc/vmware/snmp.xml
- hit "i" to insert text
Edit the config to mimic the following configurations (You can also use IP instead of the fqdn):
<config> <snmpSettings> <enable>true</enable> <communities>community</communities> <port>161</port> <targets>server.fqdn.local/communities</targets> </snmpSettings> </config>
- hit Esc, then :w to write changes
- hit Esc, then :q to exit
Restart SNMP Services
services.sh restart