NOTICE: Branded Content
NOTICE: Certain versions of content (“Material”) accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.
Application Perf Mgmt (BAC / BSM) User Discussions
cancel

Sitescope 11.50 Integration with APM 11.50 create_monitor.py error

SOLVED
Go to solution
Highlighted
Outstanding Contributor.. JimiT Outstanding Contributor..
Outstanding Contributor..

Sitescope 11.50 Integration with APM 11.50 create_monitor.py error

Hi,

I have this error in integration log on sitescope server. No Sitescope CI's are being created in APM RTSM, however, data from Sitescope is being sent.

I've even copied manually the py files from sitescope.zip to the discovery\scripts folder and restarted, also hard sync'd but still get this error in log file.

debug doesn't show much more than this..

because CI's not being created in APM I cannot put CI in downtime because they simply do not exist.

How to fix?

2018-07-20 21:13:33,572 [TopologyReporterSender] (DependenciesCrawler.java:59) ERROR - cannot find script with name=null
2018-07-20 21:13:33,572 [TopologyReporterSender] (TopologyReporterSender.java:434) ERROR - failed to run main topology agent. topologyCommand=TopologyCommand{commandType=RUN_SCRIPT, destinationData=<destination><destinationData name="szConnectionName">1950422905</destinationData><destinationData name="monitor_logical_name">Url_WebServer_Prod</destinationData><destinationData name="agent_id">1</destinationData><destinationData name="is_report_default_hi">true</destinationData><destinationData name="target_name">www.tsetsos.org</destinationData><destinationData name="managed_by">Discovery:SiteScope</destinationData><destinationData name="class_logical_name">URL Monitor</destinationData><destinationData name="class_type_id">1</destinationData><destinationData name="host_type">node</destinationData><destinationData name="szMonitorName">URL Monitor</destinationData><destinationData name="topology_version">9.5.0.0</destinationData><destinationData name="u_iTargetId">400269</destinationData><destinationData name="profile_name">WINSIS01_Profile</destinationData><destinationData name="domain_name">DefaultDomain</destinationData><destinationData name="reporting_mode">Metrics</destinationData><destinationData name="is_ems" /><destinationData name="host">winsis01.jst.local</destinationData><destinationData name="szTargetName">www.tsetsos.org</destinationData><destinationData name="om_prioritize_bsm_events" /><destinationData name="measurements_to_eti_map" /><destinationData name="measurements" /><destinationData name="u_iMonitorId">400270</destinationData><destinationData name="ss_t">com.mercury.infra.xdr_utils.prop_bag_array@64dc7f2b</destinationData><destinationData name="class_real_name">URL</destinationData><destinationData name="parent_group_name">WebServer</destinationData><destinationData name="u_iConnectionId">400268</destinationData><destinationData name="target_name_short">www</destinationData><destinationData name="u_iSessionId">21</destinationData><destinationData name="monitor_full_path">400266.400267</destinationData><destinationData name="logging_option">logAllData</destinationData><destinationData name="is_host_monitor">false</destinationData><destinationData name="om_report_operation_manager_events" /><destinationData name="monitor_full_id">WINSIS01_Profile/1950422890/1950422891/1</destinationData><destinationData name="target_ip">218.214.183.33</destinationData><destinationData name="monitor_description"></destinationData><destinationData name="monitor_properties">com.mercury.infra.xdr_utils.prop_bag_array@6a1b9dc0</destinationData></destination>, dataSource='SiteScope_WINSIS01_Profile', script='create_monitor.py', allwaysPreformeTouch=false}
java.lang.IllegalArgumentException: cannot find script with name=create_monitor.py
	at com.mercury.sitescope.integrations.bac.topology.dependencies.DependenciesCrawler.findDependencies(DependenciesCrawler.java:60)
	at com.mercury.sitescope.integrations.bac.topology.dependencies.ScriptDependenciesFinder.find(ScriptDependenciesFinder.java:80)
	at com.mercury.sitescope.integrations.bac.topology.TopologyReporterSender.getDependencies(TopologyReporterSender.java:655)
	at com.mercury.sitescope.integrations.bac.topology.TopologyReporterSender.send(TopologyReporterSender.java:414)
	at com.mercury.sitescope.integrations.bac.topology.TopologyReporterSender.run(TopologyReporterSender.java:367)
	at java.lang.Thread.run(Thread.java:748)
