Ad Widget

Collapse

Trigger puzzle

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrogers-9898
    Member
    • Sep 2008
    • 68

    #1

    Trigger puzzle

    Hi guys,

    I think I've got a bug in my triggers & dependency, but I can't put my finger on what I've done wrong.

    The idea is behind the triggers & dependency is; if the server has ether of the two applications installed (in either the 32 or 64 bit location), it must then have a third application installed. If not installed, trigger.

    If that third application is installed, and not running, trigger.

    Here is the first trigger text;

    Code:
    (
     {ShadowProtect:vfs.file.exists["c:\program files\StorageCraft\ImageManager\ImageManager.exe"].last()}=1 
     or 
     {ShadowProtect:vfs.file.exists["C:\Program Files\StorageCraft\ShadowProtect\ShadowProtectSvc.exe"].last()}=1 
     or 
     {ShadowProtect:vfs.file.exists["C:\Program Files (x86)\StorageCraft\ShadowProtect\ShadowProtectSvc.exe"].last()}=1 
     or 
     {ShadowProtect:vfs.file.exists["c:\program files (x86)\StorageCraft\ImageManager\ImageManager.exe"].last()}=1
    ) 
    and 
    (
     {ShadowProtect:vfs.file.exists["C:\Program Files\StorageCraft\CMD\stc_endpt_agent.exe"].last()}=0 
      and 
     {ShadowProtect:vfs.file.exists["C:\Program Files (x86)\StorageCraft\CMD\stc_endpt_agent.exe"].last()}=0
    )

    Here is the second trigger, which depends on the first.

    Code:
    {ShadowProtect:proc.num[stc_endpt_agent.exe].max(3600)}<>1

    I seem to be getting the first trigger, even if nothing is installed. Any suggestions?
  • mrogers-9898
    Member
    • Sep 2008
    • 68

    #2
    Its been a day or so and no replies. Can I assume that the trigger code appears OK?

    If that's the case, could I have some tips troubleshooting further?

    I've already tested each item of that trigger on a host, and they return values I'd expect for a non-problem state, but the whole trigger returns a problem state.

    Comment

    Working...