Configuring the SMP Agent to ignore specific resource keys on Unix, Linux & Macintosh clients

Article:HOWTO60919  |  Created: 2011-11-17  |  Updated: 2013-12-18  |  Article URL
Article Type
How To

As of the Agent for Unix, Linux and Mac (ULM) 7.1, it is possible to configure which resource keys to ignore during generation of NSE events. This allows for exclusion of any values that would cause a conflict in a given environment.

(An NSE event is anything sent to the NS/SMP, including Basic Inventory, event transactions, inventory solution, etc.)  

This can apply to any situation where computer resources are merged because they have the same resource key values.
To make this configuration change: 
1. On the ULM client edit the file: /opt/altiris/notification/nsagent/etc/client.conf. 
2. Find the  '[MachineID]' section.
3. Change the values for the 'ignore_resource_keys' . (Add the value if it doesn't currently exist.)
Note 1: Values listed here will NOT be used as resource keys in events sent to the NS/SMP from the client.
Note 2: This field is a comma-separated list on a single line.
Note 3: Supported values are: name.domain, fqdn, macaddress, uniqueid, adnamedomain.  Note that the 'hostname' resource key cannot be excluded. 
Note 4: The name.domain value is based on the targeted settings 'Computer Information' settings in the NS/SMP Console. Options are the local computer name or the DNS name, etc.
Note 5:   

In 7.1 SP1_PF1, this field is viewable and modifiable in the client.conf file. Changes made are maintained in this state after an upgrade to 7.1 SP2. 
Since 7.1 SP2, this field is hidden. It is possible to add the line in the 'MachineID' section.


ignore_resource_keys=fqdn, macaddress, uniqueid

 Sample Command Line for Run Script Task, Shell Script, Etc.

The following command can be used from a command line, in a run script task, a shell script or another appropriate script to automate the configuration of client machines with these settings. If the entry exists, it will be updated. If the entry does not exist, it will be created at the end of the machineid section.  

sudo aex-helper agent -s MachineID ignore_resource_keys "fqdn, macaddress, uniqueid"


Article URL

Terms of use for this information are found in Legal Notices