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

File lock monitor?

Is there a simple way to monitor file locks in Solarwinds?I'm looking to get the number of file locks on files in a specified folder, and if I can the name of the file and the user(s) on it.

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

Image may be NSFW.
Clik here to view.

Can you bypass the initial script in a custom SQL/SWQL query when creating an...

I am trying to create a custom alert built around a database query that uses 3 custom pollers. A couple of the pollers stores the results in the same table and column so alias are used.The query pulls...

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


Need a script

Need to write script to set a static route on 130 routers at remote locations.  The third octet will be different on each router.  I am not sure how to write this, or if I can even use variables in...

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

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


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 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

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

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

How do I see the statistical values I'm returning from a script?

I have a Powershell script that searches through log files and counts instances of certain words. I would like to know how I can use that value to make a visual representation of the returned values....

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


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

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


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

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

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>