DX Unified Infrastructure Management

Expand all | Collapse all

Usage_Metering probe Automation for email.

  • 1.  Usage_Metering probe Automation for email.

    Posted Jan 31, 2019 07:43 AM

    I am using Usage_Metering probe version 9.11 T1 .

    My requirement is to get auto generated email (weekly/monthly) for consumed licenses or available licenses.

    Can anybody please give me steps for such automation ?



  • 2.  Re: Usage_Metering probe Automation for email.

    Posted Jan 31, 2019 08:11 AM

    The reports are saved in C:\Program Files (x86)\Nimsoft\probes\service\usage_metering\reports with html & xml version there. So you should be able to setup a nas auto operator profile with a script to send them out. There are several threads here that address that type of thing. As a side note the GA release is now up to 9.22.



  • 3.  Re: Usage_Metering probe Automation for email.

    Posted Jan 31, 2019 09:00 AM

    Thanks for update !!

     

    We need auto generated report from usage_metering probe which do not require manual intervention. As per my understanding currently there is no option in usage_metering probe to auto generate report. 

     

    If we get auto generated report from usage_metering probe then we can automate it either through NAS script or through Task Scheduler.

     

     



  • 4.  Re: Usage_Metering probe Automation for email.

    Posted Jan 31, 2019 09:26 AM

    Probably Task Scheduler can be used to run pu.exe which can be used to run one of the usage_metering probe utility export_device_usage_* callbacks.

    Examples of probe utility commands that can be use - CA Knowledge 



  • 5.  Re: Usage_Metering probe Automation for email.

    Posted Feb 04, 2019 05:51 AM

     export_device_usage_* callbacks returning 0 in my environment. If we get correct value from this callback then my issue will fix.



  • 6.  Re: Usage_Metering probe Automation for email.

    Posted Feb 04, 2019 08:21 AM

    The '*' in export_device_usage_*, is a wildcard character used so it would not be necessary to list all the callbacks that can be used. Go to Admin Console and open the probe utility for it and see which one you want to use.



  • 7.  Re: Usage_Metering probe Automation for email.

    Posted Feb 05, 2019 06:59 AM

    We tested it with actual callbacks still none of such callbacks returing correct values. We are getting 0.  



  • 8.  Re: Usage_Metering probe Automation for email.

    Posted Feb 05, 2019 04:07 PM

    So you are getting 0. Maybe we are looking at two different things. These callbacks write a report and do not return a numeric value.



  • 9.  Re: Usage_Metering probe Automation for email.

    Posted Feb 06, 2019 07:03 AM

    yes , it is generating a report in xml format but there is no data in the reports. That is the only issue .

    Callback is working fine , it is generating report but the values in side the report are zero or blank.

    there are different call backs to generate the xml format report but the file generated opens up like this :

     

    <num_scans>0</num_scans>

    <num_source_robot_devices>0</num_source_robot_devices>

    <num_target_devices>0</num_target_devices> <num_total_devices>0</num_total_devices> -<device_scan_fault_info> <num_device_scan_faults_total>0</num_device_scan_faults_total> <num_device_scan_faults_severity_error>0</num_device_scan_faults_severity_error> <num_device_scan_faults_severity_warn>0</num_device_scan_faults_severity_warn> <num_device_scan_faults_severity_info>0</num_device_scan_faults_severity_info>

     

    what can be done on this ?



  • 10.  Re: Usage_Metering probe Automation for email.

    Posted Feb 15, 2019 12:07 PM

    What does the get_scan_status  callback show?



  • 11.  Re: Usage_Metering probe Automation for email.

    Posted Feb 18, 2019 06:41 AM

    This is also returning 0 .



  • 12.  Re: Usage_Metering probe Automation for email.

    Posted Feb 20, 2019 08:46 AM

    Based on that it looks like there is a problem with the scheduled scan. Run a report, and if it generates correctly then it could just be the callbacks don't work as expected or there is a problem with them.



  • 13.  Re: Usage_Metering probe Automation for email.

    Posted Jan 31, 2019 08:14 AM

    Assuming these are stored on Windows server.
    You could utilize the 'Task Scheduler' which has an email action but passing the report as email content will require some scripting.