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

Tags: Dell Tech

Similar Questions

  • Custom Script Agent - do not display under host

    Hello

    I tried to create my first agent custom foglight 5.5 following some blogs posted here, the script that I use is the following

    off @echo

    NETSTAT - year | Find/c '8080' > D:\scripts\test\QAS_Count.txt

    FOR /F "tokens = 1 delims =" % in (D:\scripts\test\QAS_Count.txt) set QAS_Count = %% a

    echo QASCheckScriptTest TABLE

    echo START_SAMPLE_PERIOD

    echo Host.String.id = TestHostString

    the echo of QAS = % QAS_Count %

    echo END_SAMPLE_PERIOD

    echo END_TABLE

    I tried to keep it as simple as possible just to try it. all I want is the number of connections on a specified port.

    I managed to create the custom agent, deploy the agent to the host package, create the agent and enable it to collect the data, the log file indicates it collects data and there are no errors. I lived a few interactions of the script work some other product of errors in the agent log.

    However, my problem is that the agent does not appear under the host in the form of agents, I have waited long, restarted the service of fglam but no joy. I tried to clean the system of my first attempts, thinking they can cause problems but still no joy.

    I'm new to foglight no idea where start with this problem? also, I have the feeling that it would never work without removing all traces of the previous agents\deployments\scripts can someone explain how to remove everything from the system

    Thank you

    KeV

    Hi Kev,

    If agent is producing a correct output, but the measures do not appear in the model of the FMS, there is probably an error in the processing of these metrics on the FMS. We have seen this before when there is a conflict between the definition of the current version of the script with an earlier version. If you download the FMS log file and look for references on behalf of your script, you will probably discover the source of the problem. Often, you can work around a problem like this by:

    -change the name of agent script,

    -change the name from agent table, or

    -explicitly delete the previous definition of the type of agent

    Kind regards

    Brian Wheeldon

  • Script agent does not

    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]

    # [email protected]

    #

    #! / 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.

  • Erroe Code 1720: There is a problem with this Windows Installer package. A script required for this intall could not be executed.

    I have Windows Vista with Service Pack 2 installed on my system.  I am trying to install a small program.  The installation process starts, but soon, I get the following error message: Error 1720: there is a problem with this Windows Installer package.  A script required for this intall to complete could not be run...  How can I solve this problem?

    Try the steps mentioned in the answers marked by kmlure and Imran Chand at the following link: http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/error-1720-there-is-a-problem-with-this-windows/0b965fe8-2d16-498c-bb88-395911e13146

    If you have downloaded the program, you can try to download it again or check if there is a different place, you can download it since the file itself is not the problem.

  • Error code 1720: there is a problem with this Windows Installer package. A script required for this installation could not be executed.

    I have Windows Vista (with Service Pack 2) installed on my system. I am trying to install a program called HotDocs.  HotDocs is a document generation program.  The installation process is arrested shortly after it starts and I get the following error message:

    Error 1720. There is a problem with this installation package. A script required for this install to complete could not be run. Contact your provider to support personal or package. Custom action script error,: line, column,.

    I tried to use msconfig to determine if any service could interfere with the Windows Installer (none appeared to be - their judgment has not solved the problem of turing), run the installation as an administrator, and help from Microsoft 'Fix It' Troubleshooting Guide (for installation problems), but none who has eliminated the problem. I also contacted the HotDocs seller and they had no solution for the problem and have not all reports other customers that their program was causing a problem.

    Other solutions to this problem?

    Thank you!

    Hello

    1. did you of recent changes to the system?

    2. do ths problem occurs when you try to install another program?

    3 did you perform the clean boot completely?

    Follow the steps mentioned below and check if that helps.

    Step 1:

    Follow the steps from the link below and check if that helps.

    http://support.Microsoft.com/kb/2438651

    Step 2: Perform a clean boot

    If you have not completely run the clean boot, try to make it completely.

    Follow the steps in the link below to perform the clean boot.

    http://support.Microsoft.com/kb/929135

    Note: once you are done with the boot, follow step 7 in the link to your computer in normal mode.

    It will be useful.

  • Error: Import module XLRD in a custom script FDMEE

    Hello Experts,

    I'm trying to import a python "xlrd" module in a custom Script FDMEE. But he doesn't always lift error "No Module name xlrd".

    I tried to import the module by changing the path sys:

    Here is the code I tried:

    ===========================================================================================

    import sys

    "custModlePath = r'fdmContext ["INBOXDIR"] +"\\Excel_Sample\\xlrd""

    sys. Path.Append (custModlePath)

    import xlrd

    path = fdmContext ["INBOXDIR"] + "\\Excel_Sample\\."

    pathout = fdmContext ["INBOXDIR"] + "\\Excel_Sample\\Out."

    Book = xlrd.open_workbook (path)

    data_sheet = book.sheet_by_name ("Report")

    #data_sheet = book.sheet_by_index (3)

    start_row_count = 7

    end_row_count = data_sheet.nrows

    MyFile = open (fdmContext ["INBOXDIR"] + "\\Excel_Sample\\Out\\mapping.csv",'w")

    #myfile = open('SG\OUT\mapping.txt','w')

    all in start_row_count < end_row_count:

    #print data_sheet.row_values (i)

    lines = data_sheet.row_values (start_row_count)

    for the line data_sheet.row_values (start_row_count):

    MyFile.Write (STR (Line))

    MyFile.Write(",")

    MyFile.Write ("\n")

    start_row_count = start_row_count + 1

    MyFile.Close)

    =============================================================================================

    ERROR:

    2016-01-27 01:18:11, 294 FATAL [AIF]: error in CommProcess.executeCustomScript

    Traceback (most recent call changed):

    File "< string >", line 191, in executeCustomScript

    File '< string >", line 486, in executeCustomScript

    Folder "< string >", line 528, in executeJythonScript

    File "E:\FDMEE/data/scripts/custom/EXCEL_TO_CSV.py", line 6, < module >

    import xlrd

    ImportError: No module named xlrd

    2016-01-27 01:18:11, 336 DEBUG [AIF]: the connection of fdmAPI was closed.

    ===========================================================================================

    Appreciate your help!

    Thank you

    Ishti

    Hello

    I was able to get it working after some changes.

    Version compatible with Jython 2.5.1 FDMEE xlrd is xlrd 0.7.4

    Xlrd record is required to be placed inside the FDMEE server and the path is required to be updated in the script.

    Below the script just in case someone needs it:

    ===============================================================================================

    import sys

    custModlePath = fdmContext ["INBOXDIR"] + "\\Excel_Sample" # path in which is placed the folder xlrd

    sys. Path.Append (custModlePath)

    import xlrd

    path = fdmContext ["INBOXDIR"] + "\\Excel_Sample\\Mapping.xls" # path to the Source file

    pathout = fdmContext ["INBOXDIR"] + "\\Excel_Sample\\Out\\" # path to the .csv file

    Book = xlrd.open_workbook (path)

    data_sheet = book.sheet_by_name ("Report")

    start_row_count = 7

    end_row_count = data_sheet.nrows

    MyFile = open (pathout + "mapping.csv", "w" ")

    everything start_row_count<>

    lines = data_sheet.row_values (start_row_count)

    for the line data_sheet.row_values (start_row_count):

    MyFile.Write (STR (Line))

    MyFile.Write(",")

    MyFile.Write ("\n")

    start_row_count = start_row_count + 1

    MyFile.Close)

    =====================================================================================================

    Thank you

    Ishtique

  • fdmContext in a custom script

    Hello everyone,

    I'm faced with a problem on a custom in FDMEE script.

    I have a custom jython script that calls an ODI scenario. My problem is how to move the POV selected in fdm to the ODI scenario? I need to get information from the period inside my ODI package.

    POV_Selected.PNG

    How can I achieve this?

    Thank you very much!!!

    Best regards

    Eduardo Almeida

    Your other question is that fdmContext will not be initialized in a custom script. If you need to get the FDMEE period in the scenario ODI, you must configure a custom script parameter that evaluates to FDMEE period POV as input that you can then recover in your script that is customized by using the following API - fdmAPI.getCustomScriptParameterValue ("ParameterName")

    You'd then this value as a variable argument to the ODI scenario

  • To access the icons of InDesigns for custom scripts

    Hi all

    I think remember me a moment ago see a PDF file that had all the icons that uses InDesign and an access method and use them in my own custom scripts.

    I went through all my PDF resources which in have accumulated over the years and can't seem to find it. \

    Someone at - it a PDF file that contains this information, or resource online for this?

    Thank you very much


    Roy

    You can find a PDF catalog (Peter Kahrel site):

    Icon catalog

    Jarek

  • How to copy a package to a schema in a file?

    How to copy a package to a schema in a file?

    need to read schema packets in the server and write as files to the customer.

    After running a query, you can export columns PACK_DDL wherever you want.

    Select DBMS_METADATA. GET_DDL (object_type-online 'PACKAGE', name => t.OBJECT_NAME, schema-online t.OWNER) as pack_ddl, t.*

    from dba_objects t

    where type_objet = 'PACKAGE '.

    and owner = 'SCHEMA_NAME ';

    OR

    Select DBMS_METADATA. GET_DDL (object_type-online 'PACKAGE', name => t.OBJECT_NAME, schema-online user) like pack_ddl, t.*

    from user_objects t

    where type_objet = 'PACKAGE '.

    -----

    Ramin Hashimzade

  • Custom scripts does not work in Illustrator CC (2014)

    Some custom scripts that are part of my workflow do not work in the new CC; MultiExporter.jsx and Sprite CSS Generator.jsx.

    When I try to run is titled a modal window rises as if the script is running, but the actual window is only a few pixels maximum and cannot be resized.export-win.png

    sprite-gen-win.png

    They have both worked very well in CC. My scope of javascript is pretty basic, but is there code that needs to be changed to update these to work with the current version?

    Thank you!

    Bob

    It seems that this could be a system issue or a conflict; I uninstalled CC2013 AI and AI CC2014 so clearing out all the prefs, artifact files and folders. Then did a fresh install of CC2014 it has been able to use all my scripts inherited without problem.

  • 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

  • Can someone help with the scripts on this file?

    Hi, I hope someone with a bigger brain can help me here.

    I have an existing Flash CS3 file that makes up the result to http://www.infusion-set.com/Flash/eLearning/Inset30/inset30_eguide.html .

    The customer asked if I could add an extra tab at the top after that 'group' called 'Contact us' with link to an additional page. The design was done in ActionScript 2 with references to XML files for dynamic content because it has been done in other languages.

    I modified the XML file with the correct references to a new page and a .swf file that accompanies it to play in the field of animation.

    I tried a .fla version where I duplicated one of the existing tabs script, changed the XML references and changed the variables if necessary to "con or"Con"(which is to reach us). Unfortunately, he made the menu tab go completely off the page and was patently false in some way.

    Can someone give me a clue as to what to change here on the original file that I am a novice with ActionScripts, so ask me.

    For reference, I have attached the HTML files with scripts of original file and my incorrect version. The chronology is 103 images with the scripts placed in frame 1 and 102

    Thank you.

    Garry

    The buttons are all created using the same library object (but MC), except for the code you have in the revised file does not call on it for the con button.

    You calling on something with a name of 'con' link, which tells me that a quick check is not - then it is undefined in the code when you try to use it.  I found this by using trace (newConBut._x); After its _x value was assigned, as I said, you should try.   So the first thing you want to do is to change the following line from...

    var newConBut = _root.attachMovie ("con", "conbut", _root.getNextHighestDepth ());

    TO

    var newConBut = _root.attachMovie ("but", "conbut", _root.getNextHighestDepth ());

    so that it uses the but MC who is used to this end in the library.  So, you want to correct the assignment _x of the buttons and I think that you had previously...

    newConBut._x = 650 - newConBut._width;
    newRecBut._x = newConBut._x - newRecBut._width;

    Here is a picture of what these changes (note, without the XML file, I had to finagle things just to work, then the labels of biutton are not what they will be)...

  • run a package through shell script

    Hi trying to run a package through shell script.
    But it is failling. Some may point out why?

    Here is the code im with


    ==================

    sqlplus user/pwd s < < EOF
    coil file.log

    START the user. PKG_Name.RUN_job;
    commit; END;
    spool off

    output
    EXPRESSIONS OF FOLKLORE

    ===========================


    I am able to run using the code below Toad.

    'BEGIN user. PKG_Name.RUN_job;
    commit; END; »

    What error do you get? Use
    sqlplus user/pwd s<>
    coil file.log
    START the user. PKG_Name.RUN_job;
    commit; END;
    /
    spool off
    output
    EXPRESSIONS OF FOLKLORE

    Kind regards.

  • Error 1720. There is a problem with this windows package install. a script required fpr this installation to complete could not be run.

    Error 1720. There is a problem with this windows package install. a script required fpr this installation to complete could not be run. Contact your provider to support personal or package. action Coustom DelAppData error script-2146828283. Argument or appeal of Microsoft VbScript runtime error: invalid procedures: "Left" line 22, column 1.

    Contact the technical support for the program that you are trying to install. MS - MVP - Elephant Boy computers - don't panic!

  • Error message "can't find script engine"VBScript"script"C:\Program Files\Verizon\IHA_MessageCenter\CmdVBS.vbs"appears randomly

    Original title:

    "Impossible to find"VBScript"script"C:\Program Files\Verizon\IHA_MessageCenter\CmdVBS.vbs"script engine

    This host Script Windows message pop up on my desk every 30 min or so, how resolve this specific problem with VBScript?

    http://www.SevenForums.com/Windows-updates-activation/196011-cscript-error-cant-find-script-engine-VBScript-alternate-solution.html

    should help

Maybe you are looking for