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 ArticleI 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 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 ArticleSQL or VIEW to select group-members
Hi, can someone point me to a sql statment that generates a list of nodes which a member of a certain group?@SW Team: For future use it might be good to have some views (i.e. one per objecttype) with...
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 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 ArticleRun 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 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 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 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 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 ArticleNetapp 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 ArticlePowerShell 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 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 ArticleAssistance with Report Script
I currently have a report that is based on the events table. However, I need to add via join the ability to filter based on the interfaces table. Can anyone help? Thank you Here is the original report...
View ArticleNpm /sam database and Sql familizaiton
I need advice on the best approach to figure out first the database tables , and the way data is used (i.e Average Response time) , I know some sql and have been creating some reporting and alerting...
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 ArticleProblem 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 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 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 Article