ITMS Administrator Group

 View Only
Expand all | Collapse all

Application metering Record usage capture schedule

  • 1.  Application metering Record usage capture schedule

    Posted Jan 27, 2014 01:17 PM

    screenshot.png

    How do i create custom schedule in application metering to record usage events.

    Please find the screen shot and help me to create a custom schedule instead of only daily and weekly schedule.



  • 2.  RE: Application metering Record usage capture schedule

    Posted Jan 27, 2014 01:24 PM

    That is the blacklist policy which is used to prevent EXE's from running.  It will not record EXE usage, just the denial action.

    If you want to record EXE usage, you need to create a metering policy.  It basically looks the same as that blacklist policy.

    You add the relevant EXE or EXE's to your policy and make sure it is set to allow.



  • 3.  RE: Application metering Record usage capture schedule

    Posted Jan 27, 2014 01:42 PM

    I have created the metering policy, from the options tab checked Allow and Checked Record usage events from the drop down list selected Start and Stop. And i have selected schedule time as Daily.

    Every thing working fine, But the metering reports are getting update after 24hr because i have selected Daily.

    So my requirement is to select custom schedule time (like Now, 1min, 15min etc) to get record usage data in reports immediately/as per schedule. 



  • 4.  RE: Application metering Record usage capture schedule

    Posted Jan 27, 2014 01:57 PM

    The policy UI only provides a choice of Daily and Weekly, so you cannot customise its schedule like that.

    You could try adding the policy without a target to a managed software delivery policy, and then use its custom schedule; however, I do not think that would work due to the application policy also having an active schedule, as its schedule is part of the record usage data option.



  • 5.  RE: Application metering Record usage capture schedule

    Posted Jan 27, 2014 02:05 PM

    Is there any way to get immediate update of my record usage details nothing but application metering reports.



  • 6.  RE: Application metering Record usage capture schedule

    Posted Jan 27, 2014 02:13 PM

    Not that I am aware of.  I thought this was possible by modfying the XML of a specific console setting item but I cannot rememebr which one it is, and it probably wouldn't be supported anyway.

    You will need to wait at least a day for the usage data to be in the database.



  • 7.  RE: Application metering Record usage capture schedule

    Posted Jan 27, 2014 02:24 PM

    Can you please share the locaiton, where do i get that XML file in 7.5 



  • 8.  RE: Application metering Record usage capture schedule

    Broadcom Employee
    Posted Jan 27, 2014 03:07 PM

    Hi all,

    I'm not sure that this will work, but if to create a custom shared schedule in SMP Console, then does App Metering policy will allow to choose this custom schedule?

    Thanks,

    IP.



  • 9.  RE: Application metering Record usage capture schedule

    Posted Jan 28, 2014 02:09 PM

    Shared schedule not working may be we need to search for other option.



  • 10.  RE: Application metering Record usage capture schedule

    Posted Jan 28, 2014 03:26 PM

    Here is an easier method:

    https://www-secure.symantec.com/connect/blogs/how-force-amagent-send-data-faster-once-day



  • 11.  RE: Application metering Record usage capture schedule

    Broadcom Employee
    Posted Jan 29, 2014 05:08 AM

    Hi SK,

    I see that even if admin has modified default '86400' to '360', then after creation of App Metering policy and setting up "Daily" schedule, SMA receives App metering policy with default '86400", even if I've set it to '360'

     

    <Policy guid="{572143C4-9831-443E-8678-A2E2223F90AD}" name="1app metering" version="7.5.1673.0" hash="05EFA7EDC52962BC42A07640140BA71" userPolicy="">
        <ClientPolicy agentClsid="Altiris.ProcessMonitor" enabled="True">
            <Application type="detail" stop="False" ScheduleNotification="True" InventoryOnly="True" NotificationInterval="86400" Denial="True" ImmediateDenialNotification="False" DenialEvent="True" DenialEmail="False">

     

     

    Seems like there is another way to modify default '86400' to custom interval but it is not very comfortable:

    1. Create App Metering policy ⇒ set appropriate settings and schedule

    2. Export this App Metering policy

    3. Open exported App Metering policy .xml ⇒ manually modify NotificationInterval="86400" to custom time interval and save changes.

    4. Import this modified App Metering policy

    ⇒ Note!

    • Do not click "Save Changes" after import of App Metering policy, because it will re-write your custom time interval to default '86400'!

    5. Receive App Metering policy on client computers.

     

    After receiving App Metering policy with manually modified NotificationInterval=" ", AMAgent.dll will correctly sends data. For example after each 1 minute:

    AMAgent1.jpg

    Thanks,

    IP.



  • 12.  RE: Application metering Record usage capture schedule

    Posted Jan 30, 2014 06:11 AM

    If you don't like manipulating SQL directly, then try this method instead:

    https://www-secure.symantec.com/connect/articles/forcing-amagent-send-data-faster-modifying-aspx-file



  • 13.  RE: Application metering Record usage capture schedule

    Posted Jan 30, 2014 11:22 AM

    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.
    10.