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

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


Get first line of log file

Instead of searching a string in a file (SAM component monitor - number of strings found) I need only to get the first lind of a file on linux. Is there someone who could help me?

View Article


Image may be NSFW.
Clik here to view.

Get first line of log file

Instead of searching a string in a file (SAM component monitor - number of strings found) I need only to get the first lind of a file on linux. Is there someone who could help me?

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

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


Linux/Unix Script Monitor - Can't Get Script OutPut

Hi, I am trying to add a new Linux/Unix Script Monitor but I cannot get script output: "Output result" stays at "Loading, Please Wait ..." for ever. How can I debug that ? It is strange because Linux...

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

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


File lock monitor?

Is there a simple way to monitor file locks in Solarwinds?I'm looking to get the number of file locks on files in a specified folder, and if I can the name of the file and the user(s) on 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

Powershell and Named Pipes

This was done based on some posts related to getting data into SAM from external sources. For example when SAM itself cannot run code to get to the data. For a proof of concept create a Windows...

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

create a node in SAM datatabase getting the data from out cmdb via Automation...

Need guidance on how to create a node in SAM datatabase getting the data from out cmdb via Automation ... help ? I have been tasked to Automate in getting new nodes and removal of nodes from out CMDB...

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


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

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


BizTalk 2013 SQL Query Output

I am attempting to monitor the orchestration count from my BizTalk Server using a SQL Query in Solarwinds. I am using the following SQL Query: SET NOCOUNT ONSET TRANSACTION ISOLATION LEVEL READ...

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

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


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