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

Image may be NSFW.
Clik here to view.

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


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


PowerShell script won't return results

I'm trying to get a count of files in a directory that are over 30 minutes old.  Unfortunately, when I test the script output I just sit and wait on an indefinitely spinning wheel--not even an error or...

View Article

Monitoring SCCM Update Deployment Help Requested

I am trying to setup a apm template to monitor som aspects of SCCM update deployments to servers. the one part i need help on is formatting the pending update returned values. The PS string to return...

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


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

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

Memcache on Windows Server

There is currently a monitor for Memcache on Linux. Do you have any suggestions on how to convert that script for  use on a windows server?

View Article


Executing a VB script on a menu based switch

I had posted in a different thread that I was looking to script changes to a 3Com 4400 for syslog. As those switches are menu based, when 'executing script' the commands were not waiting for the menu...

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

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

Hello, I want to read a value of the Windows Registry Database, and if the...

Hello, I want to read a value of the Windows Registry Database, and if the value matches my condition, i want the application monitor status to be up or down. How would I go about doing this?

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


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

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


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

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


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

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

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


Latest Images

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