Quantcast
Channel: LabTech Forums
Viewing all 1265 articles
Browse latest View live

4D. ConnectWise | Re: Check Credentials: "underlying connection was closed..."

$
0
0
QA found in this case was issue with the CW Server - the SSL 3.0 protocol was disabled

HKLM\System\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\SSL 3.0\Server should have value of 1 when protocol is enabled.

Scripts | Re: Double quotes in shell scripts

$
0
0
To be clear this is what I tried

SHELL: grep 'test' | awk -F " ", '"" '{print $2}'** -F <double quote><double quote>,<space>'<double quote><doublequote>

It did not work. If I simply run the awk command with -F ',' then it function correctly but I really need to do a match on single quotes, and the only way I know of is to contain the single quote in double quotes.

Is there an escape character for the SHELL command in LabTech?

Manuel

Monitors | Re: Monitor for APC UPS

$
0
0
Thanks for taking the time to answer my basic question Mike, I could see the screenshot with all the detail but not how to setup a new internal monitor. All up and working fine now

Andy

Scripts | Re: Scripting, Command Console, Powershell, etc.

$
0
0
FYI regarding this thread in case someone needs assistance. I believe the problem was that our AV was catching DCSU-CLI.exe as a process and killing it before it could properly run. We got around the issue by zipping the program files or program files (x86) directories for DCSU and unzipping them in the packages folder under ltsvc\packages\dell\DCSU\app and then ran the application from there.

One other tip...you need to use the policy.xml file to direct dcsu-cli.exe to download the update files to your LTSVC\packages\etc.. folder. Otherwise it tries to download them to a directory under Windows that does not exist (or our AV was catching it).

At any rate, we are now able to update our clients BIOS and other system updates automatically on the same night we do Windows patching and Ninite updates. Very helpful.

Scripts | Script Testing

$
0
0
I come from using Visual Studio and other IDEs where you can test a script fairly quickly. I am new to LabTech.

How do you test a script without running it on some unsuspecting endpoint and waiting 5 minutes for it to run and return results?

Alerting | Re: Stolen Laptop

$
0
0
We have done this. We set up a custom monitor.

In fact, I was able to catch one person that was online. I was on the computer using Labvnc and was able to get an email address, IP address and few other details before they kicked me off.

I also went to the CMD Prompt and changed the password for the person that was on just to hassle them a bit.

Agent | agent not polling

$
0
0
I have a Windows Server 2003 system and have installed the LT agent onto this system. it appears that its installed but is not checking into the LT server. I have tried uninstalling the agent and reinstalling with no luck. The labtech services are also missing from the services console. Any advice is appreciated!

Monitors | Monitor Offline Agent Script not triggering on Fail

$
0
0
The "LT - Offline Servers" monitor is suppose to trigger the "Monitor Offline Agent Script" which tries to bring the server back on line using one of the Master Servers at the site, and failing that generate a ticket and kick out emails.

What I am seeing is the "Monitor Offline Agent" script is running when the server comes back on line, sees the monitor is reporting "Success" and exits out with "Was successful in the ELSE Section". The the script is never being triggered when the server went off line.

The history on the "LT - Offline Servers" monitor shows the server going down and coming back up, but the script never runs, and I'm never alerted that the server is down.

Is this a known issue??? We just recently upgraded to 2013, and I swear this was all working fine last month.

<Help>

-Mike

Monitors | Definitive guide to Monitoring Exchange 2003 / 2007 / 2010

$
0
0
Something that has been bugging me for a while now is how to get Labtech to show and monitor Exchange database file sizes.

Well after a few days and the input of Labtech Technical Support Guru and intervention from Bluesolutions (disti in the UK) account manager we've finally found a way.

So firstly we need something to monitor the Exchange Database size of the EBD & SLV file which go to make up the Exchange DB size (which has a 75GB limit for 2003).

Here's the script to do it...
Code: on error resume next

set fso = createObject("scripting.fileSystemObject")

' CHANGE FILE LOCATIONS HERE
strEDBPath = "C:\Program Files\Exchsrvr\mdbdata\priv1.edb"
strSTMPath = "C:\Program Files\Exchsrvr\mdbdata\priv1.stm"

