Hello all,
The newbie needs help.
How does one put a link into maintenance mode? Do you just unmanage it and perhaps change the color?
That's the inherent method for SolarWinds. Just Unmanage the link and all alerting AND data collection will stop during the duration of the unmanaged time you'll set up.
That will be the way we do it.
Many thanks.
Also, there is a scheduled un-manage via the start menu on the solarwinds server. this allows you to un-manage nodes,interfaces,applicatioons and components. It uses the windows scheduler to un-manage the items, and you set the duration via the un-manage system.
There are a few gotcha's with this but its pretty straight forward,
Is there any way to do this via PowerShell and the SDK?
I would be extremely interested in this, we want to not be alerted when our servers are in a maintenance window, so basically want to take them out of monitoring for a few hours a month. Automatically. We're trying to do it in a really super convoluted way and it's not working very well.
We unmanage over time based on another query by generating xml and then using the command line to run the following batch or CMD
echo off
cd /d C:\
cd "C:\Program Files (x86)\SolarWinds\Orion\UnmanageUtility\Jobs\Runner"
start /b /wait /min UnmanageRunner.exe "[My generated].xml"
exit %ERRORLEVEL%
Where
[My generated].xml contains the unmanage Utility XML format for parts I need ..... here is an example for Unmanaging a Node for 1 day 0 hours and 15 minutes
<?xml version="1.0"?>
<Job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SwisConnectInfo Server="MySolarwindsServer" ServerType="Orion" UserName="MySolarwindsAccount" Password="MyEncryptedPassword" />
<Version>1.0</Version>
<Duration>1.00:05</Duration>
<Items>
<Nodes>
<JobItemNode ID="294" Duration="1.00:15" Node="MyNodeName" IP_Address="nnn.nnn.nnn.nnn" Caption="MyNode Caption" /> </Nodes>
<Interfaces />
<Applications />
<Containers />
I guess all of this can be build in whatever scripting language you prefer. I just then run the batch