Simultaneous critical thresholds - diskspace
Hi All,
I'm trying to setup a logical disk space monitor that will alert for multiple critical thresholds on a single logical drive.
I would like to have for example, 15GB - warning, 10GB error, 5GB error.
Our servicedesk has a dashboard which shows "error" alerts for diskspace, when they see this, they contact on-call support. At times our on-call support can be slow to react, so we want another "error" alert to appear on the servicedesk
dashboard when the threshold reaches 5gb, and that would prompt them to again contact the on-call support.
I do not want the 15gb warning to appear on the servicedesk dashboard.
My question is.... is it possible to have a second "error" threshold for a logical diskspace monitor at 5GB, when the 10GB alert is still open?
If so, can you please provide some detail?
Regards,
Hi!
You could achieve that by using the logical disk monitor that is enabled by default (the one that is checking for MB and % thresholds) for the first thresholds and additionally enable the other one for MB (or %) for the second ones:
Windows Server 20xx Logical Disk
Logical Disk Free Space
Windows Server 20xx Logical Disk
Disk Free Space (MB) Low
Windows Server 20xx Logical Disk
Disk Free Space (%) Low
More information about these monitors:
https://technet.microsoft.com/en-us/library/dd262028.asp
Or, of course, create your own monitors.
Cheers,
Patrick
Please remember to click “Mark as Answer” on the post that helped you.
Patrick Seidl (System Center and Private Cloud)
Website: http://www.syliance.com
Blog: http://www.systemcenterrocks.com
Similar Messages
-
Targets not providing data exceeded the critical threshold
Hi all,
<br><br>
I received the following alert in the enterprise manager:
<br><br>
Name=Management Services and Repository<br>
Type=oracle_emrep<br>
Host=null<br>
Metric=Targets not providing data<br>
Timestamp=Oct 5, 2006 4:15:37 PM GMT-07:00<br>
Severity=Critical<br>
Message=Targets not providing data exceeded the critical threshold (0). Current value: 3<br>
Rule Name=Agent Upload Problems<br>
Rule Owner=SYSMAN<br>
<br><br><b>
(1) What does this alert mean?</b><br>
<b>(2) Which documentation or refrence I can use to check explanations of the EM alerts?</b><br>
<br><br>
Thanks in advance.It means what it says. Your agents are no longer providing information to the oms, so info for any metrics you have set is no longer being collected.
Check the agent logs. An example as to why this could happen is the agent has run out of space and it disables collections to save blowing the file system -
Hello *!
I use Oracle 9i and i got error message: Disk load current value: 33.91%, exceeds configured threshold: 30.00%.
I suppose i have to delete some logs or something, but i am not sure what and where. Can you help me with some suggestions? Thank you in advance...Hello Reza.
I am not sure if it is an oracle error, i just assume it, because there is something about threshold. I got it form HPOV agents installed on the system. Since i am not sure about the origine of the error i am looking everywhere around, trying to detect the couse of that.
regards
ghost -
Need Advise on Setting Critical Metric Threshold for "Status"
Hi All,
I am trying top copy all metric thresholds from OEM 9i to 10G. I ran across the metric threshold for "Status" (whether the node is up or down). It is set to "Down" and, although I'd like to set it to "Up/Down", when I hit Continue it comes back with
"The format of the critical threshold is not correct.". Does anyone know what the problem is?
Thanks
Samyou are status metrics for all targets in grid control
the notification rules for databases,hosts,listener,aplication server are enabled the send mail if the status change. -
DiskSpace Report Alert Error - Urgently Help Needed
Hell All
I have been take the scripts from https://gallery.technet.microsoft.com/scriptcenter/Disk-Space-Report-Reports-98e64d65
Which is working fine , but my end of scripts out Auto Disclaimer is added and the output has little bit collapsed
Disclaimer HAS BEEN added to the waring and critical Table which is mentioned on this script which is underlined now. and how avoid this
Urgent help is needed
# Check disk space and send an HTML report as the body of an email. #
# Reports only disks on computers that have low disk space. #
# Author: Mike Carmody #
# Some ideas extracted from Thiyagu's Exchange DiskspaceHTMLReport module. #
# Date: 8/10/2011 #
# I have not added any error checking into this script yet. #
# Continue even if there are errors
$ErrorActionPreference = "Continue";
# Items to change to make it work for you.
# EMAIL PROPERTIES
# - the $users that this report will be sent to.
# - near the end of the script the smtpserver, From and Subject.
# REPORT PROPERTIES
# - you can edit the report path and report name of the html file that is the report.
# Set your warning and critical thresholds
$percentWarning = 15;
$percentCritcal = 10;
# EMAIL PROPERTIES
# Set the recipients of the report.
$users = "[email protected]"
#$users = "[email protected]" # I use this for testing by uing my email address.
#$users = "[email protected]", "[email protected]", "[email protected]"; # can be sent to individuals.
# REPORT PROPERTIES
# Path to the report
$reportPath = "D:\Jobs\DiskSpaceQuery\Reports\";
# Report name
$reportName = "DiskSpaceRpt_$(get-date -format ddMMyyyy).html";
# Path and Report name together
$diskReport = $reportPath + $reportName
#Set colors for table cell backgrounds
$redColor = "#FF0000"
$orangeColor = "#FBB917"
$whiteColor = "#FFFFFF"
# Count if any computers have low disk space. Do not send report if less than 1.
$i = 0;
# Get computer list to check disk space
$computers = Get-Content "servers_c.txt";
$datetime = Get-Date -Format "MM-dd-yyyy_HHmmss";
# Remove the report if it has already been run today so it does not append to the existing report
If (Test-Path $diskReport)
Remove-Item $diskReport
# Cleanup old files..
$Daysback = "-7"
$CurrentDate = Get-Date;
$DateToDelete = $CurrentDate.AddDays($Daysback);
Get-ChildItem $reportPath | Where-Object { $_.LastWriteTime -lt $DatetoDelete } | Remove-Item;
# Create and write HTML Header of report
$titleDate = get-date -uformat "%m-%d-%Y - %A"
$header = "
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
<title>DiskSpace Report</title>
<STYLE TYPE='text/css'>
<!--
td {
font-family: Tahoma;
font-size: 11px;
border-
border-right: 1px solid #999999;
border-bottom: 1px solid #999999;
border-
padding-
padding-right: 0px;
padding-bottom: 0px;
padding-
body {
margin-
margin-
margin-right: 0px;
margin-bottom: 10px;
table {
border: thin solid #000000;
-->
</style>
</head>
<body>
<table width='100%'>
<tr bgcolor='#CCCCCC'>
<td colspan='7' height='25' align='center'>
<font face='tahoma' color='#003399' size='4'><strong>AEM Environment DiskSpace Report for $titledate</strong></font>
</td>
</tr>
</table>
Add-Content $diskReport $header
# Create and write Table header for report
$tableHeader = "
<table width='100%'><tbody>
<tr bgcolor=#CCCCCC>
<td width='10%' align='center'>Server</td>
<td width='5%' align='center'>Drive</td>
<td width='15%' align='center'>Drive Label</td>
<td width='10%' align='center'>Total Capacity(GB)</td>
<td width='10%' align='center'>Used Capacity(GB)</td>
<td width='10%' align='center'>Free Space(GB)</td>
<td width='5%' align='center'>Freespace %</td>
</tr>
Add-Content $diskReport $tableHeader
# Start processing disk space reports against a list of servers
foreach($computer in $computers)
$disks = Get-WmiObject -ComputerName $computer -Class Win32_LogicalDisk -Filter "DriveType = 3"
$computer = $computer.toupper()
foreach($disk in $disks)
$deviceID = $disk.DeviceID;
$volName = $disk.VolumeName;
[float]$size = $disk.Size;
[float]$freespace = $disk.FreeSpace;
$percentFree = [Math]::Round(($freespace / $size) * 100, 2);
$sizeGB = [Math]::Round($size / 1073741824, 2);
$freeSpaceGB = [Math]::Round($freespace / 1073741824, 2);
$usedSpaceGB = $sizeGB - $freeSpaceGB;
$color = $whiteColor;
# Set background color to Orange if just a warning
if($percentFree -lt $percentWarning)
$color = $orangeColor
# Set background color to Orange if space is Critical
if($percentFree -lt $percentCritcal)
$color = $redColor
# Create table data rows
$dataRow = "
<tr>
<td width='10%'>$computer</td>
<td width='5%' align='center'>$deviceID</td>
<td width='15%' >$volName</td>
<td width='10%' align='center'>$sizeGB</td>
<td width='10%' align='center'>$usedSpaceGB</td>
<td width='10%' align='center'>$freeSpaceGB</td>
<td width='5%' bgcolor=`'$color`' align='center'>$percentFree</td>
</tr>
Add-Content $diskReport $dataRow;
Write-Host -ForegroundColor DarkYellow "$computer $deviceID percentage free space = $percentFree";
$i++
# Create table at end of report showing legend of colors for the critical and warning
$tableDescription = "
</table><br><table width='20%'>
<tr bgcolor='White'>
<td width='10%' align='center' bgcolor='#FBB917'>Warning less than 15% free space</td>
<td width='10%' align='center' bgcolor='#FF0000'>Critical less than 10% free space</td>
</tr>
Add-Content $diskReport $tableDescription
Add-Content $diskReport "</body></html>"
# Send Notification if alert $i is greater then 0
if ($i -gt 0)
foreach ($user in $users)
Write-Host "Sending Email notification to $user"
$smtpServer = "MySMTPServer"
$smtp = New-Object Net.Mail.SmtpClient($smtpServer)
$msg = New-Object Net.Mail.MailMessage
$msg.To.Add($user)
$msg.From = "[email protected]"
$msg.Subject = "Environment DiskSpace Report for $titledate"
$msg.IsBodyHTML = $true
$msg.Body = get-content $diskReport
$smtp.Send($msg)
$body = ""
https://gallery.technet.microsoft.com/scriptcenter/Disk-Space-Report-Reports-98e64d65Hi,
I want to double confirm which version are you used, please also refer to scripting center for the similar scripts:
Disk Space Monitoring - HTML EMAIL Report
http://gallery.technet.microsoft.com/scriptcenter/6e935887-6b30-4654-b977-6f5d289f3a63
Monitor Free Disk Space Information on a Computer
http://gallery.technet.microsoft.com/scriptcenter/04c29c84-5ecc-4bf6-8dd4-2940db63d9f3
List Available Disk Space
http://gallery.technet.microsoft.com/scriptcenter/7fa38863-ad6f-4f46-ac91-9b7d4a30f52b
Disk Space monitoring
http://gallery.technet.microsoft.com/scriptcenter/fd4f5235-1a80-41ed-87e2-189278fd376c
If you encounter any difficulties when customizing the scripts, you may submit a new question in
The Official Scripting Guys Forum! which is a best resource for scripting related issues.
Best Regards,
Allen Wang -
How to set collection schedule for metric thresholds
Greetings All,
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
Windows Server 2008 R2Please know that I am a newbie when in regards Enterprise Manager (any version).
I am trying to use EM-Database Control version that was installed when I installed Oracle.
I am trying to activate e-mail notification when tablespace(s) usage exceeds set thresholds. Specifically the locally managed tablespaces.
I found the Metric Thresholds page, and I found the “Tablespace Space Used (%)” metric. Note this is NOT the “(dictionary managed)” metric.
I do have e-mail and credential information established.
I found where you can identify a SQL script to be executed for corrective actions for the warning and critical thresholds. However I don’t want to execute any corrective action, I am just interested in the e-mail notification.
I know I could setup a SQL script that would send an e-mail but from my reading/research I believe that e-mail notification should automatically take place so long as e-mail and credential information has been established, which has been established.
My question is:
I can find now way to set a Collection Schedule. The dictionary managed tablespace metric has a collection schedule link (i.e. Every 15 Minutes), but the non-dictionary managed tablespace metric(s) has none.
Clicking the edit icon(s) provides no way of setting the collection schedule.
Where/how do I establish a Collection Schedule for this metric?
Thanks for your time,
BobHi Bob,
With Grid/Cloud Control you can modify the collection frequency (interval) for the Tablespace Space Used (%) metric for locally managed tablespaces; however, you cannot do the same in DB control.
That being said, alerts from the metric are server-generated alerts, which are generated from the monitored database target. When the space used percentage exceeds the Warning or Critical threshold, assuming you have subscribed to an appropriate notification rule for email notification, you should receive an email notification in about 1 minute or so.
The following doc may help explain more about server -generated alerts:
http://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#CIHCAGAJ
Regards,
- Loc -
SUN Fire V65 - System Status LED - non-critical condition
Hi guys
We have a Checkpoint Cluster which is made up of 2 Sun Fire V65 servers.
The front panel of the servers are showing the System Status LED lights as Blinking Amber , which sun documenation has listed as
"Blinking amber: Indicates the system is in a non-critical condition" ref: http://dlc.sun.com/pdf/817-2024-12/817-2024-12.pdf
We have resetead the hardware, cleared ,logs, even change HW etc. The light goes away for some time and then returns.
Can anyone advise on what to do?
Sun has the following listed in their Troubleshooting pdf i ref before
"Non-Critical Condition
A non-critical condition is indicated with a blinking amber status LED and signifies
that at least one of the following conditions is present:
¡ Temperature, voltage, or fan non-critical threshold crossing.
¡ Chassis intrusion.
¡ Satellite controller sends a non-critical state, via the Set Fault Indication
command, to the BMC.
¡ A Set Fault Indication command from the system BIOS. The BIOS may use the Set
Fault Indication command to indicate additional, non-critical status such as
system memory or CPU configuration changes"
Is there any Unix / Linux / SPLAT logs I can look at or debugging we can look at.
Thanks in advanceYour initial description mentions that you have swapped various pieces of hardware around. I presume that means you used current parts instead of new-never-used components. Are both of the clustered systems showing the same symptoms?
I can only think of a couple of additional things to try.
Firstly, those are old boxes. V65's went EOL in January 2005, so yours are at least that old if not older. They are x86 architecture. Have you replaced the CR2032 CMOS battery that's on the systemboard? Have you additionally checked for voltage fluctuations in the data center? A marginal power supply can "mostly work" but it can be effected by an AC mains issue.
If that doesn't change anything, then you may need to contact Checkpoint. They may be able to point you toward some sort of heartbeat function that is tripping a fault level when it flip-flops between the two systems.
That's a software investigation and would be outside the scope of this forum. -
Typical metric thresholds and patterns for monitoring Exadata
I’m looking for any best practices or a list of recommended settings for the following:
.- Metric Threshold settings to manage Exadata with OEM12c.
.- List of main and/or typical metrics used for setting up alerts in OEM12c for Exadata.
Thanks in advance,
Carlos.Hello Ravi,
This is a 10.2.0.4 (4nodes) Rac on Linux.
This a alert text:
Host=WEUSRV011.intrum.net
Target type=Database Instance
Target name=ie_colldesk_iecolld1
Categories=Performance
Message=Metrics "Global Cache Average Current Get Time" is at 0.615
Severity=Warning
Event reported time=Feb 25, 2013 9:44:05 PM CET
Target Lifecycle Status=Production
Comment=WEU Oracle Production Hardware
Operating System=Linux
Platform=x86_64
Event Type=Metric Alert
Event name=rac_global_cache:currentgets_cs
Metric Group=Global Cache Statistics
Metric=Global Cache Average Current Block Request Time (centi-seconds)
Metric value=0.615384615384615
Key Value=SYSTEM
Rule Name=Locks_Rule,rule 96
Rule Owner=A_GUTIERREZ
Update Details:
Metrics "Global Cache Average Current Get Time" is at 0.615
And
Host=tstcolldesk01.intrum.net
Target type=Database Instance
Target name=COLLDESK_COLLDESK1
Categories=Performance
Message=Metrics "Global Cache Average Current Get Time" is at 0.632
Severity=Warning
Event reported time=Feb 25, 2013 9:03:00 PM CET
Comment=WEU Oracle test Environment
Operating System=Linux
Platform=x86_64
Event Type=Metric Alert
Event name=rac_global_cache:currentgets_cs
Metric Group=Global Cache Statistics
Metric=Global Cache Average Current Block Request Time (centi-seconds)
Metric value=0.631578947368421
Key Value=SYSTEM
Rule Name=Locks_Rule,rule 96
Rule Owner=A_GUTIERREZ
Update Details:
Metrics "Global Cache Average Current Get Time" is at 0.632
The metrics definition is:
Global Cache Average Current Block Request Time (centi-seconds)
Global Cache Average CR Block Request Time (centi-seconds)
And the metrics values defined at template level are:
Warning Threshold 1.2
Critical Threshold 3
Comparison Operator >
Occurrences Before Alert 3
Corrective Actions None
I need to explore select * from dba_thresholds.
Thanks
Best regards
Arturo -
Metric threshold Blocking session count
Hi,
I am trying to modify the blocking session count threshould and making warning threshold as null and critical threshold > 0. When i create a blocking session in the database i get the warning for application wait class but i don't get a critical alert generated even waiting for more than an hour. Here is what i have done so far
1. changed the warning threshold to null, critical threshold to > 0 and changed the time of collection to each 5 minutes.
2. Creating a blocking lock in the database, when i go on the performance page of db and look at the instance locks i can see the lock being held for more than 30 minutes
Any ideas how can i get this going will be much appreciated.In order to trigger the metric "blocking session count", you have to
a. have one session which is holding the lock (not comitting)
b. at least one session which is waiting for exactly that lock. in that case, the metric will report sid of blocking session with a value of > 0.
Regards,
Martin Decker
www.ora-solutions.net -
Hi
I want to create a threshold on the tablespace when it is 80 % Used.
I want a mail to be sent on my email address and also when user inserts data in that TBS he should receive the Alert.
Please AdviseUse Oracle Enterprise manager database control, go to preferences and assign a email server. Then on the home page-->manage metrics link-->Edit Threshod button-->set your metric warning/critical thresholds here and wait for notifications in email box when the threshod is reached.
Sami. -
Backend query to find metrics with thresholds
Hi,
Is there a way to query the backend tables in repository database to find the metrics with thresholds on a database.I want to findout the missing warning/critical thresholds for all the targets.Any inputs for this may be helpful to me.
Thanks.You might want to create a User Deinfed Metric that does a query on the SYSMAN schema to find out.
Checkout
Oracle® Enterprise Manager Extensibility Guide
10g Release 5 (10.2.0.5)
http://download.oracle.com/docs/cd/B16240_01/doc/em.102/b40007/toc.htm
For description of all SYSMAN views to select your data
Regards
Rob
http://oemgc.wordpress.com -
Last weekend I got these errors from the agent on one of our database servers..
I cleared the messages and resynchronized the agent and it was fine till this weekend, then it did it again.. any ideas..
ALERT 1:
Count of targets not uploading exceeded the critical threshold (0). Current value: 2
Then 20 minutes later I got ALERT 2:
Message is of following format.Logfile:Sourcename:EventCode:CategoryString:User:ErrorCount:WarningCount [[System:l2nd:4::::warning=1] [System:MRxSmb:8003:::error=1:] [System:W32Time:14::::warning=1] [System:W32Time:29:::error=1:] [System:NETLOGON:5719:::error=1:] ]Windows 2003 Enterprise 64bit..
agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : d:\oracle\agent10g\agent10g
Agent binaries : d:\oracle\agent10g\agent10g
Agent Process ID : 2872
Agent URL : https://bidb.okladot.state.ok.us:3872/emd/main/
Repository URL : https://ORAGRID.okladot.state.ok.us:1159/em/upload
Started at : 2010-04-05 15:55:12
Started by user : SYSTEM
Last Reload : 2010-04-05 16:16:11
Last successful upload : 2010-04-07 15:57:38
Total Megabytes of XML files uploaded so far : 94.03
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.03
Available disk space on upload filesystem : 44.33%
Last successful heartbeat to OMS : 2010-04-07 16:10:04
Agent is Running and Ready -
EM 10g Release 3 Grid - how to set up thresholds/notifications
Hello --
We have installed EM 10g Release Grid control and I would like to set up all the necessary thresholds and notifications. I would like to set those up for one instance only. So I went to Preferences --> Notification Rules and set up (what I thought) notifications for this one database. However, I keep getting alerts for ALL databases. Is there a way to set this up just for one?
Also, on the home page in the Related Links section I see the following links related to metrics:
Metric Collection Errors
All Metrics
Metric and Policy Settings
Metric Baselines
User-defined metrics
What are Metric Baselines? How do set those up? Are these also "global" - if I modify those it will affect all of the databases? Is there a quide (like a miniumum) on thresholds - how do you decide on the values? Any insight on this would be greatly appreciated.Yes it is easy to be confused. Maybe this will help -
1) Notification Rules are set to provide you notification when a metric and policy setting is in warning, critical or clear status - (side note here is that clear is clear for warning and clear for critical- so if you set notification to page on clear you can get warning clear and critical clear pages)
2) Metric and Policy Settings establish warning and critical thresholds - you dont have to have notifications on them.
3) Baselines can be taken on the live database to establish normal operating thresholds. I am a little weak in the Baseline Space. -
SUNMC ALARMS THRESHOLDS MEANING
Hi friend,
I am able to see thresholds like below..
Will any one kindly explain this ?
What does they mean actually ?
Unknown, Lost commands and No contact status values ---- Critical Threshold for FANSTATUS
Regards
Srinivas MasettyDoes anyone have a list of SunMCs default thresholds,
or know how I can find them without drilling down
into each module?If you don't mind looking at some strangely formatted text files, the standard thresholds can be found in /opt/SUNWsymon/modules/cfg/*-d.def files.
In the Console, if a module is loaded, you don't have to open an Attribute Editor for every value... instead you can go to the "Module Manager" tab, click the module, then the "Rules" button, and see all thresholds set (including any you set yourself).
That will show most of the defaults. But for some alarms (especially hardware alarms) their thresholds are more complex (and/or hidden) in "rules". I can't get to docs.sun.com right now to give you a link, but a search of the SunMC docs will list the names of the rules and what they do. The Health Monitor module uses many rules and is a good place to start your search.
Is there a single doc listing all attribues and thresholds? Not that I've ever seen. But someone may prove me wrong! :)
Regards,
[email protected]
http://www.HalcyonInc.com -
Threshold alerts not functioning
Hi,
My threshold alerts are not working at all. Warning and Critical thresholds are ignored. My first reaction was to check the statistics_level to make sure it was on typical, and it was. I also it set it to 'all' to test, but no difference.
Any ideas?thanks for your reply.
I am on 10g. I had not been recieving any alerts and saw that my SYSTEM and SYSAUX were at 97%, so I created a tablespace, set the threshold warning at 50% and critical at 75%, then filled the tablespace up. I kept checking back to the EM home page and refreshing for about an hour as I did know that it refreshes alerts every 10 mins, and no alerts. Further, under SPACE SUMMARY on the EM home page at "problem tablespaces" there is a 0.
I checked the dba_thresholds and it shows the values I had entered, along with the other ones in the db. I also checked the statistics_level which is now set to ALL.
?
Maybe you are looking for
-
Print on Safari set to A4 and I must reset each time ... other applications are ok, how can set US letter as default??
-
String.getBytes (java) o/p different in Windows and Unix
Hi, I was trying out the following code, which gives me a byte array from a String object. byte[] bytArr = null; bytArr = <String object>.getBytes("UnicodeBigUnmarked"); System.out.println(bytArr.toString()); The output is different in Windows and in
-
Client IP address on Web Forms
Hi Friends, I tried to get IP Address of Client by using SYS_CONTEXT('USERENV','IP_ADDRESS') in a database function but the problem it always brings the Forms Server IP Address instead of Client Ip Address on Web Forms. I'm just wondering is there an
-
Is it possible ? Text Object
to programmatically reduce text inputed via xml to its bitmap primative ?
-
Error trying to Reply to message
I'm trying to reply to a message in the Acrobat-Javascript forum, but when I click on 'Reply', I get an error and the reply fields do not show up. They work in other messages on that forum. I rebooted my browser, but the same thing happens. Is there