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

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


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


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

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

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


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

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

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


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


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

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

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

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


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

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


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

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


Shutdown Unused Ports

Need a script that will let me select a switch in my network and based on the time that I give it will see if the port has been active. Then if it passes with no activity will do a "shut" on that port.

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

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


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