When using the Microsoft SQL Server database, if you give the sysadmin role to a Report Engine database user, you may encounter data collection failures.
To resolve this issue, remove the sysadmin role from the Report Engine database user and restart the Report Engine service. For more information, see the KA423826 Knowledge Article.
When using the Microsoft SQL Server database, if the database login password is not set according to the password complexity policy, Report Engine may throw the Java NullPointer exception with DB authentication failure.
To avoid this issue, perform the following on SQL server:
select reuniv.rpt_to_char(reuniv.rpt_trunc(TIMERECORDED,'HH24'),'yyyy-mm-dd hh24:mi:ss'),count(*), count(distinct MOTYPEID), count(distinct ATTRIBUTEID) from stats_data where timerecorded> reuniv.rpt_trunc(reuniv.rpt_sysdate()-1,'DD') group by reuniv.rpt_trunc(TIMERECORDED,'HH24') order by reuniv.rpt_trunc(TIMERECORDED,'HH24');
If you don't receive the daily_data and hourly_data in the database, check whether SQL Server Agent service or Oracle Scheduled job is running according to the database you are using.
select reuniv.rpt_to_char(TIMERECORDED,'yyyy-mm-dd hh24:mi:ss'),count(*), count(distinct MOTYPEID), count(distinct ATTRIBUTEID) from hourly_data where timerecorded> reuniv.rpt_trunc(reuniv.rpt_sysdate()-1,'DD') group by TIMERECORDED order by TIMERECORDED;
select reuniv.rpt_to_char(TIMERECORDED,'dd-mm-yy'),count(*), count(distinct MOTYPEID), count(distinct ATTRIBUTEID) from daily_data where timerecorded> reuniv.rpt_trunc(reuniv.rpt_sysdate()-10,'DD') group by TIMERECORDED order by TIMERECORDED;
select reuniv.rpt_concat(reuniv.rpt_concat(ATTRIBUTESETNAME,','), ATTRIBUTENAME) from externalreportattributeset order by ATTRIBUTESETNAME, ATTRIBUTENAME;
Execute following command where redbuser is the RE Database user
exec create_synonym_reuniv(‘redbuser’);
get_re_log_table_message.sql
script available at %BMC_PROACTIVENET_REPORTENGINE_HOME%\ReportEngine\schema\developer\oracle.select err_time ,err_msg from re_log with (nolock) order by id
Following are the various jobs scheduled in the Report Engine Database. You can use following schedules in case of any issues in job scheduling.
Database Edition | Type of job | Job Name (In SQL server, the job names are similar except it has the | Scheduled Time |
---|---|---|---|
Standard Edition and Enterprise Edition | Every hour | update_dst_offset; | 14:00 |
Standard Edition and Enterprise Edition | Daily once | pr_analyze_config_tables; | 0:00 |
Standard Edition and Enterprise Edition | Daily once | RE_DAILY_JOB; | 21:30 |
Standard Edition and Enterprise Edition | Every hour | RE_HOURLY_JOB; | 14:00 |
Standard Edition and Enterprise Edition | Daily once | pk_purgedata.pr_purge_data; | 00:15 in Oracle. |
Enterprise Edition | Daily once | pk_updateSummaryTables_EE.FIND_NEW_DATA_IN_TABLE | 5:00 |
Standard Edition | Daily once | pk_updateSummaryTables.PR_HOURLYTODAILY; | 06:00 in Oracle. |
Enterprise Edition | Daily once | pr_scheduled_Add_partitions; | 0:15 |
Standard Edition and Enterprise Edition | Every hour | pk_updateSummaryTables.PR_STATSTOHOURLY; | 14:00 |
Standard Edition and Enterprise Edition | Daily once | pk_create_thresholds.pr_call_CREATE_ALL_THRESHOLDS; | 5:00 |
Standard Edition and Enterprise Edition | Every hour | MV_REFRESH_VW_CONFIGDATA; ( Applicable to Only Oracle) | 14:00 |
Standard Edition and Enterprise Edition | Daily once | pk_updateSummaryTables.MV_CREATEANDREFRESH; | 0:00 |
select to_char(next_date,'dd-mm-yyyy hh24:mi:ss')||', '||broken||', '|| what from user_jobs order by next_Date;