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

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


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


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

Run php script in SAM

I have a very simply script which does nothing more than tests the connection to the database from our webserver. The script is as follows :  <?phperror_reporting(0);   $host        =...

View Article

Netapp Powershell monitoring

I've installed the netapp powershell commands on the Orion server.  The Netapp toolkit can be found here https://communities.netapp.com/docs/DOC-6138.  I'm able to run the script below in a powershell...

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

How can I have PowerShell talk to SAM and CMDB

     I have a powershell script that talks to SAM at the backend, which then talks to CMDB. PS calls SAM.exe then "Unmanage" a CI from CMDB.      # Unamanage CI in CMDB      c:\SAM\SAM.exe /BATCH /h...

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


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


Joining APM tables

Has anyone figured out the schema to connect APM thresholds to the assigned application monitors, or the application monitor templates?...

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

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

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


Looking for a powershell script to monitor if the exchange store is mounted.

I just wondering if any of you have written a script in powershell that would allow me to monitor if the store is mounted.  Occasionally after reboots the store has not been mounted which causes some...

View Article

Problem with APM template for locked out user account

I'm having an issue with the Shared APM template for AD account lock outs.  I'm specifically speaking about the one that Peter.Cooper posted in December of 2009.  It seems to work just fine, but it...

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

SQL Version Information Stored Procedure

I am creating a stored procedure to iterate all servers linked to the current server and grab the version information as pulled from the remote server.  This method is probably not the most efficient...

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

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

Restart Scheduled Task?

I need to be able to run a script via an alert action that will restart a scheduled task on a remote server when it fails to run correctly.  I am already monitoring the tasks and have the alert built,...

View Article
Browsing all 9937 articles
Browse latest View live


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