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

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


SQL Help needed

I created the follow code on my NPM home page to show servers that 95% or of their hard drive full that pulls its info for an alert called Server Volume 95% Trigger and it produces a good graph. but I...

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

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

SQL Question

I'm trying to edit the existing 95th percentile report to only include certain interfaces that all contain specific text in the caption.  I have little experience with SQL and have been trying to find...

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

vbscript to use apm variable?

Hello, how or which variable do I use in a vbscript to specify the hostname of the server to be tested on? I have the APM template built up and works great except I don’t want to hardcode the hostnames...

View Article

any ideas on a PERL script to watch a log file that changes name via datestamp?

I have a log file I must watch for some specific text.  It is running on an AIX system.  The log file changes names with every application restart, and that can be multiple times per day....  How can I...

View Article


SQL Help needed

I created the follow code on my NPM home page to show servers that 95% or of their hard drive full that pulls its info for an alert called Server Volume 95% Trigger and it produces a good graph. but I...

View Article


Npm /sam database and Sql familizaiton

I need advice on the best approach to figure out first the database tables ,  and the way data is used (i.e  Average Response time)  , I know some sql and have been creating some reporting and alerting...

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

Perl Script output formatting

Currently need some assistance with a perl script i am writing.  I will state first thhat this is my first script and i have absolutely no idea what i'm doing here. Back story I have an XML that im...

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


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

Image may be NSFW.
Clik here to view.

Script for Garrettcom make Switches

Hi, I have 20 garrettcom make switches, model is 6kq, In these switches space for logs is very low and logs in the switches are generating continuously. After Some days Switches are getting hanged due...

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

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


Help on Alert for an "Active/Passive" Pair of Servers

I'm pretty darn good with NPM and SAM.  I've even gotten really (really) creative over the years is running 64-bit PowerShell scripts by wrapping them in a 32-bit vbScript.  Needless to say, I'm pretty...

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

Image may be NSFW.
Clik here to view.

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