2018-07-20 21:16:34,515 [TopologyReporterSender] (DependenciesCrawler.java:59) ERROR - cannot find script with name=null
2018-07-20 21:16:34,515 [TopologyReporterSender] (TopologyReporterSender.java:434) ERROR - failed to run main topology agent. topologyCommand=TopologyCommand{commandType=RUN_SCRIPT, destinationData=<destination><destinationData name="szConnectionName">1950422905</destinationData><destinationData name="monitor_logical_name">Url_WebServer_Prod</destinationData><destinationData name="agent_id">1</destinationData><destinationData name="is_report_default_hi">true</destinationData><destinationData name="target_name">www.tsetsos.org</destinationData><destinationData name="managed_by">Discovery:SiteScope</destinationData><destinationData name="class_logical_name">URL Monitor</destinationData><destinationData name="class_type_id">1</destinationData><destinationData name="host_type">node</destinationData><destinationData name="szMonitorName">URL Monitor</destinationData><destinationData name="topology_version">9.5.0.0</destinationData><destinationData name="u_iTargetId">400269</destinationData><destinationData name="profile_name">WINSIS01_Profile</destinationData><destinationData name="domain_name">DefaultDomain</destinationData><destinationData name="reporting_mode">Events and Metrics</destinationData><destinationData name="is_ems" /><destinationData name="host">winsis01.jst.local</destinationData><destinationData name="szTargetName">www.tsetsos.org</destinationData><destinationData name="om_prioritize_bsm_events" /><destinationData name="measurements_to_eti_map" /><destinationData name="measurements" /><destinationData name="u_iMonitorId">400270</destinationData><destinationData name="ss_t">com.mercury.infra.xdr_utils.prop_bag_array@123d91e7</destinationData><destinationData name="class_real_name">URL</destinationData><destinationData name="parent_group_name">WebServer</destinationData><destinationData name="u_iConnectionId">400268</destinationData><destinationData name="target_name_short">www</destinationData><destinationData name="u_iSessionId">21</destinationData><destinationData name="monitor_full_path">400266.400267</destinationData><destinationData name="logging_option">logAllData</destinationData><destinationData name="is_host_monitor">false</destinationData><destinationData name="om_report_operation_manager_events" /><destinationData name="monitor_full_id">WINSIS01_Profile/1950422890/1950422891/1</destinationData><destinationData name="target_ip">218.214.183.33</destinationData><destinationData name="monitor_description"></destinationData><destinationData name="monitor_properties">com.mercury.infra.xdr_utils.prop_bag_array@12046f88</destinationData></destination>, dataSource='SiteScope_WINSIS01_Profile', script='create_monitor.py', allwaysPreformeTouch=false}
java.lang.IllegalArgumentException: cannot find script with name=create_monitor.py
	at com.mercury.sitescope.integrations.bac.topology.dependencies.DependenciesCrawler.findDependencies(DependenciesCrawler.java:60)
	at com.mercury.sitescope.integrations.bac.topology.dependencies.ScriptDependenciesFinder.find(ScriptDependenciesFinder.java:80)
	at com.mercury.sitescope.integrations.bac.topology.TopologyReporterSender.getDependencies(TopologyReporterSender.java:655)
	at com.mercury.sitescope.integrations.bac.topology.TopologyReporterSender.send(TopologyReporterSender.java:414)
	at com.mercury.sitescope.integrations.bac.topology.TopologyReporterSender.run(TopologyReporterSender.java:367)
	at java.lang.Thread.run(Thread.java:748)

 

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution. Don't forget to Kudo!!
1 ACCEPTED SOLUTION

Accepted Solutions
Outstanding Contributor.. JimiT Outstanding Contributor..
Outstanding Contributor..
Solution

Re: Sitescope 11.50 Integration with APM 11.50 create_monitor.py error

