raise remedy ticket using windows batch - windows

Is there any solution available to create ticket in BMC remedy via windows batch file? When googled I got this, but I could not find any website that gives installer for esp_createentry.exe Anyone knows the website which allows to download esp_createentry.exe?

The easiest way I can think of is by sending an email with a vb script called by your batch file:
BMC Remedy Action Request System 7.6.04 BMC Remedy Email Engine Guide:
https://docs.bmc.com/docs/download/attachments/165478929/ARS_EmailEngineGuide_7604.pdf?version=1&modificationDate=1348734940000&api=v2
This thread has a brief overview:
https://communities.bmc.com/thread/68452
VBScript to send email:
http://www.paulsadowski.com/wsh/cdo.htm

I would suggest using ARSperl or Java for creating the ticket. Just push an entry to HPD:IncidentInterface-Create

Related

Internal Server Error- http://localhost:1080/webTours/home.html

Application: http://localhost:1080/webTours/home.html [I intend to use it for Jmeter testing]
Below error is displayed when I am trying to click on "sign up now" link. Kindly help to fix it. Pls note, I have strawberry-perl-5.30.0.1-64bit.msi also installed and path is set to the environment.
Internal Server Error The server encountered an internal error or
misconfiguration and was unable to complete your request.
Please contact the server administrator, admin#localhost and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.
More information about this error may be available in the server error
log.
Thanks.
Probably, you need to do the correlation for the dynamic parameters like sessionID etc.
Record two scripts using tools like fiddler or LR or any other sniffing tool and compare two scripts to find out dynamic variables required. Then correlate them. For correlation, identify the first occurrence of the variable in the response then extract them using post processor and pass them further below/to all the request that requires it.
Hope this helps.
It appears that your Web Tours Sample Application installation is broken, looking into MICRO FOCUS SUPPORTED stanza in the application details you should contact Micro Focus Support or ask the question in Micro Focus Community Forums.
In the meantime you can use http://blazedemo.com/ page and Getting Started with JMeter - A Basic Tutorial as the alternative test application for your JMeter training
If you are not getting internal server error while sign up (or) accessing administration link then follow the below,
a. close the server from the cmd
b. In the Web Tours 1.0 parent folder, find the file .msi file: strawberry-perl-5.10.1.0
c. Double click on strawberry-perl-5.10.1.0 msi file to install
d. Once it is installed, Now re-start the server (Double click on StartServer.bat file) under WebTours sub-folder
e. Now, Go to link http://localhost:1080/webtours/home.html
f. Click on Sign up (or) administration link
g. Hope you are able to access the Web Tours app in local server now. Thanks! :-)

Inspec Resource (for windows server) for GPOs

I want to make an inspec (chef) for diffrent GPOs.
I`m wondering to know is there any resource for GPOs (windows server).
because I dont have enough knowledge of gpos and how they work trough a powershell.
So, I appreciate if you send me any suggestion regarding to right inspect rb files dor gpos. (e.g read gplink, gpo health and system access , etc.)
You could use a command resource and the gpresult command line tool.
You may use 'audit_policy' and 'security_policy' inspec resources

How to run shell command from joomla component

I'm writing a component in Joomla 3 and want to save the database periodically (eg after a user updates something). I'd like to therefore run mysqldump using shell_exec (or similar) but I can't get this to work. I suspect it's a permissions issue, but I'm not sure how to resolve this...
Any ideas appreciated.
Your little question inspired us to write a post on how to run SSH commands from Joomla. You can find it here: http://www.itoctopus.com/how-we-ran-an-ssh-command-from-joomla
The post is how we created a secure script that will unblock blocked IPs in CSF - but, the nice thing about it, it provides very clear instructions on how to run ssh commands from a Joomla extension (which is what you essentially need).
I really hope you enjoy this post and that it works for you. If it doesn't, then please provide feedback and we can help!

Saving CSV file on UNIX Server from windows based Lotus Server using Lotus Scripting

I have to write a script on Lotus Server which is on Windows server to save a csv file on UNIX server. I and Unix server path requires authentication. So can somebody help me or suggest me how to do it?
Thanks in advance.
Siddhartha
Could setting up a FTP server on Domino and accessing this from your UNIX server be an option ?
Mindoo FTP server
I once resolved this in two steps:
1. Save the file to a temporary directory on the D omino server using LotusScript
2. Create a scheduled taks on the windowd serverr to copy the file to the second server
Advantages:
You can specify any user in the scheduled task and you don`t have to care about accessibility of the other server.
Disadvantages
Two separate processes.
Hope that helos.
Michael
In my scenario which was very similar to yours, I did the following:
On the Windows Server, I created a Mapped Drive to the folder on the Unix OS. This also managed the Authentication.
In the LotusScript Agent, I extracted to this Mapped Drive, which worked 100%.
You need to provide more details. Presuming you can access the Unix folder from Windows Explorer, map the drive and let Windows store the password. Then access it through the mapped drive letter.
LotusScript can't write to UNC locations, so you need the drive letter.
That file will be probably picked up by another program. CVS is the worst approach. You could offer to write to a Web Service or provide one.
Update
On Unix "access" more often than not doesn't mean a CIFS (a.k.a Windows share) access, but SSH (or FTP). For SSH you would want to:
configure SSH Keys, so you actually don't need username/password any more
use a Java library as asked on Stackoverflow before (or an alternative)
you also could write the file to a temp directory and call a cmd file for the copy operation
With a little care (make the cmd file configurable) the stuff will work when moving your Domino to Unix/Linux too
Let us know how it goes

How to connect to the inbox of a mail like gmail or yahoo etc using a shell script?

We have a database, and we data into database from diferent sources . One source sends data through an email. I have to write a shell script in such a way , that it establishes a connection with that mail (eg: gmail) and acess the inbox of that mail.
If possible converts the recent mails in the inbox to text format.
Kindly help me please.. I dont know unix, but still i am given this task...
I am struggling since 2 weeks.. But I could'nt get solution..
Plss help
Why you don't write a little program in java or another language which gives you this possibility! Then you can call your program in a shell script!
Finding a shell script with this functionality will be not so easy, if it is possible!
Use perl or write a small java app using javamail api and invoke it using shellscript
Google Command Line Tool could help you.
Look for command line pop3 readers. A fine example is Getmail which is written is python so you can have a glimpse what it's doing.
$ getmail --getmaildir /path/to/otherdir --rcfile getmailrc-account1

Resources