StdOut in the alert description
Hi!
Does anyone know if it's possible to have just the value of the StdOut property in the alert description without values for ReturnCode and ReturnValue in $Data/Context/WsManData$ ? I've been trying various options and didn't find a working one so far.
Thanks,
Ivan
Ivan Seriavin
Ivan
These should give you just StdOut, StdErr, or ReturnCode:
$Data/Context///*[local-name()="StdOut"]$
$Data/Context///*[local-name()="StdErr"]$
$Data/Context///*[local-name()="ReturnCode"]$
Thanks,
Kris
www.operatingquadrant.com
Similar Messages
-
I'm setting up some sql agent job monitoring, I need to monitor for Job Duration.
This is easy enough, I just create the overrides and set the parameters and it alerts as expected, however there is no alert text. The alert does me no good with out an alert description. How can I change this?
Paul ArbogastPaul
It is not an easy way for your just copy that monitor and modify it. If you has interest, you may use MP2XMLDumper tool to export SQL server monitoring MP , modify relate moniotr and import it into SCOM.
You can download MP2XMLDumper tool from
http://blogs.technet.com/b/cliveeastwood/archive/2007/08/22/mp2xmldumper-version-2-0-export-opsmgr-mp-s-to-xml-using-mp-name-export-criteria.aspx
Roger -
What is the best way to edit alert descriptions from Sealed Management Packs?
We have an alert generated from the Exchange 2010 MP. It basically states that the Database Logical Disk Space is running low. We get this alert a lot as log volume varies each day. Alert:
Alert: The database copy is low on database volume space. The volume has reached error levels (16% free)
Alert Source: Public Folder Database DB Logical Disk Space - <Server Name> (Mailbox)
Alert Description:
TimeSampled: 2015-02-02T14:01:25.0000000-06:00
ObjectName: Logical Disk
CounterName: % Free Space
InstanceName: E:
Value:
4
SampleValue: 15.9214487075806
Knowledge:
http://go.microsoft.com/fwlink/?LinkID=67336&id=653D3B31-DFAE-45c8-A656-2584E4C7B93E
Computer:
<Computer Name>
Impacted Entities (0):
What we'd like to do is edit the subject of the alert to say what the actual value is (in GB for example). What I've been finding is that since the MP is sealed, I'm not allowed to make changes to the alert description.
What is the recommended way to customize sealed MP alerts and descriptions?Making a change to a sealed Microsoft MP isn't a good idea. If you make a change and then you update the MP down the track you will loose any changes you have made.
When you say edit the subject of the alert, is it the subject in the email notification your talking about or the highlighted value you listed in the alert?
If its the value you highlighted then I don't believe so as this is the raw value returned from the property bag data and this is usually used by other monitors also.
If its the email subject your talking about you can format the E-Mail Notification Channel used and edit E-Mail subject to present the data as you wish in an email.
Cheers,
Martin
Blog:
http://sustaslog.wordpress.com
LinkedIn:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Third question - Using parameters in powershell recovery - Alert description
Hi guys,
With help i created powershell recovery in a management pack. Once again thanks very much, this is new to me. Now i know these parameters (variables):
http://blogs.technet.com/b/kevinholman/archive/2009/09/23/alert-notification-subscription-variables-and-linking-that-to-the-console-database-and-sdk.aspx
But how can i implement this in this XML? I think i must declare them in the XML, because when i put the variable there, it doesn't work. I would like to get the alert description in the message variable (see xml below)
</Recovery>
<Recovery ID="MomUIGenaratedRecovery28e1547022254ccbb82784c60d51b1d2" Accessibility="Public" Enabled="true" Target="Type603f92b7b83945598af55495615db953" Monitor="UIGeneratedMonitor0cd347f57f3949deb958cebb02d25555" ResetMonitor="false" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Custom</Category>
<WriteAction ID="MomUIGenaratedModule75df98fbfc5b48e39fd605cccd97d29b" TypeID="Windows!Microsoft.Windows.PowerShellWriteAction">
<ScriptName>sendSMS.ps1</ScriptName>
<ScriptBody>
# function SendSMS
# PowerShell function to send SMS messages via the CM SMS Gateway.
function SendSMS{
param([string]$url, [int]$customer, [string]$login, [string]$password, [string]$recipient, [string]$sender,[string]$reference)
$xml = New-Object XML
$messages = $xml.CreateElement("MESSAGES")
$customerxml = $xml.CreateElement("CUSTOMER")
$customerxml.SetAttribute("ID", $customer)
$messages.AppendChild($customerxml)|Out-Null
$user = $xml.CreateElement("USER")
$user.SetAttribute("LOGIN", $login)
$user.SetAttribute("PASSWORD", $password)
$messages.AppendChild($user) |Out-Null
if (!($reference.Equals(''))) {
$refxml = $xml.CreateElement("REFERENCE")
$refxml.Innertext = $reference
$messages.AppendChild($refxml) |Out-Null
$tariff = $xml.CreateElement("TARIFF")
$tariff.InnerText = 0
$messages.AppendChild($tariff) |Out-Null
$msg = $xml.CreateElement("MSG")
$from = $xml.CreateElement("FROM")
$from.InnerText = $sender
$msg.AppendChild($from) |Out-Null
$to = $xml.CreateElement("TO")
$to.InnerText = $recipient
$msg.AppendChild($to) |Out-Null
$body = $xml.CreateElement("BODY")
$body.SetAttribute("TYPE", "TEXT")
$body.InnerText = $message
$msg.AppendChild($body) |Out-Null
$messages.AppendChild($msg) |Out-Null
$xml.AppendChild($messages) |Out-Null
Write-Output $xml.OuterXml
$webClient = New-Object net.WebClient
return ($webClient.UploadString($url, $xml.OuterXml))
# test
SendSMS -url 'https://website.sms.nl/webservice.ashx' -recipient 0031612345678 -customer 1 -login 1 -password 'password' -sender 'Standby' -message 'Here i want the alert description' -reference '1234'
</ScriptBody>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
Kind regards,
AndréParameters are defined between ScriptBody and TimeoutSeconds like this:
<Parameters>
<Parameter>
<Name>param1</Name>
<Value>$Config/param1$</Value>
</Parameter>
<Parameter>
<Name>param2</Name>
<Value>$Config/param2$</Value>
</Parameter>
</Parameters
This information is available on MSDN.
Jonathan Almquist | SCOMskills, LLC (http://scomskills.com) -
Dynamic group membership Query based on alert description - IS package failed
Hi there all good people,
Ive got the following case:
i need to filter out some of the alerts raised bij the is package failed Alert rule.
All allerts raised need a override accept two alerts with a specific description. example:
Alert description: Package "Full Back-Up" failed. should still raise an alert also the
Alert description: Package "Full Db Back-Up" failed.
I.m playing arround with dynamic groups. Can somebody give me some pointers?
Or do i need to create an new alert rule? en override this one for all objects?
I hope the question is clear, im no native english speakingHi,
I would like to suggest you override this one for all objects and then create a new alert rule based on your requirement.
Regards,
Yan Li
Regards, Yan Li -
Giving alert descriptions for logfile monitoring
Hi,
Can somebody please helo me to know this better.
we would be using xml for creating management packs, while creating a MP for logfile monitoirng how would you give the alert description for multiple errors in single logfile.txt
Eg:
Logifle path => E:/temp/test.txt
i want to monitor 3 strings in the above path (error / duplicate / restart), how would i give the alert description in a sngle monitor
Alert description == $Data/Context/Params/Param[1]$Thanks for the answer Suresh,
but the above alert description
$Data/Context/Params/Param[1]$ is working only for simple logfile detection
<LogFileDirectory>E:\logfiles\Logs\</LogFileDirectory>
<LogFilePattern>IPCDataService.log</LogFilePattern>
<LogIsUTF8>false</LogIsUTF8>
<Expression>
but it is not working for
<RepeatedLogFileDirectory>E:\logfiles\Logs\</RepeatedLogFileDirectory>
<RepeatedLogFilePattern>IPCDataService.log</RepeatedLogFilePattern>
<RepeatedLogIsUTF8>false</RepeatedLogIsUTF8>
<RepeatedExpression> -
Is it possible to add item description in the Alert screen in sap b1
Please see the attachment for the alert screen that gets generated every time an item stock goes beyond the minimum or maximum level. In this screen is it possible to show the item number AND the item description so that the alert is easily understandable? (instead of drilling down into the item code to see each item which is what we are doing now)
Hi Vedanth
Its a default system alert query that you had made active, you need to define a new alert to get desire.
Regards,
Bhushan Verma -
Include URL in the Alert message in Sitescope Alert
Hi,
I am trying to include the URL int he Evetn mapping but unable to fidn the Attribute to include the URL in the alert. Please suggest.Hi,
If this is a static URL then you can include it in alert by modifing the alert templates under templates.mail in installed directory. In case of dynamic URL's put them under group/monitor description feild nad include it in alert using the tag like "Monitor: <groupID>:<name> <groupDescription>" in alert template.
Regards,
Sujith -
Problem with alerts in the alert inbox
Hi experts,
I have configured AE alerts and I wanted to display the Error details as in RWB in the alert as well. With the help of SDNers in the thread
Alerts for JDBC adapter
I added SXMS_TO_ADAPTER_ERRTXT in the container.
Now, alerts are getting generated and I could see the value for error description in the report alrtdisp for the alert generated as:
<i>java.io.FileNotFoundException: /usr/sap/workdir/output.txt (Permission denied (errno:13))</i>
but the alert in the alert inbox displays a blank in place of this description.
any clues?Hi,
check the Alert catagory first,i odnt think u will not get the Alert discription if u get the Alert in Alert inbox.
Checks some links on Alerts.
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1457- [original link is broken] [original link is broken] [original link is broken];Inbound proxy
http://help.sap.com/saphelp_nw04/helpdata/en/9f/1d1aaae6a54c2c9acf16c942113879/frameset.htm.
/people/federico.babelis2/blog/2006/05/03/solution-manager-cen-and-alerting-configuration-guide-for-dummies
http://help.sap.com/saphelp_nw04/helpdata/en/3b/a8413599b244b6a03ac9d2a3bdaf2f/frameset.htm
Solution Manager 3.2 confirming open alerts
Configuring the Alert monitoring of Solution Manager 4.0
Regards,
Phani
Reward Points if Helpful -
Data objects in the alert modeler.
Hi,
in the default alert modeler profile, there are some data objects.
Can we add more data objects to this profile..
As in ... i want to display the campaign information of the business partner in the alert..
also .. i want to display the last interaction record data like ... date.. description of the interaction record ..
How can i achieve this.
Regards
Vandana Guptahi vandana
i suppose that u cant add new data object to ur alert modeler,because alert modeler is linked to the meta model and these meta models includes the set of data object which u can use while using a default profile but what u can do is assign new function event as data objects are linked with the events ,that way u can easily incubate ur new data object which u want to use with the alert modeler profile and assign that profile to the IC profile,
for creating new function events u have to do some coding which is very easy ,if u don know u may ask the same in ur time who knows that.
guess it will help
best regards
ashish -
Can I reduce the message in the alert log ?
Hi All,
I receive lot of message in my alert log. Can I reduce the message in the alert log ? please help me
Tue Sep 12 13:53:45 2006
ARC0: received prod
Tue Sep 12 13:56:13 2006
LGWR: prodding the archiver
Thread 1 advanced to log sequence 2105494
Tue Sep 12 13:56:13 2006
Current log# 4 seq# 2105494 mem# 0: E:\ORACLE\MMP\LOG\REDO04.LOG
Current log# 4 seq# 2105494 mem# 1: C:\ORACLE\MMP\LOG\REDO04.LOG
Tue Sep 12 13:56:14 2006
ARC1: received prod
Tue Sep 12 13:56:14 2006
ARC1: Beginning to archive log# 3 seq# 2105493
ARC1: Completed archiving log# 3 seq# 2105493
ARC1: re-scanning for new log files
ARC1: prodding the archiver
Tue Sep 12 13:56:18 2006
ARC0: received prod
Tue Sep 12 13:58:26 2006
LGWR: prodding the archiver
Thread 1 advanced to log sequence 2105495
Tue Sep 12 13:58:26 2006
Current log# 1 seq# 2105495 mem# 0: C:\ORACLE\MMP\LOG\REDO01.LOG
Current log# 1 seq# 2105495 mem# 1: E:\ORACLE\MMP\LOG\REDO01.LOG
Tue Sep 12 13:58:27 2006
ARC1: received prod
Tue Sep 12 13:58:27 2006
ARC1: Beginning to archive log# 4 seq# 2105494
ARC1: Completed archiving log# 4 seq# 2105494
ARC1: re-scanning for new log files
ARC1: prodding the archiver
Tue Sep 12 13:58:31 2006
ARC0: received prodHi,
The Oracle database writes an audit trail of the archived redo log files received from the primary database into a trace file. This parameter specifies the level of trace that should be generated when redo logs are archived. The value of the parameter indicates the level of trace to be generated.
Level Description
0 Disabled (default)
1 Track archival of redo log file
2 Track status of each archivelog destination
4 Track archival operational phase
8 Track archivelog destination activity
16 Track detailed archivelog destination activity
32 Track archivelog destination parameter changes
64 Track ARCn process state activity
128 Track FAL server related activities
It can be used in a Primary Database or Standby Database
for more details see:
http://docs.nojabrsk.ru/sol10/B12037_01/server.101/b10823/trace.htm
Cheers -
Hi Expert ,
I have to shorten the length of Alert text from 10 lines to 3 lines
So that it can be accomodate in smll SMS form and able to send it on
Production mobile.
How it can be done on solution manager where all the alerts are centrally configured. ?
Thanks in advance
Regards,
KamalHi
Refer http://help.sap.com/saphelp_nw04s/helpdata/en/c4/3a7ea5505211d189550000e829fbbd/content.htm to customize your alerts . Also refer the guide http://help.sap.com/saphelp_nw04s/helpdata/en/28/83493b6b82e908e10000000a11402f/frameset.htm
Check http://help.sap.com/saphelp_nw04s/helpdata/en/c4/3a7eb2505211d189550000e829fbbd/content.htm (the descriptive text for the node) .
Regards,
Nibu Antony
Edited by: Nibu Antony on Jun 15, 2010 7:52 PM -
Alert description and short text
Hi Masters,
I configured BPM alerts in my scenario with alert category define in ALRTCATDEF and I have selected dynamic test. I am getting the alert and long text as I given in BPM alert message that is good. But in my alert, message description and Short text is displaying as ' Process <xxxxxxx>'.
So can I get the same message as long text in messsage description and short text and how to change the description.
Please help me to find out the soultion for this
Reg,
ShivIs any other way to get the message description
-
Wrong alert description...
Hello,
Why am I getting alerts:
Alert: _026E0E71_A5B3_4781_8FBA_E29D7FC4225D_
instead of
Alert: KHI: Retry Remote Delivery Queue Length - sustained for 30 minutes - Red(>1) - Hub Transport.
Any idea is welcome,
Thanks,
Dom
System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity ManagerYes in the email
Alert: _026E0E71_A5B3_4781_8FBA_E29D7FC4225D_
Resolution state: Closed
Source: Queues - SOPEXCH4 (Hub Transport) - MCO
Path: SOPEXCH4.ad
Last modified by: System
Last modified time: 8/24/2014 1:21:08 PM
Alert description:
"http://OPMGRRMS1.ad/default.aspx?DisplayMode=Pivot&AlertID=%7bd33cc629-166b-435b-8385-d09143601cef%7d"
Notification subscription ID generating this message: {6938E96A-B072-7A58-931E-E8C82A37BFD6}
but also on the SCOM Console?
System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager -
Super users able to approve but not receive the alerts.
Hello,
When our customer logs into SAP Business One they get loads of alerts regarding approvals as they are in the approval list.
The customer was asking, if they remove themselves from the list of approvals so that they do not get the alerts. As a super user could they still be able to go into approvals to approve. The user was a super user.
This was tested, the result of which showed that if they were to take off their approvals they would not get the message but also they would not be able to approve either.
The customer suggested that this would be a useful addition to SAP if super users could go in to approve but not get all the alerts related to approvals.
Regards,
AndyHi,
Account to your description, one your test Exchange account
with POP mode cannot receive emails. If I misunderstand your meaning, please feel free to let me know.
If yes, I’d like to confirm if the issue happens internally or externally. And I also recommend the following troubleshooting:
Check if it can receive emails when you configure the account without POP or IMAP mode.\
Restart your IIS.
Check if the issue happens on others.
Thanks,
Angela Shi
TechNet Community Support
Maybe you are looking for
-
E-Recruiting : Creation of NA for newly hired P
Dear experts, We are implementing succession planning using eRecruiting 600. The implementation is done in an integrated scenario where eRec600 is on the same server as ERP 603. I know that every object P should have a relation with CP,BP & NA before
-
How can I figure out if my bmp has Nvidia graphics
How can I figure out if my bmp has the Nvidia graphics ?
-
Can't connect to MySQL Community Server 5.6 from CF11
I'm trying to connect to MySQL Community Server version 5.6 from Cold Fusion 11. If I choose the DataDirect driver, I get an error message stating that the driver does not support Community Server. So I choose the MySQL5 driver and I am able to verif
-
Problem accessing certain pages wirelessly WRT54G v2
Greetings. I have a WRT54G v2 router with the most current firmware. I have been having a problem recently (yes, even before updating the firmware) with SOME connections. I try to log into Sprint's billing manager while in wireless mode, and it simpl
-
Has anyone else had screen flickering on iMac 27"?
I bought my 27" iMac only about one week ago, with the i7 processor, 8gb ram and 2gb graphics. All has been fine, except every now and then the screen will flicker? It happens every few hours I would say. It's never predictable, just happens and for