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

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


Sql query to extract raw metrics from application / components

I have a request to produce from solarwinds the application / components configured in SolarWinds database.   I know there is report writer and accordding to my architect he wants the same raw data...

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

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

Image may be NSFW.
Clik here to view.

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


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

I need to modify the PowerShell Log monitor script to search for error, but...

I am unable to add any exclusions with the built in PowerShell Log monitor.  Can I get a modified script to check for the word error in a log file, but exclude any line that has the following text...

View Article

Image may be NSFW.
Clik here to view.

SQL Query For VM/Physical in SAM

Need a SQL script that lists all servers in SAM, sorted by whether they're physical or VM, and creates a table with columns showing node name, IP address, and host (if VM). I don't need a count - I...

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


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

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

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

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


Image may be NSFW.
Clik here to view.

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

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


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

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


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 Query For VM/Physical in SAM

Need a SQL script that lists all servers in SAM, sorted by whether they're physical or VM, and creates a table with columns showing node name, IP address, and host (if VM). I don't need a count - I...

View Article

3Com 4400 script

Newbie here, looking to script changes to create logging for syslog on menu driven 3Com 4400s. Commands are as follows when using menus from login: sysmanlog 'The script gets messy as the inputs do not...

View Article
Browsing all 9937 articles
Browse latest View live


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