Page 1 of 1

ADMon not detecting all machines at a site

Posted: Fri May 22, 2020 10:09 pm
by yardstick
Hi There,

We have been using this plugin for a while now, but recently a site in LabTech only sees the DC, not any other PC at the site. Is there a way we can troubleshoot whats going on?
ADMON screenshot
ADMON screenshot
screenshot.png (119.05 KiB) Viewed 11491 times

Re: ADMon not detecting all machines at a site

Posted: Tue May 26, 2020 12:52 pm
by Cubert
It sounds like the location is not executing the ADMON script on all agents. Have a look at each agent to see if the ADMON script was scheduled and if so what its output was? Some error?

If no scheduled scripts show up then try restarting the DBagent on the LT host.

Re: ADMon not detecting all machines at a site

Posted: Fri Jun 05, 2020 2:38 pm
by yardstick
Hi Cubert,

The scrips seems to be running on the agent, and the script says it ran successfully.

Re: ADMon not detecting all machines at a site

Posted: Mon Jun 08, 2020 12:10 pm
by Cubert
There should be outputs in the command and script sections showing what was returned by script. Can you post images of the command log during script run?

See image for what we need from logs.. ( we need to see what executed and what the return was.)


Capture.PNG
Capture.PNG (87.54 KiB) Viewed 11096 times

Re: ADMon not detecting all machines at a site

Posted: Tue Jun 16, 2020 3:28 pm
by yardstick
Hi Cubert,

Sorry for the delay, i got caught on something else. When checking the command page, i dont see the Execute Command entry for AdMon.

On the working machine i see an Invoke Script entry, and the results returned, teh failed machine is returning in a different language

Re: ADMon not detecting all machines at a site

Posted: Tue Jun 16, 2020 7:02 pm
by A_Nimbus
Hi Cubert,

I am having the same issue as yardstick, however on the failed device it displays in English.

- Failed to create temporary file. Username: domain\username. Profile. folder not found. Validate user has previously logged into the system.

See screenshot:
screenshot_831.png
screenshot_831.png (340.62 KiB) Viewed 10889 times
I did some more investigations and this is down to the client location 'Deployments and Defaults' password in automate being a domain account. Plugin worked previously using. domain admin\user account.

Thanks

Re: ADMon not detecting all machines at a site

Posted: Fri Jun 19, 2020 3:36 pm
by yardstick
Hi Cubert,

We followed the steps in http://support.plugins4labtech.com/view ... 98373c3762

and changed the ADMON script to NOT run as admin, and it resolved the issue
We are in the process of changing over scripting to run from a service account, instead of running as our technician account. The sites running as a service account did not have a profile folder to store the temp files in, which caused the errors

Changing to shell run worked, or id imaging setting a static temp directory would have resolved this for us.

Re: ADMon not detecting all machines at a site

Posted: Mon Jun 22, 2020 10:20 am
by A_Nimbus
Hi yardstick,

Great to hear that resolved the issue. I would be making these changes to the 'run as admin' later on today. Can you please post a screenshot of what option you have set so others can follow and also any alternative solutions you have to make it more reliable.

Re: ADMon not detecting all machines at a site

Posted: Mon Jun 22, 2020 12:32 pm
by A_Nimbus
Hi All,

If your having this issue please change the script - Admon Maintenance Service
Line3 to run as local system from 'Run as Admin'
screenshot_849.png
screenshot_849.png (17.38 KiB) Viewed 10724 times
Thanks All