Is it currently showing some other path? I wonder if it's got /opt/zenoss hardcoded. I'd just replace with $ZENHOME, because if you've got an older install (like me), $ZENHOME is /opt/zenoss, whereas the newer ones have $ZENHOME as /usr/local/zenoss...
I'm not at all sure why the change in paths, but it has caused issues in the past. -- James Pulver Information Technology Area Supervisor LEPP Computer Group Cornell University bwitherell wrote, On 4/20/2009 10:35 AM: > Okay, So i have figured it out. I was doing everything correctly as far as > the migration of zenoss goes. The procedure outlined in the FAQ > http://community.zenoss.org/trac-zenpacks/wiki/CommunityFAQGeneral#CanImigratefromaVMWareAppliancetoaZenossCorenativeinstall > works like a charm. > > The issue was with a zenpack that works correctly when running on the VM > Appliance version but not when it is running on the Native install versions > of Zenoss. > > The Zenpack that i had issues with was the WMIPerformaceMonitor Zenpack. > The "graphing issue" I had with this Zenpack was apparently a data collection > issue. To fix this issue I had to: > > Edit $ZENHOME/Products/WMIPerformanceMonitor/libexec/wmi_stats.pl > and replace Line 12 with: > > > Code: > $cmd = “/usr/local/zenoss/common/bin/wmic -U > �...@argv[3]‘%’@ARGV[4]‘ //@ARGV[2] “; > > > > Also you need to make sure that the server you are running zenoss on has a > program called WMIC installed. This Zenpack uses WMIC as the client that > queries Microsoft Windows WMI "database". > > > If you are having data collection issues with the WMIPerformanceMonitor > Zenpack my suggestion is to: > > 1.) make sure you have WMIC installed. > 2.) make sure you have a Windows user account and password specified in the > zWinUser and the zWinPassword boxes in the zProperties tab of the device > class you are using WMI to monitor. > 3.) the user account you specify must have sufficient permissions to query > the WMI database on all devices in that class. > > If you have done all of the above and you are still having issues try the > following: > > 1.) Open the $ZENHOME/Products/WMIPerformanceMonitor/libexec/wmi_stats.pl > file in a text editor. > 2.) Comment out line 12 and replace with the above mentioned code. > > Thanks to mray and jmp242 for all the help. > > > > > -------------------- m2f -------------------- > > Read this topic online here: > http://forums.zenoss.com/viewtopic.php?p=33586#33586 > > -------------------- m2f -------------------- > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