' SCRIPT GETS FILE OBJECT HERE
Set oEDB = fso.getFile(strEDBPath)
Set oSTM = fso.getFile(strSTMPath)

' SCRIPT SETS VARIABLES BASED UPON FILE SIZE HERE
numEDBSize = oEDB.size
numSTMSize = oSTM.size

' SCRIPT ADDS THE TWO FILE SIZES HERE
numTotalSize = numEDBSize + numSTMSize

' FORMATTING SO IT OUTPUTS SIZE IN GB
numTotalSize = (((numTotalSize /1024) /1024) /1024)

'Delete the next line if you don't want this script to throw an error code
if not err.number = 0 then numTotalSize = 99999999999999

' SCRIPT OUTPUTS THE SUM OF THE FILE SIZES
wscript.echo numTotalSize

' WRAPPING UP
set oSTM = nothing
set oEDB = nothing
set fso = nothing



All pretty well explained. Kudos to Labtech technical support.

I saved this into the %windir%\ltsvc\scripts\ folder
I called it get.2003.exchange.db.sizes.vbs

You can now double click on this to see what the current value is. If it comes up with 999999999 then it cannot find the file or you've accidentally inputted a character in the script. If it cannot find the file then amend the EDB & SLV file locations as specified in the script.

Lets monitor
So now go to the agent click monitors > Right click and add a new monitor
Use the wizard Yes
Monitor the results of an executable
Executable = %windir%\system32\cmd.exe
Arguments = /nologo %windir%\ltsvc\scripts\get.2003.exchange.db.size.vbs
Compare: Less than (don't forget if it's less than the figure you input in the text to compare then the monitor will not fail).
Finish off what and how you would like to monitor.
Once created just double click on the monitor as labtech has a habit of changing the compare value to something else.
Ta da test and make sure it works all done.

What next?
Perhaps you want to create an extra data field to show under the info tab so you can just keep an eye on it.
Main > Dashboard > Config > Configurations > Additional fields
Add in your additional field details...
Name: Exchange DB size in GB
Sort:1
Data screen: Computers
Tool tip: Microsoft Exchange Mailbox store size in GB (includes any SLV files)
Field Type: Text
[Save]

Next we need a script to feed the Extra Data Field
IF: True
THEN:
Function - Shell
Command: %windir%\system32\cscript.exe /nologo %windir%\ltsvc\scripts\get.2003.exchange.db.size.vbs
Fucntion - ExtraData Set Value
Extra field: Microsoft Exchange Mailstore DB size .edb-1
ID: %computerid%
Value %shellresult%

Schedule your script in a group and voila monitored Exchange DB File size (including whitespace) with a field showing the current size.

I've created a script to push the vbs file out...
IF: File check
File Path: %windir%\ltsvc\scripts\get.2007.exchange.db.size.vbs
NOT EXIST

