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

Perl Script output formatting

Currently need some assistance with a perl script i am writing.  I will state first thhat this is my first script and i have absolutely no idea what i'm doing here. Back story I have an XML that im...

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


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

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

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


Alerts using scripts

Hi Can someone help me in using VB scrips or batch files. Our alerts are based on one smart alert which alerts custom filed that we have created, Please see atachmetn on current alert. What we 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

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


Problem with VB script to return number of files older than X

I have the following script that I found that will check a directory for files that are older than 1 hour and return the number and file names. The script is working great but I need to add logic for...

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

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

PGP Certificate expiration monitoring

Hi All Has anyone had any experience of monitoring multiple PGP certs on a  LINUX server using SAM?I have to do this and I have had a browse through Thwack, but couldn't find anything.  Chatting with...

View Article

Powershell monitor for changes to Active Directory protected objects (domain...

Here's a real quick powershell monitor to check for changes to your Active Directory protected objects   It takes every item where the attribute 'admincount' has been set to '1' and compares it's...

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

I need to modify the PowerShell Log monitor script to search for error, but...

I am unable to add any exclusions with the built in PowerShell Log monitor.  Can I get a modified script to check for the word error in a log file, but exclude any line that has the following text...

View Article


BizTalk 2013 SQL Query Output

I am attempting to monitor the orchestration count from my BizTalk Server using a SQL Query in Solarwinds. I am using the following SQL Query: SET NOCOUNT ONSET TRANSACTION ISOLATION LEVEL READ...

View Article

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


3Com 4400 script

Newbie here, looking to script changes to create logging for syslog on menu driven 3Com 4400s. Commands are as follows when using menus from login: sysmanlog 'The script gets messy as the inputs do not...

View Article

Alert and Acknowledgement Report

I'm trying to create a SQL Query that over a period of a month will give me the amount of alerts and the number of alerts that were acknowledged.  I would like also to break these numbers down into...

View Article

Correct Order of Script to search specific OU(s) for locked out users and not...

Seems script for ADLockout only works if I have one line of string:  It will work for onlty the last line of this "ou=IT people,ou=users,ou=site" I want it to look thru all the strings of OU's.  Do I...

View Article
Browsing all 9937 articles
Browse latest View live


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