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

Config-Archive cleanup/purge

Does anyone have a script, perl, batch or anything, that will clean up the file/folder structure automatically? I am on 6.1 currently so not sure if this much asked for request made it to v7.

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


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

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.

Log Parser Pseudocode help

Hello all,I was wondering if some people could help me think through different approaches this can be done in SAM.  Scenario:  I have a an app that is deployed throughout my environment. I want to...

View Article


Powershell file size monitors

This is probably an easy one, I just admittedly don't know the first thing about PowerShell but I need to get some monitors built. I've got some commands that do something close to what I want but I...

View Article

Need a PowerShell Script to Monitor XenApp "LoginsEnabled"

A few weeks ago I made a post in the SAM forum about the need to monitor XenApp LoginsEnabled through PowerShell. See Citrix XenApp 6.5 - Need to monitor "LoginsEnabled". aLTeReGo suggested I try the...

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


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


Monitor Oracle listener on Windows server with Windows Script Monitor

I need some logic on monitoring a Oracle listener  (name: TNSListenerGW)  in a Windows Script Monitor , can anyone help ? (I am a unix guy)

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

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.

Scripting a file count

Hello all, I'm rather knew to scripting and found this script here on thwack. I have been able to run this script from my Orion server but not through solarwinds as part of a template and am hoping you...

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

Help needed with modifying PS script for folder age for SAM 6.2

I have the following requirements for a monitor If there are any files that exist in this location that end in "_N", with a "Date Modified" > 1 day (or 24 hours) beyond the current date, send a...

View Article


Get first line of log file

Instead of searching a string in a file (SAM component monitor - number of strings found) I need only to get the first lind of a file on linux. Is there someone who could help me?

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


Powershell file size monitors

This is probably an easy one, I just admittedly don't know the first thing about PowerShell but I need to get some monitors built. I've got some commands that do something close to what I want but I...

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

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
Browsing all 9937 articles
Browse latest View live


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