Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support pandora agent configuration

  • pandora agent configuration

    Posted by kram on February 4, 2009 at 00:32

    I am trying to check connection to a StarTeam server using the Pandora Agent(1.2 version). All I am trying to do is, to run a StarTeam command that connects to the server and after that echoing the %errorlevel% to check if its a non-zero value(connection failed if it is nono-zero). Is there an easy way to do this?

    As of now, I have modified the Pandora_Agent.conf file to include a module,

    stcmd connection check
    module_begin
    module_name stcmd_connect
    module_type generic_data
    module_exec c:Program FilesPandora_Agentstcmd_check.bat
    module_description Checking connection with StarTeam
    module_end

    Also, the stcmd_check.bat looks like this:

    stcmd.exe list -p "[email protected]:55201/StarFlow Extensions" -pwdfile "c:Documents and Settingsxyzstcmd_pwd.txt" -x -fp "D:projectsStarFlow Extensions"
    echo %errorlevel% 
    

    I am unable to capture the variable %errorlevel% into the pandora module.

    Any help is appreciated!

    kram replied 16 years ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.