Quantcast
Channel: Siggi Gladitsch Tracker
Viewing all 426 articles
Browse latest View live

Re: SIS 11.32 URL monitoring issue URGENT

$
0
0

Hi HPMST,

did you configure your URL monitor with
  Preferred protocols - Prefer TLSv1.2
after the change of the web site?

It seems that the monitor can partly talk to the server (thus it can verify the expriy date of the certificate),
but fails to request the page you are asking for due to a timepout when reading, that's what the status -996 indicates (URLTimeoutError) and n/a or 0 for all related metrics.
The description of error -996 is (as per the SiteScope manual):
This message is returned when a connection is made but not completed.
Check the load on the network. Check the load on the server.

Did you import the certificate into SiteScope?

You can try to check
  Accept untrusted certificates for HTTPS
and / or
  Accept invalid certificates for HTTPS

You also can enable debug logging for that monitor
(Monitor Properties -> Logging Settings, check "Enable separate log for this monitor" and set the Log level to DEBUG,
execute the monitor and check the logfile for an obvious error / issue)

Greetings
Siggi


Re: Pull data for BSM profiles with last update time from DB

$
0
0

Hi CFSSABSM,

while you didn't reply to my questions, I've seen that you opened support case 5316358157,
where you explain
> I am looking for last update time for each Profile (application) with BTW. BSM ver is 9.22 and I am not checking data collectors (BPM) last ping time.

Here is how you can get to the information as a base to start with.
Please understand that in general we do NOT support direct database queries, but ask to use the Custom Query Builder instead.

- find out what profile databases are being used for all the business applications
(this is based on the assumption that you are running multiple profile database,
if you have one profile DB only, you can skip steps 1 - 2)

Step 1:

SELECT DISTINCT DEF_PROFILE_DB_ID FROM <Management DB>.EUMBPM_APPLICATIONS

DEF_PROFILE_DB_ID
-----------------
3

Step 2:

for each profile db id from above:

SELECT SESSION_DB_NAME FROM <Management DB>.SESSIONS where SESSION_ID = 3

SESSION_DB_NAME
---------------
VM402_BSM_PROFBPM


Step 3:

SELECT distinct INTERNAL_TRANSACTION_ID FROM <profile_db>.BPM_TRANS

