Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ACC-V Pattern Discovery (Tokyo): Oracle DB On Window- Error Env-Setup.ps1 getProcessUserAndDomain

HSU
Tera Contributor

Dear community,

 

I have managed to run the ACC-V to do pattern discovery on:

- the Tokyo instance

- using ACC-V 3.3.1
- Plugin:  Patterns on Agent Dependencies - App id: sn_patternsonagent - Version: 2.0.0

 

However on running pattern: Oracle DB On Windows as well as on MSSql DB On Windows 

I see this generic error in the acc.log: 


The term 'getProcessUserAndDomain' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

 

Any idea how to solve this? I somehow think that something is not right with my plugin installation.


Thank you in advance.

The full line log: 

2023-12-27T06:12:36.75 [INFO] [agent] [application/json] [{"check":{"command":"powershell -command \"C:\\ProgramData\\ServiceNow\\agent-client-collector\\cache\\pattern-execution\\bin\\Env-Setup.ps1; getProcessUserAndDomain -commaSeparatedPids '3816'\"","handlers":[],"high_flap_threshold":0,"interval":60,"low_flap_threshold":0,"publish":false,"runtime_assets":null,"subscriptions":[],"proxy_entity_name":"","check_hooks":null,"stdin":false,"subdue":null,"ttl":0,"timeout":60,"round_robin":false,"duration":7.7921621,"executed":1703657548,"history":null,"issued":1703657548,"output":"getProcessUserAndDomain : The term 'getProcessUserAndDomain' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.\r\nAt line:1 char:93\r\n+ ... \\pattern-execution\\bin\\Env-Setup.ps1; getProcessUserAndDomain -commaS ...\r\n+                                           ~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (getProcessUserAndDomain:String) [], CommandNotFoundException\r\n    + FullyQualifiedErrorId : CommandNotFoundException\r\n 


On the ACC Plugin, I don't know how to check the version

HSU_0-1703663330955.png

 

 

1 REPLY 1

SN Arch Guy
Giga Guru

Hi @HSU did you find a resolution to this?