One of my misconceptions about the Microsoft virtualization options was that if I wanted to have access to server management tools, I would need to run “regular” (paid) Window Server 2008 so I could install those tools, then enable the Hyper-V role for the virtual clients. It turns out that that is not the case.
I've installed the Open Manage Server Administrator on my Dell T100 to monitor RAID Controller and disks. From the Physical Controller report web page I see a table listing the two disks I have but. How to install OpenManage Server Administrator (OMSA) on Windows. OpenManage Server Administrator. Dell OpenManage Server Administrator (OMSA) provides a comprehensive, one-to-one systems management solution. Download OMSA. Installing OMSA. Log in OpenManage Server Administrator.
My test machine is a Dell PowerEdge 2900. I was able to install and access OpenManage on Hyper-V Server 2008 R2 as follows:
1. Download the latest Dell Systems Management Tools and Documentation DVD. I found version 6.1.0 A00 here. Note that this is actually two downloads that must be concatenated before burning the DVD–see the Installation Instructions on the download page.
2. Follow Dell’s article, “Installing Dell OpenManage Software On Microsoft Windows Server 2008 Core and Microsoft Hyper-V Server.” Only install the Managed System Software, not the Management Station Software.
First run the prerequisite checker by running these commands at the command prompt (assuming the DVD is in drive E):
E:cd SYSMGMTsrvadminwindowsprereqcheckerrunprereqchecks.exe /s
Update 10/12/2010: Path corrected–thanks to comment from Ian N.
The instructions for the prerequisite checker tell you to take certain actions depending on the return code. Use this command to view the return code:
echo Return Code = %ERRORLEVEL%
My Return Code was -2, which, according to this article, means “The operating system is not supported. The Prerequisite Checker will not run.” My hunch is that this is because the software has not been updated to recognize the R2 version of Server 2008. I went ahead and ran the installer anyway:
cd SYSMGMTsrvadminwindowsSystemsManagementmsiexec /i SysMgmt.msi
After agreeing to continue without having run the prerequisite checker, the installation completed successfully.
3. Open the firewall for the OpenManage web interface default port 1311:
netsh advfirewall firewall add rule name='Dell OpenManage Server Administrator Web GUI' dir=in action=allow protocol=TCP localport=1311
NoteKnowledgebase article 947709 is helpful on the netsh commands. However, do not just cut and paste its examples: as of this writing, the quotation marks are all formatted as closing quotation marks (”), so the commands will fail. Replace those quotation marks with standard “vertical” quotation marks (“).
4. From another computer, open a browser and type in the following URL (be sure to get the “s” on the https):
https://[computer name or IP address]:1311
After adding the required security exception in your browser (due to the self-signed web server certificate), you should now see the familiar Server Administrator web interface:
There are other advantages to using the full version of Windows Server 2008 R2 as the host OS, but Dell OpenManage is available even from the free Hyper-V Server 2008 R2.
This How-To describes how to setup E-mail alerts in Dell's OpenManage Server Administrator using PowerShell and the OpenManage Application.
I've updated the script a little bit, including some cleanup!
Only tested with x64 (Server 2016) as I have no x32 to test with anymore.
If you have not installed Dell OpenManage Server Administrator, you can download it from Dell's Website (http://www.dell.com/support/contents/us/en/19/article/Product-Support/Self-support-Knowledgebase/enterprise-resource-center/SystemsManagement/OMSA)
You must run one of the following two commands in PowerShell or the script will not be permitted to run 'remotely'.
Set-ExecutionPolicy RemoteSigned
or
Set-ExecutionPolicy Unrestricted