Resolved!! Because mam-collectors servlet is configured as HTTPS but the probe uses HTTP.

needed to apply these steps below:

  • Access the APM GUI,
  • Go to Administration -> Platform -> Infrastructure Settings
  • Select Foundations : RTSM
  • Under RTSM - Web Components to Connectors Mapping Settings  change the setting for CM Port Mapping, Mam-Collectors Port Mapping from "HTTP" to "http,https"
  • After saving the changes, one needs to restart APM.

This enables APM to also listen to https traffic for CM and Mam.Collectors.

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution. Don't forget to Kudo!!
4 REPLIES
Outstanding Contributor.. JimiT Outstanding Contributor..
Outstanding Contributor..

Re: Sitescope 11.50 Integration with APM 11.50 create_monitor.py error

Could this be the problem?

I tried to upload the sitescope.zip, I get this error...

Mbean: UCMDB:service=Packaging Services. Method: deployPackages
error in JMX : appilog.framework.shared.manage.impl.MamResponseException: [ErrorCode [-1] %%%%%%% [customerId=1] deployFactoryPackages has failed. %%%%%%%]
CMDB Operation Internal Error: class appilog.framework.shared.manage.impl.MamResponseException : appilog.framework.shared.base.MamException: %%%%%%% [customerId=1] deployFactoryPackages has failed. %%%%%%% : operation DeployFactoryPackages : class com.mercury.topaz.cmdb.shared.base.CmdbException :
CMDB Internal Error: Error while handling request: {request: ID='4647e1627e38f123b1afb672203ef579' Message='General CMDB request' Operation='appilog.framework.shared.packaging.operation.update.impl.DeployFactoryPackages@1ff83476' Customer ID='1'
Context='CMDB Context: Customer id = '1' , User ID = '1' , Caller Application = 'JMX''}
 
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution. Don't forget to Kudo!!
Outstanding Contributor.. JimiT Outstanding Contributor..
Outstanding Contributor..

Re: Sitescope 11.50 Integration with APM 11.50 create_monitor.py error

So i redeployed the original version of sitescope.zip, that uploaded fine.

Stopped sitescope and renamed cache to cache.old, created new directory
Deleted files under discovery\hsqldb

restarted sitescope

in the discovery.log I get this error:  "UCMDB Configuration Manager is not installed" ??? wt?

