VMware Communities
Jonnn1
Contributor
Contributor

Workstation P2V SNMP Not Working

Hello,

I have a physical CentOS 7 machine for development. It is running netsnmp 5.8 snmpd, using the -v2c -c public switches. This is for the purpose of developing an application, in C++. The application is can respond to snmpget commands. These get commands are issued on the local machine while testing the application. This has been working for a long (years) time. 

So. I did a p2v on that machine into Workstation Pro 14. Everything is working but it is not responding to the snmpget commands for the application specific MIBs, it just returns Unknown Object Identifier or Timeout depending on what I try. I can run  snmpget -v2c -c public localhost sysName.0 and get a sensible response.

I've disable the firewall on the linux guest and windows 10 host. I have been around the net-snmp help files about 20 times. I have run out of ideas as to what the issue with doing this inside a VM is.

I'm not interested in monitoring the VM itself using a VMWare specific thing, so if that's in the way I'm happy to disable / get rid of it; not that I know if it is or isn't.

Has anyone got any ideas as to why this is not working and / or what I can check to resolve this?

Help is very much appreciated.

Reply
0 Kudos
2 Replies
Anonymous
Not applicable

@Jonnn1 

What network analysis have you done on the host OS or in the guest OS? (as in using WireShark or similar)

 

Jonnn1
Contributor
Contributor

Hi.

Thanks for the reponse, it's narrowed things down a bit.

Wireshark on the VM is telling me that it's bouncing off the localhost on the Guest, which is what I expect. The get-request and get-response are both there. If I request the system description (1.3.6.1.2.1.1.1.0) then it responds OK. If I request something from our application the response is noSuchObject.

I guess that means there is a permission thing inside the snmpd or something. I'll have a go round the net-snmp stuff again.

Jon

Reply
0 Kudos