Question of execution of script/Agent
Hi ExpertsI use ODI 10.1.3.5
I have 2 scenarios that are listed.
Scenario1 runs several times a day.
Scenario2 runs once per day.
Now if I change the time of the scenario2 and do update planning in the topology, the execution of my Scenarion1 Manager stops for the rest of the day affecting my data.
Y at - it a clue to get out of this problem.
concerning
Abdel Aziz
Hello
What time scenario 2 takes to run?
Assume that Scenario2 takes 40 min, mean 14:30-15:10 (using the common agent of logic).
the average while that scenario 1 will try to start at 15:00 with the same agent of logic which was occupied with Scenario2.
This could be the problem.
Try this using two different L.Agents.
Published by: Maury May 19, 2011 12:34
Published by: Maury May 19, 2011 12:36
Tags: Business Intelligence
Similar Questions
-
Security settings do not allow execution of script code in the report.xsl stylesheet
Hello world
I can't open a file of XML in Excel 2007 results - even if I added the stylesheet for trusted locations and deleted all the protections.
Here's what happens:
1. open the XML results file how I am propmpted for select the report.xsl stylesheet TestStand
2. then gives error: Scripts in this XML document and/or references to other documents are disabled.
3. by clicking OK gives more specific information - namely the security settings don't allow execution of code within this stylesheet script:
But I did the following:
-The path to the sheethas style was added to the "trusted locations".
-ActiveX settings are completely enabled for all controls without restrictions
-Macros settings are enabled for all macros
-Is trust access to the VBA project object model
-All data connections are allowed
How can I activate the execution of script code in the style sheet for the file XML can load?
Thank you
Ronnie
Ronnie-
Directly from the Article in the Microsoft Knowledge base, please note that do the following changes "may make your computer or your network more vulnerable to attack by malicious software such as viruses." It's always a good idea to make a backup of your registry before editing. This can be done by clicking on file' export.
In any case, as the article explains, open the registry and navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Security. The security file must contain a registry key called XSLSecurityLevel. Mine did not have this registry key and I had to create it (see screenshot below). Double-click the XSLSecurityLevel registry key, type 1 in the data value, and then click OK.
You should now be able to view the XML from Excel 2007 report. To reset this setting, simply double-click the registry XSLSecurityLevel key, enter 0 in the given value, and then click OK.
I hope this helps!
-
Unable to load psDiagnostics.psm1 - execution of scripts is disabled on this system.
original title: file c:\windows\system32\WindowsPowerShell\v.1a\modules\psDiagnostics\psDiagnostics.psm1 cannot be loaded because the execution of scripts is disable on this system.
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Ideas:
- Disable programs you Wira c:\windows\system32\WindowsPowerShell\v.1a\modules\psDiagnostics\psDiagnostics.psm1 cannot be loaded because the execution of scripts is on this system.e of problems with
- Error messages
- Recent changes to your computer
- What you have already tried to solve the problem
Run scripts.
To secure Windows PowerShell, the default on Windows PowerShell execution policy is restricted. This strategy allows you to run cmdlets, but not scripts. To run scripts, use the Set-ExecutionPolicy cmdlet to change the AllSigned and RemoteSignedexecution policy. Only members of the Administrators group on the computer can run this cmdlet.
-
The execution of Scripts is disabled
I remember - this is a public forum so never post private information such as numbers of mail or telephone!
Ideas:
- Keep getting a warning Message on execution of Powershell Scripts is disabled on System.Is this supposed to be in the measuring mode? And if so, no matter what ideas how to do this? THANK YOU MUCH FOR YOUR TIME... You have problems with programs
- Error messages
- Recent changes to your computer
- What you have already tried to solve the problem
Michael Tothill
Information on the execution of script in Powershell is available here http://technet.microsoft.com/en-gb/library/ee176949.aspx
What you see is the default behavior. You need to change the ExecutionPolicy.
-
I may have asked this before, but is there a way to create the FSA for a script agent?
All the examples, someone can tell me?
It's true, but unfortunately this feature of the fglide is a little 'weea' in the documentation.
But I saw some interest for this feature in the past few weeks and I'll create movies from screen-cam more explaining the creation of Agent step by step.
I want to download the first couple at the end of the week, if I can get my audio equipment works with my new PC.
Stefan
-
All,
I just downloaded and deployed the following script agent. Everything seemed to be going perfect. If I navigate to the fglam > State > agent > myagent > scripts folder and run the .sh script he things seem to work as I want. I let the agent walk for an hour while I went to lunch and I still don't see anything in the model. No idea where I was wrong?
Solaris with 5.5.8.2, FMS1 5.6.5 on centOS fglam.,.
[code]
#
#! / bin/bash
#somestuff
variable #define
EIMJobStartTimeUTCTimeStampString = 0
EIMJobStartTimeDate = 0
EIMJobStartTimeTime = 0
CurrentDate = 0
#Scrape file for journal information and format it in vars
EIMJobStartTimeUTCTimeStampString = $(tête-n 1)< `ls="" -t="" pt/myawesomeapp/enterprises/prod/prod_app1/log/eim*.log="" |="" head="" -n="" 1`|="" cut="" -f="" 2,3="" -d="" '="">
EIMJobStartTimeDate = $(echo $EIMJobStartTimeUTCTimeStampString | awk '{print substr ($0, 0, 10)} ")
EIMJobStartTimeTime = $(echo $EIMJobStartTimeUTCTimeStampString | awk '{print substr ($0, 12)} ")
CurrentDate = "date".
#echo our results for the test, do not include in the cartridge
#echo $EIMJobStartTimeUTCTimeStampString
#echo $EIMJobStartTimeDate
#echo $EIMJobStartTimeTime
#Echo results in format Foglight
echo "TABLE EIM_JOB_STARTTIME"
echo 'START_SAMPLE_PERIOD '.
echo "StartTime.StringObservation.obs is"$EIMJobStartTimeUTCTimeStampString ".
echo "StartTimeDate.StringObservation.obs is"$EIMJobStartTimeDate ".
echo "StartTimeTime.StringObservation.obs is"$EIMJobStartTimeTime ".
echo "SystemDate.StringObservation.obs is"$CurrentDate ".
echo 'END_SAMPLE_PERIOD '.
echo "END_TABLE.
[/ code]
Here is the result, it "seems" be correct
-bash-3,00$./EIMJobStartTime.sh
TABLE EIM_JOB_STARTTIME
START_SAMPLE_PERIOD
StartTime.StringObservation.obs = 2013-03-15 21:09:52
StartTimeDate.StringObservation.obs = 2013-03-15
StartTimeTime.StringObservation.obs = 21: 09:52
SystemDate.StringObservation.obs = Friday, March 15, 2013 21:11:26 UTC
END_SAMPLE_PERIOD
END_TABLE
-bash-3, $ 00
When I "get log" on the agent, that nothing ever happens for this agent.
5.6.5 seems to have a bug regarding the agent data of custom script that appears in the data browser.
Try to restart the FMS service, others have seen it solve the problem in topology view.
-
ps1 script could not be loaded because the execution of scripts is disabled on this system
I just loaded PowerShell and Toolkit VI on my new laptop computer and I get the following security error "snapshot.ps1 cannot be loaded because the execution of scripts is disabled on.
This system ". What authorization security or politics I need to change to fix this?
Hello
The Set-ExecutionPolicy changes the user preference for the shell execution policy. The execution policy is part of the Windows PowerShell security strategy. It determines if you can load configuration (including your Windows PowerShell profile) files and run scripts, and it determines which scripts, if any, must be digitally signed before they will work.
You must set the executionpolicy unrestricted by using the cmdlet below
set-executionpolicy unrestricted
get-executionpolicy will return the current executionpolicy.
Thank you
Christel
-
Script agent - monitoring telnet to a specific port connection
I created this script agent as described below. Although when I deploy and create agent, I don't see an agent created on the dashboard of the Agents, or the data browser.
Any other suggestions? Recommendations to improve extensibility? Also, if I have several hostnames and several ports, what is the best way to implement who?
OMNI_PortMonitor.sh
echo OMNI_PORT_HLPOM560_20301 TABLE
echo START_SAMPLE_PERIOD
HTTPSERVERIP = "hlpom560.someDomain.com".
echo HTTP_SERVER_HOSTNAME. String = $HTTPSERVERIP
HTTPSERVERPORT = "20301.
echo $HTTPSERVERPORT = HTTP_PORT
TELNET = $(which telnet)
(
echo "exit".
) | $TELNET $HTTPSERVERIP $HTTPSERVERPORT | connected grep > / dev/null 2 > & 1
If ["$?"-not "1"]; then
echo PORT_STATUS = 0
on the other
echo PORT_STATUS = 1:
FI
echo END_SAMPLE_PERIOD
echo END_TABLE
Thank you
#AJ
Hi AJ,.
The best practice is to design your script so that it checks for the environment variables populated by a secondary ASP. If these environment variables are not defined, the script can set values of relief.
I know that you have used the custom ApacheStatus agent. The collector for this agent, ApacheStatus.sh script, check the variables of environment generated by ASP. If they are not present, the script hard code a list of values. This allows the script to execute and generate data of interest from a list of servers Apache targets from the command line. You can modify your script to do the same.
Kind regards
Brian Wheeldon
-
Package Foglight - Custom Script Agent, a file?
All,
So, I am writing a custom script agent. It requires some bianary custom to be in the same folder. Is it possible to pack these bits in the agent?
Thank you
It is a pity that your screenshot does not show the corresponding part of the log file and the log file is not zipped and fastened. Otherwise, maybe your version, platform, and the FMS symptom matching the error described in SupportLink Solution 82250: https://support.quest.com/Search/SolutionDetail.aspx?id=SOL82250&category=Solutions&SKB=1&product=Foglight ?
If so, an upgrade may be required to resolve the issue.
Kind regards
Brian Wheeldon
-
Can I post here questions (Acrobat Windows) Java Script here?
Hello
Can I post here questions (Acrobat Windows) Java Script here? Otherwise, RAS is the right forum?
Thank you
Back to the top and down to Acrobat Scripting. BOT Windows and MacIntosh Acrobat versions use the same JavaScript.
If you use LIVECYCLE DESIGNER to use their forums. The JavaScript syntax and objects are different in LIVECYCLE DESIGNER!
-
I am currently using Windows 7 Home premium. I have a kaspesky 2010 installed on pc and navigo on the Internet with firefox 3.6.
Unfortunately, every time I leave a notice:
A script on this page may be busy or have stopped responding. You can stop the script now or wait to see if the script concludes its execution.Script: chrome://fflinkfilter/content/ikavlinkcollection.js:15
The biggest problem is that soar of CPU consumption to values very high but blocked for regular activities... sad.gif
Do you know if or how you can solve?
This is a problem with an extension: fflinkfilter
-
Question of generation of scripts or VI
Hi Experts,
I have question about scripts... or maybe that is not .
In VBAI there is a feature: Labview code generation. How this feature implemented without scripting? I have Labview 2009 SP1 and tried the generation of code VBAI VI. Is that what this feature of the VBAI available only to environment Labview Dev. is installed? I mean if I don't have Labview, this function will not work?
Thank you
Interesting links:
Indeed for node script it is usually mentioned in context-sensitive help if it will work in the TEN, and for much of it, it won't.
Now, I have not tried whether VBAI is only used script functions that are available in the TEN or so NOR the developers have a way to "allow their EXE to use scripts.
-
Question of NAC clean access agent (CCA)
Hello
IAM through OOB NAC deployment and I have a question about the agent of the CCA that is persistent on the client computers, if a customer leaves his work with the laptop that has the agent of the CCA and will use it in the House or any other network, will be the effect of the agent on the laptop access in any other network or not? and why?
waiting for your answers
MAM
Mohamed,
No difference in the other networks. All you will see if you capture traffic from this client is a UDP packet every 5 seconds. Since then, there is no CASE in your other networks, which is ignored and nothing else changes.
HTH,
Faisal
-
Execution of Script PowerShell host - spaces in settings
Hi guys,.
How to pass a parameter from vRO to a remote host from PowerShell with a space (for example the subject and the body in the script below)? If I quote the parameter in the form of vRO, it works fine, but I want to do it programmatically to make sure that my users don't need to use quotes, through vRA.
Script is similar to:
var output;
var session;
var sender = arguments + "" + recipient + "" + subject + "" + body + "" + smtpServer;
try {}
session = host.openSession ();
script var = "&" ' + externalScript + ' "' + arguments;"
Output = System.getModule("com.vmware.library.powershell").invokeScript (host, script, session.getSessionId ());
}
{Finally
If {(session)
host.closeSession (session.getSessionId ());
}
}
Thank you
Dan
Hi Dan,.
Instead of using PowerShell, vRO can send emails too.
To answer your question, you could include quotes like this:
"var arguments = sender +" "+ recipient +"\"" + subject + '\' \ "' + body +"------""+ smtpServer;
Michael
-
Execution of Scripts of Calc automation
Hi, how we automate the calculations that are required to do so in a sequence?
I have about 12 Calc which are dependent on each other and must be performed in a sequence (01 to 12).
3/4 Calc are on a granular level, so few of them take some time 6-7 minutes, and we have a step of aggregation that takes 15 minutes. But outside of these, the rest take 1-2 minutes to run.
Problem is when I use the MaxL editor in the Regional service console - using the command "run the calculation.
Set Message level.
Set timestamp
coil 'Aug - 12.log';
echo "Execute - start - calculation."
function SIERREUR 'ErrorExit;
run the 'Sample' calculation.' Sample '.' 01-step ';
run the 'Sample' calculation.' Sample '.' 02-step ';
run the 'Sample' calculation.' Sample '.' 03-step ';
....
...
These statements-error - saying previous request is still in progress if the calculation takes more time
For by example 01-step 2 minutes
-It works very well and the next step is executed successfully
02-step took 6 mins
-then it does not perform successfully step 03 - it does not wait for the earlier execution at the end and when he tries to run the 3rd step it error saying 'previous request still pending '.
Any help would be appreciated.
Ankur
If you run these MaxL (not FRO EAS) they will work in serial mode using something like:
Call pathname...\startMaxl.bat myscript.mxl
Where myscript.mxl has the calculation of performance in orders.
Depending on if you want to check for codes back and forth between the steps, you could have separate MaxL scripts and call each
Call pathname...\startMaxl.bat step_1.mxl
Call pathname...\startMaxl.bat step_2.mxl
Call pathname...\startMaxl.bat step_3.mxl
Call pathname...\startMaxl.bat step_4.mxl
Maybe you are looking for
-
Im trying to align (justify) of text in the footer of the pages, but the buttons is not active. What can I do?
-
Page control is displayed in Word format
Hello I try to control the pages displayed in MS Word by jumping at them. I can jump to the previous and next, but I can't go to a page I want. I know I'm doing something wrong with the invoke node (see below, the full code attached), but I don't kno
-
Trying to remove virus, need to format the hard drive to remove all programs to remove the virus. I ran several security programs which has not found a virus. Taken at Best Buy, they ran their programs, could not detect viruses, but said there are
-
need help with windows update C8000F1A error code
I need help with an error code that is given to my PC when I try to put up-to-date
-
WirelessKeyboardFilter_01 update cannot be installed because the file name is incompatible
Several attempts to update Windows cannot install the patch for the Microsoft mouse "WirelessKeyboardFilter_01." The message I got was 'the WirelessKeyboardFilter_01 driver is not installed. and then . . . . "WirelessKeyboardFilter_01 is not a driver