Exclude a content from Logfile Moitoring - Log Parser (PowerShell)
I need to monitor a logfile and find a string - if matches get an alert. However, I need to exclude 2 strings from the same. Is there a possibility that I can exclude a String from logfile monitoring -...
View ArticleFile Existence Monitor on AIX with a variable. HELP?
I'm struggling a bit with this and am wondering if it's even possible. Is there a template or has anyone has success with an application on an AIX machine for a file existence monitor that has a...
View ArticleHelp 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 ArticleHow 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 Articlecan I modify the linux helper scripts
I have a requirement to log into some HP/UX boxes via Telnet to run some perl commands, can I modify the LinuxScriptHelper to log into a menu before it starts to run an application monitor component?...
View ArticleDAG 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 ArticleSimple 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 ArticleTrend 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 ArticleIIS 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 ArticlePowershell 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 ArticleConvertDate 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 ArticleHow 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 ArticleUnable to get PS monitor to take arguments
I've a baby PS script (cut down from the existing time drift PS monitor) that I'm trying to get to take arguments from the powershell monitor. Any help would be appreciated. The below code works fine...
View ArticlePowerShell Issue - SQL Job Monitor
So. Frustrated. (but I'm sure it's something small that I'm overlooking!) I have this code: Import-Module SQLPS 3>$null[System.Reflection.Assembly]::LoadFrom("C:\Program Files (x86)\Microsoft SQL...
View ArticlePowershell 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 ArticleGet 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 ArticleEmbedded Newlines in message strings
I have a very long message returned from a HP/UX script with embedded newlines, these newlines terminate the string so it becomes truncated, I can remove these at the script end and replace with a...
View ArticleScript to find two active instances of a process
We have a third party application that will for an unknown condition spawn a second occurrence of it self. This causes a problem for user transactions.Does anyone have a script that will detect that...
View ArticlePowershell script to Unmanage and Remanage nodes (100-150) by node name
I need a PowerShell script to Unmanage and Remanage Production Servers (100-150) by node name in Solarwinds. Please assist as I am new to PowerShell and programming
View ArticlePowershell Monitor not going past Initial Poll
I have a pretty simple Powershell script that isn't going past the initial poll but it tests out sucessfully, what could be the problem? Monitor:$WarningPreference = "SilentlyContinue"$StrKey =...
View Article