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 ?
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.
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.
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
export_device_usage_* callbacks returning 0 in my environment. If we get correct value from this callback then my issue will fix.
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.
We tested it with actual callbacks still none of such callbacks returing correct values. We are getting 0.
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.
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_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 ?
What does the get_scan_status callback show?
This is also returning 0 .
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.
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.
Retrieving data ...