Download the OMAlert PowerShell script and save it to a location on your server. (Make sure to save it as a PowerShell .ps1 file)
Alter the Email fields in the OMAlert.ps1 file to suit your needs. Make sure use an actual account as this will authenticate against the Gmail servers.
Alter the 'ScriptPath' variable to the path where your saved OMAlert.ps1 script file.
Open a PowerShell Window to the location of your saved script. Run the following command to configure your alerts:'OMAlert.ps1 -configure' This could take about a minute and will set the options in the Dell OpenManage utility.
To test script, you can either unplug a redundant power supply, or change the temperature warning threshold (just make sure to change it back).
You should get an e-mail to whatever addresses you added on the EmailTo line as well as it showing up in the Sent Mail folder of the Specified SMTPClient.
That's it! Hopefully this saves some people some time and effort!
Note*** Rerun the script manually using the '.OMAlert.ps1 -configure' if you change any of the $Body section of the script.
Nicely done! OMSA alerts was in need of some updating.
I can't get this to work for some reason. I also use gmail but I am unable to receive any email alert. I changed the minimum temperature from 3C to 26C, which is a bit high than the current temperature. How long does it take to send the alert? Do I need some other prerequisite in order to make this work? I am on WS2012R2.
Hi Dan,
Alerts should be sent pretty quick.. Usually within a couple of seconds. Did you run the script manually first with the -configure option?
Getting this error on one of my servers. Running WIndows 2008 R2 Standard.
'Ampersand not allowed. The & operator is reserved for future use
At C:OpenManageSMTP-DELL.ps1:23 char:31'
Any Ideas?
Here is my powershell version info
Name Value
---- -----
CLRVersion 2.0.50727.5420
BuildVersion 6.1.7601.17514
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.1
Note: Didnt have this issue with any of my 2012 servers. May be an 2008 server issue
I'm not 100% certain on that.. Like you said it could be a 2008 issue. I've only used it on 2012 / 2012R2 / 2016.
some might find that the script wont run without adding './' in front of the script - './OMAlert.ps1 -configure'
that was an issue for me anyway
Kioti ck25 tractor manual pdf. Kioti ck25 ck30 ck35 tractor owner user operator manual ☼ DAEDONG DK-Series Tractor DK65 DK75 DK80 DK90 SERVICE MANUAL DOWNLOAD PDF MANUAL NOW KIOTI DAEDONG CK25 CK30 CK35 TRACTOR WORKSHOP MANUAL. This Kioti CK25 Tractor Service Manual is the same service manual used by professional tractor technicians. If we can provide additional assistance of any kind please feel free to contact us and tell us what you need. This Factory Service Repair Manual offers all the service and repair information about Kioti Daedong CK25 CK27 CK30 CK35 CK25H CK27H CK30H CK35H Tractors. The information on this manual covered everything you need to know when you want to repair or service Kioti Daedong CK25 CK27 CK30 CK35 CK25H CK27H CK30H CK35H Tractors.
This script is great and it works great when I run what it puts under 'Execute application:' manually. However, when I trigger an alert nothing happens.
For instance, when I win+R this: powershell C:ScriptsOMAlert.ps1 'Temperature Warning' , which is what I have the script set to add to openmanage, all is well and I receive an email.
However, when I set the temperature threshold below current, I get an alert in OpenManage.. but no email.
Any ideas?
Did you run C:ScriptsOMAlert.ps1 -configure ?
That part is what puts the commands into OpenManage.
Yeah I did, and the alerts were properly configured in OpenManage. I solved the issue - my OpenManage was outdated and actually a 32-bit version for some reason (on a 64-bit machine).
Updated to latest 64-bit version and all is well!
I replaced some things with variables in your script - you no longer have to even set the path of the script itself - it gets where it's located from the file itself.
#begin PS script
### You must run 'Set-ExecutionPolicy RemoteSigned' or 'Set-ExecutionPolicy Unrestricted' on the server first, or the script will not run automatically. ###
### For Dell OpenManage Administrator use, run the script manually once with the -configure option to set the script in the OpenManage application. Example: 'OMAlert.ps1 -configure' ###
### Rerun the script manually if you change any of the information in the Body section. ###
### To test script, you can either pull a redundant power supply, or change the temperature warning (just make sure to change it back). ###
### Source: http://lemonfilling.com/Tech/omalert.html ###
### Source: http://stackoverflow.com/questions/29029364/sending-email-with-gmail-using-powershell ###
param ([switch]$configure)
$SysManagerPath = 'c:program filesdellsysmgtomabinomconfig.exe'
$Date = Get-Date
$Server = gc env:computername
$EmailFrom = 'ActualAccount@yourdomain.com'
$EmailTo = 'Email1@yourdomain.com,Email2@yourdomain.com,Email3@yourdomain.com'
$Subject = 'Hardware Alert from $Server $Date'
$SMTPServer = 'smtp.gmail.com'
$SMTPClient = New-Object Net.Mail.SmtpClient($SmtpServer, 587)
$SMTPClient.EnableSsl = $true
$SMTPClient.Credentials = New-Object System.Net.NetworkCredential('ActualAccount@yourdomain.com', 'PASSWORD')
$Body=$args[0]
# Sets the script path to where this file is stored now
if ($PSVersionTable.PSVersion.Major -gt 2){
$ScriptPath = $PSCommandPath
}
else{
$ScriptPath = split-path -parent $MyInvocation.MyCommand.Definition
}
if ($configure -eq $true)
{
` & $SysManagerPath system alertaction event=powersupply execappath='powershell $ScriptPath 'Power Supply Failure'
& $SysManagerPath system alertaction event=powersupplywarn execappath='powershell $ScriptPath 'Power Supply Warning'
& $SysManagerPath system alertaction event=tempwarn execappath='powershell $ScriptPath 'Temperature Warning'
& $SysManagerPath system alertaction event=tempfail execappath='powershell $ScriptPath 'Temperature Failure'
& $SysManagerPath system alertaction event=fanwarn execappath='powershell $ScriptPath 'Fan Warning'
& $SysManagerPath system alertaction event=fanfail execappath='powershell $ScriptPath 'Fan Failure'
& $SysManagerPath system alertaction event=voltwarn execappath='powershell $ScriptPath 'Voltage Warning'
& $SysManagerPath system alertaction event=voltfail execappath='powershell $ScriptPath 'Voltage Failure'
& $SysManagerPath system alertaction event=intrusion execappath='powershell $ScriptPath 'Chassis Intrusion Detected'
& $SysManagerPath system alertaction event=redundegrad execappath='powershell $ScriptPath 'System Redundancy Degraded'
& $SysManagerPath system alertaction event=redunlost execappath='powershell $ScriptPath 'System Redundancy Lost'
& $SysManagerPath system alertaction event=memprefail execappath='powershell $ScriptPath 'Memory Pre-Fail'
& $SysManagerPath system alertaction event=memfail execappath='powershell $ScriptPath 'Memory Failure'
& $SysManagerPath system alertaction event=processorwarn execappath='powershell $ScriptPath 'Processor Warning'
& $SysManagerPath system alertaction event=processorfail execappath='powershell $ScriptPath 'Processor Failure'
& $SysManagerPath system alertaction event=watchdogasr execappath='powershell $ScriptPath 'Automatic System Recovery'
& $SysManagerPath system alertaction event=batterywarn execappath='powershell $ScriptPath 'Battery Warning'
& $SysManagerPath system alertaction event=batteryfail execappath='powershell $ScriptPath 'Battery Failure'
& $SysManagerPath system alertaction event=systempowerwarn execappath='powershell $ScriptPath 'System Power Warning'
& $SysManagerPath system alertaction event=systempowerfail execappath='powershell $ScriptPath 'System Power Failure'
& $SysManagerPath system alertaction event=systempeakpower execappath='powershell $ScriptPath 'System Power'
& $SysManagerPath system alertaction event=storagesyswarn execappath='powershell $ScriptPath 'Storage Warning'
& $SysManagerPath system alertaction event=storagesysfail execappath='powershell $ScriptPath 'Storage Failure'
& $SysManagerPath system alertaction event=storagectrlwarn execappath='powershell $ScriptPath 'Storage Controller Warning'
& $SysManagerPath system alertaction event=storagectrlfail execappath='powershell $ScriptPath 'Storage Controller Failure'
& $SysManagerPath system alertaction event=pdiskwarn execappath='powershell $ScriptPath 'Physical Disk Warning'
& $SysManagerPath system alertaction event=pdiskfail execappath='powershell $ScriptPath 'Physical Disk Failure'
& $SysManagerPath system alertaction event=vdiskwarn execappath='powershell $ScriptPath 'Virtual Disk Warning'
& $SysManagerPath system alertaction event=vdiskfail execappath='powershell $ScriptPath 'Virtual Disk Failure'
& $SysManagerPath system alertaction event=enclosurewarn execappath='powershell $ScriptPath 'System Enclosure Warning'
& $SysManagerPath system alertaction event=enclosurefail execappath='powershell $ScriptPath 'System Enclosure Failure'
& $SysManagerPath system alertaction event=storagectrlbatterywarn execappath='powershell $ScriptPath 'RAID Battery Warning'
& $SysManagerPath system alertaction event=storagectrlbatteryfail execappath='powershell $ScriptPath 'RAID Battery'
}
else{
$SMTPClient.Send($EmailFrom, $EmailTo, $Subject, $Body)
}
#end PS script
Out of interest why does Dell OpenManage server admin have an email setup section in the preferences if it does not support sending emails itself. I just tested and it does send me an email test, although I have no way of testing if it emails me when something fail.
Sam, that's the question I've been asking myself for years! I usually test by setting the temperature threshold to something really low.
Excellent script and simple to implement on Server 2012.. However I, like others, encountered problems getting it to work on earlier server versions (with 32-bit OMSA install, PowerShell 2.0 etc).
For those that are still interested, the following slight changes were needed and it now works (for me at least!) on an old SBS 2008 so should be the same on a basic Server 2008, and I imagine Server 2008 R2 (SBS 2011).
* To negate the 'Ampersand not allowed' error, the beginning of the first line of the if statement needs to change to: if ($configure -eq $true) {& 'c:program files (x86)dellsysmgtomabinomconfig.exe' system alertaction event=powersupply execappath=.. [note the subtle change here from the original is the removal of the single quote and space from the beginning of the first ampersand].
* In addition, if you are using the 32-bit version of OMSA (as above), then the script needs to use 32-bit PowerShell, so the execpath= entry for each alert should not simply call powershell, you need the full path to the 32-bit version, C:Windowssyswow64WindowsPowerShellv1.0powershell.exe, and then pass the path to your script etc as in the original.
* Finally, as you are now using 32-bit Powershell you need to make sure the the Set-ExecutionPolicy cmdlet has been run within that environment (in other words, run Windows PowerShell (x86) and apply the requisite cmdlet as dictated by the script/your policies).
Hope this helps someone, I'll try and find a Server 2008 R2 system to apply it to and advise of any further tweaks!
using your script and configured it on windows server 2012 R2 with Dell EMC OpenManage Systems Management Software (64-Bit) Version 9.1.0.
when i run manually D:ScriptsOMAlert.ps1 it just generate blank email with server name date and time and no text in body,
if i run powershell D:ScriptsOMAlert.ps1 'Temperature Warning' via cmd than it generate email with message body containing Temperature Warning text in it.
unable to figure out the issue..
Worked great for me. Couple of pointers.
The server variable should be configured with a value of 'computername' , no quotes. '$Server = gc env:computername'
If your SMTP server is Exchange, for the SMTP credentials you may need to use the format domainusername for the first part.
The script should be saved to the following location: C:ScriptsDellSMTPNotifyomalert.ps1. Otherwise you have to modify the path in the script to whichever path you used.
Rather than pulling a power supply cable to test whether your email config works properly, simply enter the command in PowerShell with the alert appended: Example:
PS C:ScriptsDellOMSA>.OMAlert.ps1 'Power Supply Failure'
This should generate an alert that should be received by the mailbox or group in your email to field.