gives you all the transaction ids found in BPM_TRANS in that very profile database
(that's where the transaction data is stored, one record per transaction, here is the DBDATE information stored along with many other data)

INTERNAL_TRANSACTION_ID
-----------------------
5
6
7
32
33
34
..
269
270
..

Step 4:

for each transaction id from above

SELECT top 1
tr.DBDATE as 'Date/Time',
td.APPLICATION_NAME as 'Application',
td.BTF_NAME as 'BTF',
td.TRANSACTION_NAME as 'Transaction'
FROM <profile_db>.BPM_TRANS tr, <profile_db>.TRANSACTIONS_DIM td
WHERE tr.INTERNAL_TRANSACTION_ID =5 and tr.INTERNAL_TRANSACTION_ID=td.INTERNAL_TRANSACTION_ID
ORDER by tr.DBDATE desc

Date/Time Application BTF Transaction
----------------------- ----------------------- ---------- -----------------
2017-01-11 08:02:30.323 BA_Google_SSO Google_SSO Step 1 - Google Seach for SSO

.. WHERE tr.INTERNAL_TRANSACTION_ID = 6 ..
2017-01-11 08:02:30.323 BA_Google_SSO Google_SSO Step 2 - SSO

.. WHERE tr.INTERNAL_TRANSACTION_ID = 7 ..
2017-01-11 18:27:42.233 BA_Google_SSO Google_SSO Step 0 - Google

.. WHERE tr.INTERNAL_TRANSACTION_ID = 270 ..
2017-01-09 16:01:47.580 BA_BPM_JPetStore_user2 JPetStore_user2 Step 4 - Logout

The time stamp shows when the last entry was added into the database table for a give transaction.

As mentioned, this is a base to start with. I think that an experienced DBA can combine the two statements into one so that all can be reported with on SQL statement
or into a script.

Greetings
Siggi

Re: Composite Moonitor

$
0
0

Hi Richa,

for this type of questions
- what variable needs to be used for a specific information provided by a specific monitor -
I always use the very old part of the Online Help (or was it in a manual, don't recall anymore) called "Template Properties".

The monitor name can be retrieved via "name" or "_name", so of course you can get hold of it,
but I think it will get complicated if you need some logic in it.

It looks like a complex alerting scheme to me, as least based on my understanding:
if b is in error, and c is in error, and a is in error, report a
but how about
if a is in error, and b is in error, if then c goes in error, will you report c?
or
if a is in error, and c is in error, if then cbgoes in error, will you report b?

Perhaps you can explain in more detail, then it might be easier to answer?

Greetings
Siggi

Re: Example REST API Call for SiteScope 11.31.491

$
0
0

Hi Dan,

thanks for this very helpful reply, this does the trick for me, all works as expected.

I'll post a set of examples in the SiteScope Forum, based on your template.

Greetings and Thanks
Siggi

Re: DNS and Active Directory in APM

Re: BPM : Failed to invoke task

$
0
0

Hi Polter,

is this a "all of a sudden" issue and it worked before, or is this on a new installation of BPM?
What BPM version are you using?

"Failed of invoke task" needs to be checked on the BPM side, as it might have many reasons.
I'm asking the upgrade question because I've seen this multiple times after a BPM 9.26 installation,
which failed due to LSGA issues, and then LSGA was installed before, followed by a BPM 9.26 installation.
In that case sometimes BPM tries to use a path for mdrv.exe which doesn't exsit, because LSGA got installed into a different paht:

Check BPM_all.log, if it shows this error:
..
[GeneralScriptTaskExecutor] Could not create MDRV process. Failed to run script xyz
..

Next check <script>\res\cmdline.txt to find out what BPM tries to run

C:\HP\LoadGenerator\bin\mdrv.exe -usr C:\ProgramD...

but

Directory of C:\HP\LoadGenerator\bin

05.07.2016 16:21 303.104 aes_crypt.dll
05.07.2016 16:21 9.216 aes_crypt_tool_cmd.exe
05.07.2016 16:21 31.744 aes_crypt_tool_gui.exe
05.07.2016 16:21 53.760 LrTcLogger.dll

so no mdrv.exe here, and thus BPM fails to start the script, which is executed via mdrv.exe.


LGSA has been installed to
C:\Program Files (x86)\HP\Load Generator\bin

however BPM tries to start the script from
C:\HP\LoadGenerator\bin\

Workaround / Fix

Stop BPM, modify

C:\ProgramData\HP\BPM\config\topaz_agent_ctrl.cfg

[General]
..
LoadGeneratorHome=C:\HP\LoadGenerator
..

to

[General]
..
LoadGeneratorHome= C:\Program Files (x86)\HP\Load Generator
..

Save the changes, start BPM, then all should work as expected.

Greetings
Siggi

Re: Creating a script to query an external database

$
0
0

Hi KG,

you can easily test your query via SiteScope -> Tools -> Database Tools -> Database Connection Tool
and proceed from there.

This
> querying the database table for all time entries for CIs older than 60 mins compared to present dateTime
might easily work, however I don't know if the WITH clause or temporary entities can be used there,
simply give it a try.

Greetings
Siggi

Re: BSM 9.25 - OMI 10.12 IP1 mismatch in the database table REMOTE_GROUP_MAPPING

$
0
0

Hi Françoise,

as per the message
..
The current schema is not compatible with version 10.10.0.0.
The repair scripts located in F:\HPBSM\dbverify\tmp\ may help resolve schema incompatibility.

Differences for DataBase [BSM_MGMT02]
TABLE
Name:REMOTE_GROUPS_MAPPING
Column:
name:[LDAP_DOMAIN].problem[column default.needed[].found['default']]
..

the table REMOTE_GROUPS_MAPPING in the BSM Management database BSM_MGMT02 misses the column LDAP_DOMAIN.

This makes me wonder, because on my BSM 9.25 system the table REMOTE_GROUPS_MAPPING only contains the columns
ID, CUSTOMER_ID, REMOTE_GROUP_ID and LOCAL_GROUP_ID.

On my 9.26 system however the table also contains the column LDAP_DOMAIN.

My first guess here would be that you can only upgrade from BSM 9.26 to OMI 10.12 IP1
(I'm not an OMi guy ...)

Greetings
Siggi


Re: BPM 9.25 - pending samples issue.

$
0
0

Hi Hristov,

is there any particular reason why you installed old BPM 9.25 and not 9.26 IP1?
While your very issue doesn't ring a bell, I would give it a try with the latest version, and see if it works there.

Greetings
Siggi

Re: APM IP address changed

$
0
0

Hi Gopinath Manickam,

you don't need to reinstall APM (it actually wouldn't help you here, as almost all information on the servers is kept in various database tables),
you need to follow the steps described in the "APM Installation Guide" for APM 9.30, Appendix E: Disaster Recovery for APM -> Cleanup Procedure

While the chapter is designed to apply all the necessary changes to to enable a backup BSM to use a clone of the original databases,
it also does the trick for your issue.

After performing the changes to the database tables, you need to run the Configuration Wizard (first on the DPS, then on the GW),
following by a start of BSM (DPS first, then GW)

Greetings
Siggi

Re: Are any REST Web services available to access Sitescope data?

$
0
0

Hi Harish,

have a look at the SiteScope documentation:
11.33 - SiteScope Public API Reference Guide

Part 1: SOAP-based APIs
Chapter 1: Configuration APIs
Chapter 2: Data Acquisition APIs
Chapter 3: Use-Case Scenario - Configuring SiteScope APIs Calls

Part 2: REST APIs
Chapter 4: Configuration APIs
Chapter 5: Data Acquisition APIs

Greetings
Siggi

Re: Are any REST Web services available to access Sitescope data?

$
0
0

Hi Harish,

you didn't specify the parameters the call expects:
..
getAcknowledgments
The getAcknowledgments method returns the acknowledgment data log of the given Entity.

REST End
Point
/api/monitors/monitor/acknowledgements

Method GET

Query Parameters

fullPathToEntity– A string specifying the full path to the entity. The path starts with the
name of the first child under the SiteScope root directory and ends with the name of the entity
with elements of the path separated by the string "_sis_path_delimiter_".
identifier– Identifier to be associated with the operation and written to audit log.

Return Type
A list of acknowledgments.

Status Codes
200, 400, 500

I got it working via SoapUi as follows:

screenshot.jpg

Method : GET 
Endpoint : http://localhost:8080 
Resource : /SiteScope/api/monitors/monitor/acknowledgements
Parameters : ?fullPathToEntity=Test_sis_path_delimiter_ping&identifier=SG_via_SoapUI
(I provided he username and password via
 Authentication with Authenticate pre-emptively checked)

Raw output is

HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, must-revalidate
..
Content-Type: application/json
Content-Length: 925
Date: Tue, 24 Jan 2017 15:24:42 GMT
Server: ******

[{"Status":"Error","Operation":"Acknowledge","Message":"test from Siggi","Date/Time":"16:05:47 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"test from Siggi","Date/Time":"16:06:04 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"test2","Date/Time":"16:07:19 01/24/2017","Who":"SiteScope Administrator"},{"Status":"","Operation":"AcknowledgeClear","Message":"","Date/Time":"16:12:13 01/24/2017","Who":"SiteScope Administrator"},{"Status":"","Operation":"AcknowledgeClear","Message":"","Date/Time":"16:12:26 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"SG - ack'ing","Date/Time":"16:14:01 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"SG2 - ack","Date/Time":"16:15:24 01/24/2017","Who":"SiteScope Administrator"}]

Greetings
Siggi

 

Re: Are any REST Web services available to access Sitescope data?

$
0
0

Hi Harish.,

sorry, I just saw your response on the SiteScope version after posting my answr.
Nope, the APIs are available since 11.30 only, for my example I used SiteScope 11.33.

Greetings
Siggi

Re: DNS and Active Directory in APM

Re: BPM : Failed to invoke task

$
0
0

Hi Polter,

is this a "all of a sudden" issue and it worked before, or is this on a new installation of BPM?
What BPM version are you using?

"Failed of invoke task" needs to be checked on the BPM side, as it might have many reasons.
I'm asking the upgrade question because I've seen this multiple times after a BPM 9.26 installation,
which failed due to LSGA issues, and then LSGA was installed before, followed by a BPM 9.26 installation.
In that case sometimes BPM tries to use a path for mdrv.exe which doesn't exsit, because LSGA got installed into a different paht:

Check BPM_all.log, if it shows this error:
..
[GeneralScriptTaskExecutor] Could not create MDRV process. Failed to run script xyz
..

Next check <script>\res\cmdline.txt to find out what BPM tries to run

C:\HP\LoadGenerator\bin\mdrv.exe -usr C:\ProgramD...

but

Directory of C:\HP\LoadGenerator\bin

05.07.2016 16:21 303.104 aes_crypt.dll
05.07.2016 16:21 9.216 aes_crypt_tool_cmd.exe
05.07.2016 16:21 31.744 aes_crypt_tool_gui.exe
05.07.2016 16:21 53.760 LrTcLogger.dll

so no mdrv.exe here, and thus BPM fails to start the script, which is executed via mdrv.exe.


LGSA has been installed to
C:\Program Files (x86)\HP\Load Generator\bin

however BPM tries to start the script from
C:\HP\LoadGenerator\bin\

Workaround / Fix

Stop BPM, modify

C:\ProgramData\HP\BPM\config\topaz_agent_ctrl.cfg

[General]
..
LoadGeneratorHome=C:\HP\LoadGenerator
..

to

[General]
..
LoadGeneratorHome= C:\Program Files (x86)\HP\Load Generator
..

Save the changes, start BPM, then all should work as expected.

Greetings
Siggi


Re: Creating a script to query an external database

$
0
0

Hi KG,

you can easily test your query via SiteScope -> Tools -> Database Tools -> Database Connection Tool
and proceed from there.

This
> querying the database table for all time entries for CIs older than 60 mins compared to present dateTime
might easily work, however I don't know if the WITH clause or temporary entities can be used there,
simply give it a try.

Greetings
Siggi

Re: BSM 9.25 - OMI 10.12 IP1 mismatch in the database table REMOTE_GROUP_MAPPING

$
0
0

Hi Françoise,

as per the message
..
The current schema is not compatible with version 10.10.0.0.
The repair scripts located in F:\HPBSM\dbverify\tmp\ may help resolve schema incompatibility.

Differences for DataBase [BSM_MGMT02]
TABLE
Name:REMOTE_GROUPS_MAPPING
Column:
name:[LDAP_DOMAIN].problem[column default.needed[].found['default']]
..

the table REMOTE_GROUPS_MAPPING in the BSM Management database BSM_MGMT02 misses the column LDAP_DOMAIN.

This makes me wonder, because on my BSM 9.25 system the table REMOTE_GROUPS_MAPPING only contains the columns
ID, CUSTOMER_ID, REMOTE_GROUP_ID and LOCAL_GROUP_ID.

On my 9.26 system however the table also contains the column LDAP_DOMAIN.

My first guess here would be that you can only upgrade from BSM 9.26 to OMI 10.12 IP1
(I'm not an OMi guy ...)

Greetings
Siggi

Re: BPM 9.25 - pending samples issue.

$
0
0

Hi Hristov,

is there any particular reason why you installed old BPM 9.25 and not 9.26 IP1?
While your very issue doesn't ring a bell, I would give it a try with the latest version, and see if it works there.

Greetings
Siggi

Re: Monitoring BPM Instance Last Reported Data using JMX URL in SiteScope System Health 11.10

$
0
0

Hi Santhosh K,

is the ERROR status reported for an individual BPM server, or as part of "DefaultMonitor"?
If it's for an individual, existing server, can you please post the result here?

Greetings
Siggi

Re: BPM : Failed to invoke task

$
0
0

Hi Polter,

if this is a question
> Do we have to perform the steps and have a look to.
then yes, without checking the logfiles on the BPM side you won't be able to find why a certain script cannot be started.
Check BPM_all.log as mentioned in my earlier response, and / or bpm_tasks_execution.log, this should give you a good start.

Greetings
Siggi

Viewing all 426 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>