Hello,
I have to check my vmware vmx processes via snmp on a linux machine. Unfortunately snmp strings are limited to 128 characters. If I start a virtual machine I can see a very long process argument string in the process list, like this:
ps -ef | grep vmware-vmx
root 5670 1 1 2008 ? 18:59:24 /usr/lib/vmware/bin/vmware-vmx -# product=2;name=VMware Server;version=2.0.0;buildnumber=122956;licensename=VMware GSX Server for Linux;licenseversion=3.0 build-122956; -@ pipe=/tmp/vmhsdaemon-0/vmx457dd5b76c2987a3;readyEvent=60 /vmware/virtualmachines/www/www.vmx
If I do a smpwalk on my linux host, I get back these variables to identify the process:
hrSWRunName.5670 = STRING: "vmware-vmx"
hrSWRunPath.5670 = STRING: "/usr/lib/vmware/bin/vmware-vmx"
hrSWRunParameters.5670 = STRING: "-# product=2;name=VMware Server;version=2.0.0;buildnumber=122956;licensename=VMware GSX Server for Linux;licenseversion=3.0 buil"
You see, that the hrSWRunParameters oid is truncated to 128 chars. So there is no possibility to identify the virtual machine by name! Is there any possibility to shorten the process argument entries in the process list, or to reverse the order? So that I get unique results in snmp
TIA
Carsten