Quantcast
Channel: THWACK: Popular Discussions - Script Lab
Browsing all 9937 articles
Browse latest View live

SQL Help needed

I created the follow code on my NPM home page to show servers that 95% or of their hard drive full that pulls its info for an alert called Server Volume 95% Trigger and it produces a good graph. but I...

View Article


Migrating perl scripts to NCM. . . . .

Hello everyone. We have recently purchased NCM and are working to migrate our "old" perl scripts into NCM. What do you think would be the best way to accomplish this?  Thanks,K

View Article


Powershell script for Trend Micro Virus Pattern File age monitoring

Need to build a powershell script in a custom Orion SAM component monitor template that allows us to return a value of the number of hours or days a Trend Micro OfficeScan or Deep Security client is...

View Article

IIS reset with powershell

Hi there, i'd like solarwinds to automatically reset iis on a server if that server CPU goes over 50%. The server is managed using WMI, and has powershell 2.0 installed, i have this script working...

View Article

Count of files matching a filename pattern.

We have a request from a server owner to monitor for the count of files matching a specific filename pattern, and to generate an alert when that count is exceeded. Currently that group is handling this...

View Article


Hello, I want to read a value of the Windows Registry Database, and if the...

Hello, I want to read a value of the Windows Registry Database, and if the value matches my condition, i want the application monitor status to be up or down. How would I go about doing this?

View Article

Unable to get PS monitor to take arguments

I've a baby PS script (cut down from the existing time drift PS monitor) that I'm trying to get to take arguments from the powershell monitor.  Any help would be appreciated. The below code works fine...

View Article

Image may be NSFW.
Clik here to view.

Trend Micro OfficeScan monitor for Virus Pattern file out of date

We want to be able to monitor and alert on Trend Micro OfficeScan or Deep Security clients virus pattern files when they are older than a certain number of days. I see there's an old thread on someone...

View Article


Image may be NSFW.
Clik here to view.

How can I avoid "Can't identify dynamic column definitions from script...

Hello,could some one please explain what is wrong with the following perl script from orion's prespective? I appreciate your help!!!!******************************************#!/usr/bin/perluse...

View Article


File Monitor

Hello! I'm fairly new to scripting and was looking at setting up my first file monitor.  Basically we have a file that is put on a server every day.  If the file is not there by 12:30pm each day, we...

View Article

How to create a vbscript that runs a batch file on a remote server?

How to create a vbscript that runs a batch file on a remote server? I have a requirement to create a vbscript that runs a batch file (when triggered on a certain condition) on a remote server.I have...

View Article

acknowledged alerts report

Hi guys, As we all know that events are triggered as alerts and then alerts gets acknowledged/reset/deleted. I would like to learn more what exactly happens when an alert is acknowledged ? I believe it...

View Article

VBScript running from poller

At the recommendation of another user I am posting my scripting issue here.. I've created a vbscript monitor template that executes a sqlplus command on a remote windows server.Running the vbs script...

View Article


ConvertDate Function returns incorrect date

I wasn't really sure where the best place to put this was I figure since it's a script question I'd put it here, even though it's a script for a SAM monitor. What I'm using is this.-> SolarWinds...

View Article

Embedded Newlines in message strings

I have a very long message returned from a HP/UX script with embedded newlines, these newlines terminate the string so it becomes truncated, I can remove these at the script end and replace with a...

View Article


vbscript to use apm variable?

Hello, how or which variable do I use in a vbscript to specify the hostname of the server to be tested on? I have the APM template built up and works great except I don’t want to hardcode the hostnames...

View Article

SQL Query For VM/Physical in SAM

Need a SQL script that lists all servers in SAM, sorted by whether they're physical or VM, and creates a table with columns showing node name, IP address, and host (if VM). I don't need a count - I...

View Article


Image may be NSFW.
Clik here to view.

PowerShell Issue - SQL Job Monitor

So. Frustrated. (but I'm sure it's something small that I'm overlooking!) I have this code: Import-Module SQLPS 3>$null[System.Reflection.Assembly]::LoadFrom("C:\Program Files (x86)\Microsoft SQL...

View Article

DAG Failover monitor

Hi there, i was hoping someone could help me integrate a powershell script i have into SAM?  Basically, this script sits on my Exchange 2010 server, and runs every 15 minutes. it checks where each DB...

View Article

Simple Scripts Not Working

   Hi everyone! I have loaded up a test box and discovered it for NCM. I am now trying to run some test scripts to test things out but am having issues. I created a new script and copied all the info...

View Article
Browsing all 9937 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>