How to create rule/monitor to generate alert for a reboot of Linux (Redhat) server?
Need to receive an alert when a Linux server reboots. How can this rule/monitor be created?
You can use the "Shell Command" templates to create a UNIX/Linux Shell Command (Alert) rule. See the walkthrough and background here:
http://operatingquadrant.com/2012/01/30/opsmgr-2012-unixlinux-authoring-templates-shell-command/
The following command will identify the seconds the system has been "up" and return OK if it is greater than 15 minutes, and REBOOTED if the seconds up are less than 15 minutes. Your Shell Command rule should alert if the StdOut value contains
REBOOTED.
upseconds=`cat /proc/uptime |awk '{print int ($1 )}'`;if [ $upseconds -lt 900 ];then echo REBOOTED;else echo OK;fi
www.operatingquadrant.com
Similar Messages
-
How to create an RDBMS event generator using wlst on weblogic 10.3
how to create an RDBMS event generator using wlst on weblogic 10.3, i got a code fragment needing class "com.bea.wli.management.configuration.RDBMSEventGenChannelConfiguration"
but i can' t find this class in classpath on weblogic 10.3, pls help me, thanks. code sample is better.Hi,
RDBMS Event Generator Channel Rule Definition
When you are creating channel rule definitions in the WebLogic Integration Administration Console, it is recommended that you do not use the Back button if you want to resubmit the details on a page.
You should always use the navigation links provided and create a new channel rule definition.
http://download.oracle.com/docs/cd/E13214_01/wli/docs85/deploy/cluster.html
http://download.oracle.com/docs/cd/E13214_01/wli/docs81/relnotes/relnotesLimit.html
http://otndnld.oracle.co.jp/document/products/owli/docs10gr3/pdf/deploy.pdf
This problem has been seen in the past when defining the channel rule for an RDBMS Event Generator if schema name was specified with the incorrect case (i.e. lowercase when it should have been uppercase or vice versa). To that end, it is suggested to change the case of the schema when creating the channel rule
Regards,
Kal -
How to create Rules with Flex Field mapping in the bpm worklist
I Have created a flex field label and was able to map to the flex field attributes .
But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
Any pointers or suggestion is highly appreciated .Hi,
SE38 -> Enter program
Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
Now the selection screen will display with a button "Variant Attributes" at the top.
Click on that button.
In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
Now whenever you run the prgrm with this variant, date will be displayed by default.
Regards,
Subramanian -
How to Create Rule in Interface Data Transformer.
Hi,
If any one know how to Create Rule in Interface Data Transformer(IDT) Super user by using Lookup(Oracle R12 Version) Please help me on this.
I have one value in GL Interface table, while loding data into base tables (GL_JE_BATCHES, GL_JE_HEADERS, GL_JE_LINES) that values replace with another value.
For that purpose we have to use Interface Data Transformer.
If any one how to create rule in IDT, Please give me a example how to create rule by using Lookup.
Thanks in Advance.
Regards
Varma.Hi;
Please check below note which could be helpful for your issue:
Setup Checklist for the Interface Data Transformer - Global Consolidations System [ID 277875.1]
Regard
Helios -
Generate Alert for service startup and stop
Hi Team,
Using SCOM 2012 I'm able to generate alert for service stop. Is it possible to generate alert for the same service if it started.
ThnxYou may create an event alert rule which check the system event with event id 7036, Source ,service control manager, and description, XXX service entered the running state.
For how to create event alert rule with event description, pls. refer to
http://blogs.technet.com/b/kevinholman/archive/2008/04/22/using-event-description-as-criteria-for-a-rule.aspx
Roger -
How to create distribution list in workflow? for sending mail or work-item
Hi,
How to create distribution list in workflow? for sending mail or work-item to multiple users.
Regards,
SurjithHi Surjith,
A.Working with Distribution Lists Creating a Distribution List.
1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
2.Then click on the distribution list in Businees Workplace.
say create Name = WF_Vliste
folder Name = WF_distributor
3.distribution list content tab
Enter Recipient (SAP User ID)
B.Wrkflow Builder
Find out the dialig step in which u want to use distribution list
Use workflow Rule 30000012 (SWX_READ_DLI).
Maintain the binding from workflow container to rule container.
Just pass the name of the distribution list from WF to Rule container.
Regards
Sagar S -
How do I get music as my alert for texts
How do I get music as my alert for text messages
iPhone User Guide (For iOS 5.0 Software)
Create ringtones ( google will find several ways).
Sync ringtones.
Select ringtones as text tones -
Generating Alerts for OFM discrepancies
Hi Gurus,
Please validate my thinking:
To generate alerts for discrepancies in DFC01 timeseries for OFM process, my assumption is this is done by:
1. Definining OFM Service profile and selecting "Create alerts"
2. Running a PSM job using service DFC_ORDER_FORECAST
Currently this does not generate alerts, yet there are discrepancies for products between customer plan and suppliers plan.
Please advice if I am missing something or in case I am using wrong PSM service.
Thanks,
J.Hi
you can achieved this functionality by using a UDF for alert generation and also give the details of your clarity tools in the UDF i.e. URL etc.
Thanks
sudhir sharma -
How to create a custom task in SRM for the standard task
Hi Gurus,
How to create a custom task in SRM for the standard task eg: TS10407929
regards,
George.from PFTC itself. Same.
-
How To Create A Technical And Business Systems For Web AS ABAP ???
Hi Experts,
How To Create A Technical And Business Systems For Web AS ABAP ???
Please Let me Know All the Step-By-Step Process to Create ????
Points Will be Given
Regards
KhannaHi Sumit,
When U Told the thing that first time to execute the RZ70 and All i Did this in XI System
So I got An Entry for the Technical System for XI System.
Now i Deleted that and Executed RZ70 in R/3.
When I Executed RZ70, I got this Error.
<b> "RFC Call failed: Error Opening an RFC Connection "</b>.
Now I am Unable to see Any Technical System Under Web As ABAP. It's Showing Empty Now.
Please Let me know
Regards
Khanna -
How to create Characteristic group in CO-PA for assessment purpose
Hi,
Can anybody guide me as how to create Characteristic group in CO-PA for assessment of cost center balance to CO-PA?
Thanks,
BijayYou need to be more specific in your request - are you looking for a sender, or a receiver grouping? Which characteristic? Is it to be all the values in a characteristic, or is it to be groups of those characteristics.
Have a look at the setting up of hierarchies for characteristics in COPA master data. -
How to create new requisitioner in sap mm for raising purchase requisition?
How to create new requisitioner in sap mm for raising purchase requisition?
Hi Dear,
There is some link will help you to create Purchase Requisition and other MM Documents.
http://www.docstoc.com/docs/11307932/SAP-MM-Manual-Create-Purchase-Requistion
http://www.r3.duke.edu/training/stepbystep/#purch
http://sapdocs.info/sap/materials-management-2/download-sap-purchasing-user-training-ppt-material/
Regards
Aamir -
How to create a single 'not null ' validation for all the items in a page ?
Hi everyone ,
how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
Thanks & Regards
UmerNice1 wrote:
bob , as u said I have done the following :
1) under create button , there are 9 items and for each item I have set Required to 'Yes'
2) under delete button , there is 1 item and have set Required to 'Yes' for the item
3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
The best solution is as the reply a couple replies up
Create 2 page type validations as a PL/SQL with code
1st validation
:P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL include all 9 items
Set the When Button Pressed to the CREATE button
2nd validation
:P1_ITEM10 IS NOT NULL
Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
Edited by: Bob37 on Apr 27, 2012 12:02 PM -
How to create external content type in sharepoint for salesforce account
Can anybody help me on How to create external content type in sharepoint for salesforce account.
I wanto upload documents to a document library which should sync with accounts in saleforce.
thanks in advanceHi,
The following materials would be helpful:
Tutorial: Access Salesforce Leads in SharePoint through an External List
http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
Salesforce SharePoint Integration – Best Practices
http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
Best Regards
Dennis Guo
TechNet Community Support -
Generate Alerts for Task changes in Project Schedule
Hi,
I would like to generate alerts to all the Project resources when a Task has been revised in Project Schedule. Does MS Project Server 2010 provides this functionality OOTB?
If this not available OOTB, I am planning to write an event handler to generate alerts for Task updates. Would an en event handler for Task level changes impact performance of server?.Hello,
This is out of the box with the alerts and reminders in 2010, see:
http://technet.microsoft.com/en-gb/library/gg982969(v=office.14).aspx to enable the alerts
and:
http://technet.microsoft.com/en-gb/library/hh767487(v=office.14).aspx - to configure them
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS |
MVP | Downloads
Maybe you are looking for
-
I just recently upgraded from a 4S to a 5C. I backloaded the 5 from Itunes and now everytime i plug into itunes, it asks if I want to set up as new or restore from a previous backup. Why is it doing this. I did it twice yesterday..... In addtion,
-
How do I reformat the HD and start fresh?
-
SQL Help - Using Minus command
Hey Sql forum I'm using ver: Oracle 8.1.7.0.0 Quick Question for all of you. I'm trying to run this query. When I add my order by on each select statement the query doesn't work. But when I remove the two order by statements on each query it works ju
-
Charting on a specific hierarchy Level
Hi Experts, I have created a Profit & Loss report based on an SAP Query. I've added a hierarchy group and a key figure summary. The hierarchy has 8 levels represented in a single group. I'd like bar chart level 2 of this hierarchy in the report heade
-
Windows Server Losing Activation
A large chunk of the Windows Server 2008 R2, Server 2012, and Server 2012 R2 in our environment are suddenly requiring Windows Activation even though they've been activated previously. These are servers that have been in production for several years