ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Generate BMC Remedy Incident from Message flow

Post new topic  Reply to topic
 Generate BMC Remedy Incident from Message flow « View previous topic :: View next topic » 
Author Message
SDS
PostPosted: Thu Sep 22, 2016 2:15 am    Post subject: Generate BMC Remedy Incident from Message flow Reply with quote

Apprentice

Joined: 13 Jun 2011
Posts: 47

Hi,

I have a requirement to create BMC remedy incident for any exception occurred in message flow in IIB V10.

Could anyone please help on this? Any lead will be highly appreciated.
Back to top
View user's profile Send private message
timber
PostPosted: Thu Sep 22, 2016 3:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Same answer as always. Please tell us what you have read, what you have tried, and list the things that you are unsure about. Then we can fill in the gaps.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Sep 22, 2016 3:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So, you have a requirement?

And that's your work to do?

And we all have our own work to do?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 22, 2016 4:56 am    Post subject: Re: Generate BMC Remedy Incident from Message flow Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

SDS wrote:
Any lead will be highly appreciated.


How about posting in a BMC forum about the best way to programmatically raise an incident?

Knowing that, code it into IIB.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
SDS
PostPosted: Thu Sep 22, 2016 5:07 am    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2011
Posts: 47

Actually I am not getting much idea from internet on how to start on it.

The only logical thing I came across from a topic which says that Msend is a BMC executable which enables events to be sent into a BPPM (BMC ProactiveNet Performance Manager) cell for processing. This executable can be called from scripts like batch or shell etc.

Need to know how to integrate to BPPM environment in local and how to call the same from a batch file.

Also it would be really helpful if anyone shares any other workaround to create BMC remedy incidents from IIB.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 22, 2016 5:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

SDS wrote:
Actually I am not getting much idea from internet on how to start on it.


Have you tried asking BMC?

Presumably this BPPM thing has documentation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 22, 2016 5:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Or how about this:

You presumably want to raise incidents in BMC Remedy because your site uses BMC Remedy to control events.

Your site presumably has other applications aside from IIBv10. These, like all applications, sooner or later go wrong.

From this, it can be inferred that these applications need incidents in BMC Remedy to get resolution.

So reach out to these other application teams to find out how they're raising incidents programmatically. Or to the team which owns BMC Remedy on your site to find out how they're receiving incidents programmatically.

Use this method in IIB v10.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
SDS
PostPosted: Fri Sep 23, 2016 2:44 am    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2011
Posts: 47

Today I was able to create alert event in BMC by executing msend method. I have created one batch file to wrap the method in it and executed the batch file from command prompt and it worked as expected.

But when I am executing the same .bat file from JCN in IIB. It is not creating any event and I am not getting any error either.

To check whether my JCN is working or not, I executed another simple batch file and it is working properly.

Can anybody give me any idea on what can be the issue here and how to resolve it?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Sep 23, 2016 3:10 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Why not use the job control node (Support pack) at least then you may see what is going on.

As an aside, the JCN will be trying to execute the .bat file with a different user name to what you may be using when you execute it manually. Does the broker user have the rights to create a remedy ticket?
Why not put some logging in this file that puts output to a separate log file that way you can see what is going on?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
SDS
PostPosted: Fri Sep 23, 2016 4:20 am    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2011
Posts: 47

I have used Job Execution Node to check the issue.
I am getting an error as "'msend' is not recognized as an internal or external command, operable program or batch file."

However, the environment variables are set and I am able to execute the msend command properly from the same batch file from command prompt.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Sep 23, 2016 5:33 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

SDS wrote:
I have used Job Execution Node to check the issue.
I am getting an error as "'msend' is not recognized as an internal or external command, operable program or batch file."

However, the environment variables are set and I am able to execute the msend command properly from the same batch file from command prompt.

That means that whatever you have done to make 'msend' work in your account command shell has to be done in the script that you are using to run msend.

It might be something as simple as replacing the path to the msend executable

eg in your environment you use
Code:

msend ..... args ....

to something like

Code:

c:\Progrma files\BMs\msend .... args ...

In a windows environment.

I'd start by putting the following commands in the script
Code:

env > c:\temp\env.txt
echo %PATH% >> c:\temp\env.txt


Then compare this with what you have in your environment.

Leave nothing to chance. do noyt assume that anything is setup for you.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
SDS
PostPosted: Fri Sep 23, 2016 7:07 am    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2011
Posts: 47

Thanks for the reply. It was really helpful to figure out the error.

Actually the error is related to path from where the batch is calling the msend method.

IIB was always executing it from it's runtime path and that's why it could not recognize the msend command.

The clue is to execute the batch from the path where the msend.exe is present. By following the same the issue got resolved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Generate BMC Remedy Incident from Message flow
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.