THEN:
Function: File Download
Local File: Scripts\Exchange\get.2007.exchange.db.size.vbs (You'll need this file in the L:\transfers\scripts\exchange\ directory)
Destination Path: %windir%\ltsvc\scripts\get.2007.exchange.db.size.vbs

Else: Script Run
Testing Script\Feed Exchange 2007 EDF's (My script to feed the Extra Data Fields with the exchange file size)

For those running Exchange 2007/2010/2013 then you need to amend the script to not include the SLV file and remove any references to the SLV file or SLV file check from the script. Point it at the database and your off to the races.

I haven't found a way yet of finding the DB file size excluding whitespace but I'm new to Labtech so give me some time!

Scripts | Re: Script Testing

$
0
0
There's not a dry-run type of feature in the scripting. Scripts will run a bit faster if the PC is in Fast Talk, either issued directly or via a command at the beginning of the script.

We have our office PCs and a few of our home PCs in a Beta Test group for this purpose, as well as testing Windows Update patches. I usually open mine, and watch the script run. So that eliminates the "unsuspecting" angle. Image If it's something that needs to run on a client PC for whatever reason, not much alternative...

Agent | Re: agent not polling

$
0
0
Yes, please confirm that AV is not interfering.

I would also start with an uninstall and re-install. Be sure to save a new copy of the installer to the local machine and 'run as admin'. Get the uninstaller and installer from your Web Control Center.

Also check %windir%\ltsvc\lterrors.txt (assuming that it is creating the ltsvc folder). The logs are a great place to start.

.NET issues are a common cause - you might need to repair or re-install .NET if you see errors generated by it.

Monitors | Re: Monitor Offline Agent Script not triggering on Fail

$
0
0
Hey Mike,

How long is the server going offline for?

The script can take time to complete, and will close if it determines that the server has come back online and no further remediation is necessary.

If you want to be alerted that the server went down, even when the script determines that no remediation is necessary, you can use the _sysOfflineAgentEmailImmediately property, which will send an email regardless of the script results. The Monitor Offline Agent script notes explain the properties available.

I am not seeing any reported issues for the offline agent monitor/script.

Monitors | Re: Monitor Offline Agent Script not triggering on Fail

$
0
0
Spoke with LT support and this is a known issue with the 2013 release and will be fixed in the next service pack. Workaround for now is to set the alert template to generate a ticket as well as run the script.

Network Probe | Re: Network Probe Templates

$
0
0
Well, we've made a _little_ bit of progress.

Now, if you double-click a device in the Network list for a location, the Network Device windows which opens has a Ports and Monitors tab. PCs will generally list port 139 (NetBIOS). It's a start.

However, I've checked: there is no way to get that Port display to list as an optional column in the Network list, or in a DataView, or in a Report, or anything else. And so far as I can see, it doesn't affect any device type designation in the list either.

So we're still left with no practical way to find PCs on a network that are missing Labtech agents. Gee, you'd think LT would want to sell more licenses...

-- Ken

Scripts | Re: Script to Monitor Event Log for Specific Event ID and te

$
0
0
I tried from the event log and was able to create a monitor that generates a ticket, but it doesn't perform the "Script To Run" action. I had originally set it to run the script I created, but that wasn't working. I changed it to "Do Nothing" but I need it to restart the application.

Monitors | Monitor Dell EqualLogic SAN

$
0
0
How does anyone monitor an EqualLogic SAN?

Control Center | Re: Appinit registry entry makes no sense

$
0
0
The Appinit value of "23" I think is just the flag/field value being reported from the agent to the system. LabTech reporting it as the value of the registry key is basically incorrect. The default monitor has an Identity field of:

CONCAT(Autostartup.Name,' ',Autostartup.Value)

We copied it to make a custom one with an Identity value of:

CONCAT(Autostartup.Filename,' with a registry value of ',Autostartup.Value)

Note having something there doesn't mean the PC is infected. Google, NVidia, AVG, and others put values in that key.

Further, as per the MS KB referenced the actual key name is "AppInit_DLLs" so "appinit" is slightly misleading.

Agent | Server communication issues

$
0
0
Hi all,

We have one server that is giving us frequent site down alerts throughout the day. We're seeing a lot of the following errors in the event logs for:

Event ID - 5001 (Source=Agent) - WebRqst: https://ouripaddress/LabTech/agent.aspx?220c1&28 : ReceiveFailure : The underlying connection was closed: An unexpected error occurred on a receive. : v60.256

and Event ID - 5001 (Source=Agent) - Status Result Error: v60.256

Ping tests show response times stay mostly under 30ms but can go up to 150ms.

Any thoughts on where to start with this?

Patching | Re: New to LabTech. Need help patching

$
0
0
Your post got me investigating. It looks like for recommended updates to be on, one must set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\IncludeRecommendedUpdate to 1.

Then for Vista and later there is a VBS script that can be run to enable Microsoft Update (http://msdn.microsoft.com/en-us/library/aa826676.aspx). I'm not sure if this is the "approved" way to tell but it looks like if HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\DefaultService is missing MU is not enabled. Otherwise it gets set to the GUID from the above MSDN page.

Many posts also advocate enabling an EnableFeaturedSoftware setting but that appears to be the "show detailed update information and free Microsoft software" checkbox and doesn't seem to be actually tied to security or bugfix updates.

Monitors | Copying Remote Monitors from One Group to Another

$
0
0
Seems like this should be a relatively simple thing to do, but I can't seem to find how to do this anywhere. I did find some old forum posts from about 3 years ago saying this wasn't possible. The import / export functionality described in the documentation KB portal doesn't accomplish this. Is there anything I can do or do I have to recreate all the default remote monitors by hand for another group?
Viewing all 1265 articles
Browse latest View live