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

Migrating perl scripts to NCM. . . . .

Hello everyone. We have recently purchased NCM and are working to migrate our "old" perl scripts into NCM. What do you think would be the best way to accomplish this?  Thanks,K

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


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

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

Image may be NSFW.
Clik here to view.

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


Powershell Authentication Help Post Server 2012 R2 Upgrade

Hello, We've recently upgraded our VMWare vCenter server from 2008 R2 to 2012 R2 and upgraded vCenter from 5.0.0 to 5.5.0.  Since then our SAM PS script that checks for snapshots (below) is failing...

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

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


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


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

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

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

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


Image may be NSFW.
Clik here to view.

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.

Automated and dynamic application of SAM templates, specifically linux disk...

I asked this question in the SAM forum and was directed here by alterego as you guru's may be able to point me in the right direction. This question is Not Answered.   65pony Oct 29, 2014 9:51 AM    We...

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

SQL script

hello- first time using solarwinds SAM and running into problem with creating alerts for my SQL server to get notification regarding problems with sql databases, sql backups,etc. the alerts comes...

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

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

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


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