Hi,
We work on SWIS to create containers, nodes etc. Sometimes we get an error like 'Unknown Orion user admin' or 'Unknown Orion user <username>'. Why get this error?
This error get often while container/node adding (or any process), especially when want to add sequentially. For each process, client is opened, ( via command "client.Open();" ) after adding node/create container ( "client.Invoke("Orion.Container", "CreateContainer", element);" etc. ) and finally client is closed ( via command "client.Close();" ). There is no specific time interval for that error.
No clues there. Let's go to the logs. We'll need debug-level logging to see what's going on here. But since this is an intermittent error, we need to turn on debug logging only for the specific area involved - if we turn on debug logging for the whole service, running your script will flood the log with noise.
To turn on debug logging for the relevant area, edit C:\Program Files (x86)\SolarWinds\Orion\Information Service\3.0\SolarWinds.InformationService.Service.exe.config and find the section near the bottom with a bunch of <logger> elements. Add this element:
<logger name="SolarWinds.Data.Providers.Orion.AccountLimitations">
<level value="DEBUG" />
</logger>
When you save the .config file, it will pick up the logging changes automatically - you don't need to restart anything.
Run your tool until you get the "Unknown Orion user" message. Capture C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log and send it to me (thwack private message will work) and I'll take a look.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.