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 ArticlePowershell monitor for changes to Active Directory protected objects (domain...
Here's a real quick powershell monitor to check for changes to your Active Directory protected objects It takes every item where the attribute 'admincount' has been set to '1' and compares it's...
View ArticlePowershell 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 ArticleMonitor Exchange Mailbox Items
I would like to monitor Exchange 2010 mailboxes for the # of emails thay have in their mailbox. We POP emails out of these accounts so they should always be empty. We would like to know when this...
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 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 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 ArticlePowershell Authentication Help Post Server 2012 R2 Upgrade
Hello, We've recently upgraded our VMWare vCenter server from 2008 R2 to 2012 R2 and upgraded vCenter from 5.0.0 to 5.5.0. Since then our SAM PS script that checks for snapshots (below) is failing...
View ArticleVBScript 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 ArticlePGP 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 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 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 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 ArticleAlert Execute Program Trigger Action
Hello everyone, I am trying to execute a powershell script as a trigger action. In my file path I have \\servername\C$\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe -executionpolicy...
View ArticleHow do I see the statistical values I'm returning from a script?
I have a Powershell script that searches through log files and counts instances of certain words. I would like to know how I can use that value to make a visual representation of the returned values....
View ArticleConfig-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 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 ArticleSQL 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 ArticleNeed help to build powershell scripts for few tasks
Since there are huge number of systems to be added to Solarwinds i need help to simplify my tasks. Basically the network has more no of IP enabled devices but we are looking for only 4-5 devices from...
View ArticleMonitor Oracle listener on Windows server with Windows Script Monitor
I need some logic on monitoring a Oracle listener (name: TNSListenerGW) in a Windows Script Monitor , can anyone help ? (I am a unix guy)
View Article