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

Exclude a content from Logfile Moitoring - Log Parser (PowerShell)

I need to monitor a logfile and find a string - if matches get an alert. However, I need to exclude 2 strings from the same. Is there a possibility that I can exclude a String from logfile monitoring -...

View Article


Can you use filter string to filter several OUs at same time to find locked...

I am not a scripter so I need to see an example of how you would modify this default filter line to query several different OU in a domain including child OUs.  The reason is to find out only specific...

View Article


Powershell and Named Pipes

This was done based on some posts related to getting data into SAM from external sources. For example when SAM itself cannot run code to get to the data. For a proof of concept create a Windows...

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

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


snmp scripting

I used to use Solarwinds when it was in its infant stages and it has come along ways. I am in need of a template to script two changes mainly:•    access-list 1 permit 0.0.0.0•    snmp-server host...

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

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


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


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

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

Script to change ROOT password on Juniper Devices

Is there a script that can be loaded into NCM to change a ROOT password on Juniper devices? J4350 x4500

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


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

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


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

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


File age monitor on ftp server

Good morning, I'm trying to build a file age monitor in PowerShell on an FTP server given a URL, login and password.Is that something I can do with SolarWinds?  If so, how?

View Article

Monitor Exchange Mailbox Items

I would like to monitor Exchange 2010 mailboxes for the # of emails thay have in their mailbox.  We POP emails out of these accounts so they should always be empty.  We would like to know when this...

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


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