2018-07-22 21:23:15,186 [SiteScope Main] (DiscoveryClient.java:785) ERROR - Error Downloading domain scope from server. the server responce:
rver</title>    <link rel="stylesheet" type="text/css" href="./ucmdb-ui/static/act/stylesheets/login_hp.css"/>    <link rel="stylesheet" type="text/css" href="./ucmdb-ui/static/act/stylesheets/Properties.css"/>    <link rel="stylesheet" type="text/css" href="./ucmdb-ui/static/CMS/css/CMSGeneralStyle.css"/>    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />    <meta http-equiv="cache-control" content="no-cache">    <meta http-equiv="pragma" content="no-cache">    <meta http-equiv="expires" content="-1"></head><body class="login_hp"><table class="full_HV" width="180" border="0" cellspacing="0" cellpadding="0">    <tr>        <td class="login_top_left" colspan="2">            <table class="full_HV" border="0" cellspacing="0" cellpadding="0">                <tr>                    <td class="login_logo">                        <div class="combo" dir="ltr">                            <img src="./ucmdb-ui/static/CMS/images/login/login_logo.gif" alt='' border='0'>                        </div>                    </td>                    <td/>                </tr>                <tr>                    <td/>                    <td class="login_appname">                        <div class="version">Universal CMDB 11.0 <br/>                        <!--DO NOT REMOVE THIS LINE--><!--UCMDB_CUSTOM_TITLE-->                        </div>                    </td>                </tr>            </table>        </td>        <td class="login_top_right">            <br/>        </td>    </tr>    <tr valign="top">        <td colspan="3">            <div id="statusBox" class="bottomBox">                <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">                    <tr>                        <td class="login_mid_left"/>                        <td class="login_mid_center">                            <table border="0" cellspacing="0" cellpadding="0">                                <tr>                                    <td>                                        <strong>                                            <div id="statusBoxMessage">                                                <!--DO NOT REMOVE THIS LINE--><!--LICENSE_PLACEHOLDER-->                                            </div>                                        </strong>                                    </td>                                </tr>                                <tr>                                    <td class="login_mid_center_license">                                        <strong>                                            <!--DO NOT REMOVE THIS LINE--><!--LICENSE_NEW_PLACEHOLDER-->                                        </strong>                                    </td>                                </tr>                            </table>                        </td>                        <td class="login_mid_right">                            <table class="full_H" border="0" cellspacing="0" cellpadding="0">                                <tr>                                    <td>          <ul class="list"><li><a href="./ucmdb-ui/">UCMDB</a></li>                                            <!--DO NOT REMOVE THIS LINE--><!--LOGINSAML_PLACEHOLDER--><li><a href="./ucmdb-ui/cms/directAppletLogin.action?cmd=SetMode&ApplicationMode=USER_MANAGER&navigation=true&interfaceVersion=9.0.0">User Management</a></li><li><u style='color: #7F7F7F' title="UCMDB Configuration Manager is not installed">UCMDB Configuration Manager</u></li><li><a href="/ucmdb-browser">UCMDB Browser</a></li>                                            <li><a href="./ucmdb-ui/loadClassModelJavadoc.jsp">UCMDB Class Model</a></li><li><a href="./status/">Server Status</a></li>           <li><a href="./jmx-console/">JMX Console</a></li>           <li><a href="./ucmdb-api/connect">API Connection Test</a></li>           <li><a href="./ucmdb-api/download">API Client Download</a></li>                                            <li><a href="./ucmdb-docs/docs/eng/APIs/UCMDB_JavaAPI/">API Reference</a></li>          </ul>                                    </td>                                </tr>                            </table>                        </td>                    </tr>                    <tr>                        <td/><td/>                        <!-- TODO The strings has to be moved to resources   -->                        <td class="copyright">                            <span>© Copyright 2011 - 2018  Micro Focus or one of its affiliates.</span>                        </td>                    </tr>                </table>            </div>        </td>    </tr></table></body></html>

 

And then after re-sync from sitescope i get these errors again about create_monitor.py...

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution. Don't forget to Kudo!!
Outstanding Contributor.. JimiT Outstanding Contributor..
Outstanding Contributor..

Re: Sitescope 11.50 Integration with APM 11.50 create_monitor.py error

Looking at the deployenthistory jmx, looks like there may have been some issue with ucmdb version compatability???  Any ideas?

Mbean: UCMDB:service=Packaging Services. Method: displayResourcesDeploymentHistory[java.lang.Integer|java.lang.Integer]
      First report        Previous report        Next report        Last report       
Report 5
Execution date 2018-07-06 00:28:53.658.
Operation parameters :  <<<<<<<<<<<<<<<<<<  chop  >>>>>>>>>>>>>>>>>>>>> Couldn't fit to this message...
Operation took 1078 seconds.Results:

 ******** Errors in package CMKpiAdapter.zip, [105004] Unsupported CMDB version. : ********
 
 
 ******** Errors in package CMPolicyAdapter.zip, [105004] Unsupported CMDB version. : ********
 
 
 ******** 6394 deployed resources : ********
 
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution. Don't forget to Kudo!!
Outstanding Contributor.. JimiT Outstanding Contributor..
Outstanding Contributor..
Solution

Re: Sitescope 11.50 Integration with APM 11.50 create_monitor.py error

Resolved!! Because mam-collectors servlet is configured as HTTPS but the probe uses HTTP.

needed to apply these steps below:

  • Access the APM GUI,
  • Go to Administration -> Platform -> Infrastructure Settings
  • Select Foundations : RTSM
  • Under RTSM - Web Components to Connectors Mapping Settings  change the setting for CM Port Mapping, Mam-Collectors Port Mapping from "HTTP" to "http,https"
  • After saving the changes, one needs to restart APM.

This enables APM to also listen to https traffic for CM and Mam.Collectors.

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution. Don't forget to Kudo!!