This post is more than 5 years old

9 Posts

137502

October 3rd, 2011 15:00

Exclude Hosts from using Licenses

I have 2 Clusters in my ESX environment(Production and Staging) but only want to monitor and alert on my Production servers and datastores.  vFoglight sees all the hosts and CPUs and we've only purchased licenses for the Production hosts and I keep getting alarms from my Staging environment which I don't want.  Is there any way to "exclude" these servers and datastores so they don't tie up my liceneses?

Thanks for any help,

Craig

94 Posts

October 3rd, 2011 19:00

Hello Craig,

The options are :

1. Move the Staging cluster into its own DataCenter and do not grant access to the userID to this datacenter

2.Update FoglightAgent.winservice.exe.config file located in VMware agent directory. The file has an entry called SkippedEntityList=”” Add the Object IDs of ESX hosts and VMs that need to be excluded inside the double quotes with each entry separated by a semi-colon. Please note this will still collect the inventory of those ESX hosts and VMs meaning they will be visible in vmExplorer dashboard but no other metrics will be collected

3.VMware agent that will come out with vFog 6.6 is completely redesigned (it is FglAM based) and will most likely have an easier way to exclude hosts/vms

Regards

Prasad Gadgil

October 3rd, 2011 17:00

If the user ID you use for Foglight in virtual center has no access to those ESX hosts that you want to exclude, it will not collect data about them

Golan

5 Posts

October 3rd, 2011 18:00

Funny, I was just coming here to ask this exact same question.

So am I to take it that there's not a legitimate way to exclude hosts?  Same user id is used for all of them so the suggestion above isn't going to work for me.

9 Posts

October 3rd, 2011 19:00

Unfortunately it does.  Any other ideas?

-Craig

5 Posts

October 4th, 2011 19:00

Excellent info!  I've located the config file and found the line you mentioned.  Question now is where do I go to get the name for the hosts/vms that it's requesting?  Looks like it wants a format similar to: vm-12345 for VMs and host-12345 for the host servers.

Where can I locate this data for the ones I want excluded?

94 Posts

October 5th, 2011 00:00

In FMS console, navigate to Administration | Tooling | Script Editor dashboard.

To list ESX host Select VMWESXServer object from the drop down box under Query and click on List Instances button. This will list all the instances of ESX hosts with their Names, IP address and host-ID.

For Virtual machines Select VMWVirtualMachine object.

Make sure to restart Collector service after you update the config file.

Regards

Prasad Gadgil

No Events found!

Top