Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Forcing the AMAgent to send data faster by modifying an aspx file

Created: 29 Jan 2014 • Updated: 29 Jan 2014 | 1 comment
Language Translations
SK's picture
0 0 Votes
Login to vote

The Application Metering UI only allows you to configure the AMAgent to send data either daily or weekly.

If you are looking at Application Metering in a lab or demonstarting it in a POC, you may wish to have the AMAgent send data more frequently.

This article describes the steps required to enable you to do this by modifying an aspx file.

 

1.  Take a backup of the "path\Altiris\Inventory\Web\Metering\ApplicationMeteringPolicyConfigurationUI.aspx” file for rollback purposes.

2.  Open the “ApplicationMeteringPolicyConfigurationUI.aspx” file in an XML Editor, like Notepad++.

3.  Search for the following attributes, replacing Visible=”false” to Visible=”true”, and save the file when finished.
  -chkClientSendSummary (checkbox)
  - lblClientSendSummary (label)
  - ddlSendSummaryFrequency (dropdown list)
(Sample code:
<td style="width: 33%">
                        <asp:CheckBox ID="chkClientSendSummary" runat="server" Visible="false"></asp:CheckBox>
                        <asp:Label ID="lblClientSendSummary" runat="server" Text="" Font-Size="11px" Visible="false"></asp:Label>
                    </td>
                    <td style="width: 77%" colspan="2">
                        <asp:DropDownList CssClass="ClsButton" ID="ddlSendSummaryFrequency" Font-Size="11px"
                            runat="server" Visible="false">
                        </asp:DropDownList>
                    </td>)

4.  Perform an IISRESET

5.  Open the SMP console and navigate to “Settings -> All Settings -> Discover and Inventory -> Inventory Solutions -> Application Metering Configuration” and adjust the “Client send summary data every:” interval.
 
If the above did not work, close the console, open the “C:\Windows\Microsoft.Net\Framework64\v2.0.50727\Temporary ASP.NET Files” directory, delete all files, and then reopen the console.

 

The following blog explains how to achieve the same goal via SQL:- 

https://www-secure.symantec.com/connect/blogs/how-...

Comments 1 CommentJump to latest comment

greg_zielinski's picture

I've used this to do it on a per machine basis.

https://www-secure.symantec.com/connect/forums/application-monitoring-0

 

How to quickly see if metering is sending events?

This manual modification will override the send events interval set on the NS for metering events.

  1. Set the Capture Events Folder to capture the outgoing NSEs. (See How to capture events (or any NSE) sent from the client)
  2. Open up the registry editor using regedit.exe
  3. Locate the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent
  4. In the key Altiris Agent Make a New > Key named AMAgent.
  5. In the key AMAgent, make a DWORD value named Interval.
  6. Set the value of Interval to a value 30(Decimal).
  7. Restart the Altiris agent service once to enable this hack.
  8. Try launching applications which would trigger sending events.
  9. The events should get captured in under a minute in the Captured events folder that you’ve just set.

 

0
Login to vote