Best Geek Movie Ever!
Funniest Superhero Death Ever!
Appinsight for IIS WSMAN Listener
I am having trouble getting AppInsight for IIS rolled out to some of my machines. I keep getting the following error.
Unable to create wsMan listener (Error code: 16024)
I found a thread from 2015 (powershell - Cannot launch winrm quickconfig on Windows 2003 R2 Server - Stack Overflow ) that included the SPNs, stopping the firewall, and updating the IP listener. All of which still fail.
) that mentioned updating the SPNs. I tried this, but am still having problems. I also went through all of the instructions in the Stackoverflow link (
When I run the winrm command directly instead of using the Configure Server, I get the following error.
The hash literal was incomplete.
At line:1 char:141
+ winrm create winrm/config/listener?Address=*+Transport=HTTPS @{Port="5986";CertificateThumbprint="8D1398ABF767278E7DA
3D89E2F7E56A590846937"; <<<< ?Hostname="IPAddress_Solarwinds_Zero_Configuration"}
+ CategoryInfo : ParserError: (CloseBraceToken:TokenId) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : IncompleteHashLiteral
Any ideas of other steps to try?
SNMP Trap Monitoring
Is there a way to configure an alert for SNMP traps? If there is, am I able to set the alert to look for specific output values/characters within the trap?
help me in sql query
please help me change below query for last 30 days. Below query gives me output for last 6 month.
DECLARE @StartDate DATETIME, @EndDate DATETIME
SET @StartDate = dateadd(mm, -6, getdate())
SET @StartDate = dateadd(dd, datepart(dd, getdate())*-1, @StartDate)
SET @EndDate = dateadd(mm, 6, @StartDate)
SELECT TOP 10000 CONVERT(DateTime,
LTRIM(MONTH(DateTime)) + '/01/' + LTRIM(YEAR(DateTime)),
101) AS SummaryMonth,
Nodes.Caption AS NodeName,
Nodes.IP_Address AS IP_Address,
AVG(DailyNodeAvailability.Availability) AS AVERAGE_of_Availability
FROM
Nodes INNER JOIN DailyNodeAvailability ON (Nodes.NodeID = DailyNodeAvailability.NodeID)
WHERE
( DateTime BETWEEN @startDate AND @EndDate )
AND (Nodes.unmanaged=0)
AND (Nodes.firewall=0)
AND CONVERT(varchar, DateTime,108) NOT BETWEEN '01:00:00' AND '03:00:00'
GROUP BY CONVERT(DateTime, LTRIM(MONTH(DateTime)) + '/01/' + LTRIM(YEAR(DateTime)), 101),
Nodes.Caption, Nodes.IP_Address
ORDER BY SummaryMonth ASC
Real-Time Process Explorer: "Value was either too large or too small for a UInt64."
When attempting to run a "Real-Time Process Explorer" on a CentOS 6.5 Linux node, getting:
An exception occurred during polling processes. Error:
Value was either too large or too small for a UInt64.
Process monitors otherwise seem to run fine on it.
Total processes:
$ ps -A --no-headers | wc -l
887
$ ps -AL --no-headers | wc -l
3008
Orion Platform 2016.1.5300, NPM 12.0, SAM 6.2.4.
The node has 192GB memory. SNMP - native to that OS, version 5.5.
Is this a large memory + SNMP related issue?
Not a lot of related threads on Thwack:
- fixed the issue in 2008
- A with SAM 5.0 RC2 in 2012, fixed in RC3
SAP Solution Manager conjuction to Solarwinds Orion
Hey Guys,
we use SAP Solution Manager for SAP Monitoring.
Now i have the challenge to connect the SAP Solution Manager with Solarwinds Dashboard and Alerting.
So if SAP have an Alert, Solarwinds should show this in the SAP Service View (Dashboard-Group) an send an email.
How do you connect SAP Solution Manager with Solarwinds Orion?
What is the best interface.
Thank you very much
Roga
Suggestions for advanced SNMP trap handling?
Folks,
We're configuring a teleconferencing center here, and we're planning to use Solarwinds to handle some or all of the hardware monitoring. Most of the hardware can raise alerts using SNMP traps. Obviously, Solarwinds can catch SNMP traps and take action. However, they're also asking if we can receive traps from one set of hardware, repackage the information in those traps, and then send that information to another SNMP trap receiver.
I know I could put together a combination of custom scripts and Solarwinds alerts to do this. What I'd really like,though, is a standalone trap handling "engine" in which I could build a workflow to catch and aggregate the information from incoming traps based on our rules, generate new traps with the information needed by the destination application, and send the new traps.
Is anyone doing this? What tools do you use?
Thanks!
-Martin
logging the result of a SAM process monitor snmp query
We're experiencing chronic intermittent alert flapping issues with SAM snmp-based process monitors on Linux managed nodes.
The problem will occur and the monitor will flap back and forth between up and down status for a variable amount of time (30 min - an hour) and then suddenly stop.
We have adjusted polling intervals, examined poller, primary, database and managed node resource utilization and set delays in alert action processing, but it still causes false alerts on a regular basis.
The problem primarily appears on RedHat Enterprise Linux servers of different OS and patch levels running the Net-SNMP agent (also at levels up to 5.7.2); especially on Oracle servers whree we're monitoring multiple iterations of the listener process and ora processes.
Perl-based script monitors setup on the same targets to monitor these same processes do not alert (since the processes are not really going down and the script monitor successfully retrieves & parses the PS table).
Debug does not seem to log the actual result of the SNMP Get_Table query, which would be nice to trap an examine for truncation or corruption of some sort.
Does anyone know how to enable logging either in the monitor or elsewhere in the product to record the SNMP process monitor query results?
Alert on Elapsed Time Since Up?
So I'm fairly new to working with Solarwinds, SAM & alerts, so please excuse any ignorance. I have a few HTTP(S) Monitor components that I recently noticed show NULL values for response time and have 1 day or more in the "Elapsed time since last up" field. The Solarwinds admins are looking for a root cause for me, but in the meantime I would like to alert on any component that has a long "time since up" value. When trying to design the alert I am only able to find "Last time up" which is looking for an exact date and time. Any idea how I can alert on the elapsed time instead? If the solution is with SQWL I will need a bit of guidance as I am really new to that. Thanks in advance for any suggestions!
Upgrading/Configuration Manager/Wizard Kills my system
Whenever I upgrade or run the configuration manager, all of my Discovery Scans break.
For example, I have 20 different discovery scans, for 20 different clouds/environments I'm managing. Because Im just one guy, I use the "Auto Import" feature to import the newly discovered scans. After running my upgrade and/or the configuratin manager the auto import settings (application templates check boxes, interface settings) go to default.
Under normal circumstances, this isnt a huge deal. However I have 20+ discovery scans, and because I cannot mass edit these scans, I have to go through...each...and....every...one to make the changes. Obviously if these scans are happening nightly, and I dont get to all of the changes directly after my upgrade, I now have 2000+ servers with the default app insight SQL, IIS templates and task manager settings assigned.
This is what the settings look like before the upgrade:
This is what the settings look like on ALL of my auto imports after an upgrade/config manager
Anyone who uses the Discovery scans, will know what the implications of this means, for nightly scans. It means thousands of servers now have the IIS, Exchange, and SQL server template assigned, but not configured or functional. And I have to go through and delete all of them manually, then go through and manually change all of the scans (because there is no multi edit in the scans section)
I have contacted support BEGGING for a work around for this, and every, single, one of them literally have NEVER seen this issue. I have already listed this on my list of feature requests located here: https://thwack.solarwinds.com/ideas/7630#comment-251718 and I think I have seen someone from customer experience respond, but that may have been a phishing attempt as I emailed her and nothing has returned.
Do you guys offer any work arounds? Please god say yes.
Monitoring and alerting on Exchange
Hi All,
Just wondered how people are monitoring and alerting on exchange, we recently had an issue on the box and SW didn't alert us to it as it couldn't send the email through
Ideas ?
thanks
Hans
Powershell script to unmanage multiple nodes in the SAM
Hi all, first post, yay!
Ok, so I am a Network Operations Engineer (sounds fancier than it really is lol) and we have Solarwinds NPM and SAM in our environment.
When we patch our servers (VMs via Shavlik) we have the "notify me when a server reboots" alert configured so that the team gets an email.
Prior to patching, which can sometimes involve over a 100 servers, we have to unmanage each server in the SAM because management does not want all the alert emails to be sent out.
Management also does not want us to "pause all alerts" prior to patching.
I did some quick research but I also wanted to post this question on here.
Is there a script or command that I can leverage to unmanage all the servers at once and then run the command with a different switch to remanage them once patching/rebooting is complete?
Thank you in advance for your help!
Monitor mail inbox and network share for missing stripped attachments
So here's what I'm trying to do: I have a mailbox that is monitored at the server level (Exchange 2010 + external app) for inbound attachments, which are then stripped and saved to a network share. I need a way to continuously compare the two and verify that no attachments are missed. Does something like this already exist? If not, is it something that I could be talked through creating?
Alerting Help: MACRO SQL ERROR - Incorrect syntax near...
This alert has been in place for years without issues; now all of sudden I'm getting MACRO SQL ERROR - Incorrect syntax near...
This the definition of the Alert Message:
ALERT: ${NodeName} ${SQL:Select Substring ('${Caption}',1,30) AS Caption} Volume is ${SQL:Select Round ('${VolumePercentUsed}',0) from Volumes WHERE VolumeID='${VolumeID}'}% Utilized
This is the output I started getting recently
ALERT: AAAA000 MACRO SQL ERROR - Incorrect syntax near '&'. Volume is MACRO SQL ERROR - Incorrect syntax near '&'.% Utilized
ClamWin Health Check
SAM Linux Command Script Reporting
I built a bash script for some of our Ubuntu servers to get the number of updates available and if the server needs a reboot. This way we can get them taken care of during maintenance windows without needing to log into them all and check for what is needed. The problem I have now is that I cannot figure out how to make a report for this. A web report would be great but I don't mind building something custom in SQL/SWQL if needed but I can't figure out what table keeps the data for me to reference.
This is the script I put together. It's pretty simple and less than perfect but it gets the job done.
#!/bin/bash
updates=$(cat /var/lib/update-notifier/updates-available)
echo $'Statistic.Updates: 1'
echo $'Message.Updates:' $updates
if [ -f /var/run/reboot-required ]; then echo $'Message.RestartCheck: ******Restart Required******';else echo $'Message.RestartCheck: No Restart Needed'; fi
if [ -f /var/run/reboot-required ]; then echo $'Statistic.RestartCheck: 1';else echo $'Statistic.RestartCheck: 0';fi
The app recognizes the outputs and displays the data in the web UI and even tracks the changes so I would have to think that its stored somewhere.
Anyone have any ideas?
Thank you,
Brandon
After upgrading from 11.5.3...
SAM executive summary report
Has anyone created a executive summary report in SAM?
I need to show the availability of several systems with more slash then the group availability report
Report to show servers currently alerting
Has anyone created or know how to create a report that shows my servers that configured to send alerts? Thanks in advance!