• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Darwin W. · Sep 05, 2014 at 02:50 PM ·

Modifying default Host disk space monitoring thresholds

Hello,

Not sure if this is the right forum but would appreciate some help.  We have Dynatrace 5.5 and I'm trying to change the minimum disk space thresholds from the default 3% and 1GB for Host monitors.  Found this link but still having problems getting the new values to work:

Host Health Monitoring

 

I've placed my settings in dtserver.ini, and restarted but still only getting the default thresholds:

1) Do i have to specify the units of measurement in the parameters?  example if i wanted minFree space less than 10GB: -Dcom.dynatrace.diagnostics.healthDiskMinFreeSpaceThreshold=10 ?  or 10GB?

2) What happens if I only want to set the threshold for MinFreePercent and ignore space?  How is that written?

3) How do i modify this default disk alert to send more than just the default ONE notification?  I want it to send multiple times until monitor is good again.

4) Am I supposed to use the misspelled Threashold or correctly spelled Threshold spelling?    I am using Dynatrace 5.5

Thanks!

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

8 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Hannah M. · Sep 09, 2014 at 09:02 PM

moved to dynaTrace Forum

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Haeun C. · Sep 10, 2014 at 12:42 AM

Hi,

For memory, I had to use bytes. For example: -Dcom.dynatrace.diagnostics.healthMemAvailableThreshold=500000000

Then restart the dynaTrace server.

As for free space, why not set it to a very low value such as 1 Megabyte?

For the misspell, it seems it will work with both in future versions but might be safe to stick to the misspell for now as Version 6.0 Host Health Monitoring says even 6.0 GA had the misspell. 

Josh

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Juan U. · Oct 26, 2014 at 02:21 AM

Hi,

I 'm trying to change the same parameter but Dynatrace is just accepting GB units and I need to set MB units, example:

Dcom.dynatrace.diagnostics.healthDiskMinFreeSpaceThreshold=3000000000     (Ok for 3 GB)

  Dcom.dynatrace.diagnostics.healthDiskMinFreeSpaceThreshold=5000000000   (Ok for 5 GB)

 Dcom.dynatrace.diagnostics.healthDiskMinFreeSpaceThreshold=500000000    (not Ok for 500MB)

 Dcom.dynatrace.diagnostics.healthDiskMinFreeSpaceThreshold=2500000000   (not Ok for 2,5 GB)

Juan

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Guenter H. · Oct 28, 2014 at 01:15 AM 0
Share

Hi,
I confronted R&D with it. Bear with me for the one or other hour.

One thing I could confirm: The somewhat awkward unit Byte stems from the fact that it was only meant for dev. With other settings you can specify other units like MB or GB.
Thanks
G.

avatar image

Answer by Juan U. · Oct 28, 2014 at 11:05 AM

Hi,

Dcom.dynatrace.diagnostics.healthDiskMinFreeSpaceThreshold=500MB  DynaTrace takes this configuration like 1 GB

Thanks

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Georg S. · Nov 04, 2014 at 11:16 PM

jcurbina@mainsoft.cl  if you put any characters other than decimals at the end of this parameter parsing will fail and the value is defaulted to 1GB. You have to specify the value in bytes.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Georg S. · Nov 04, 2014 at 11:22 PM

The shown tooltip in the UI is a rounded value therefore 500000000 will be shown as 0GB!

 

Regards,

Georg

Comment

People who like this

0 Show 3 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Juan U. · Nov 05, 2014 at 07:58 AM 0
Share

Thanks for your information. I could confirm also with support that we must use bytes units. Also the Alert will be raised when both condition is met (% free space and free space Mbytes).

Juan

avatar image Guenter H. Juan U. · Nov 05, 2014 at 08:28 PM 0
Share

Hola, Juan!
I just updated the documentation with the info I gleaned from this thread and after verification with the dev.

To summarize everything in this thread I put the text right below.

We are aware of the clunky UI, but it will not yet change in the upcoming release!

Thanks a ton for pointing this out and for your patience!
I´d kindly ask you for feedback on the new text!
G.

To change the behavior, define different values for the thresholds in <DT_HOME>/dtserver.ini. E.g.
-Dcom.dynatrace.diagnostics.healthMemPercentageAvailableThreshold=5
to set the memory-percentage-available-threshold to lower-than-default 5% and / or
-Dcom.dynatrace.diagnostics.healthMemAvailableThreshold=500000000
to set the memory-available-threshold to lower-than-default 500000000 Bytes (roughly 500MB or .5 GB).

Absolute sizes must be stated in Bytes, not MB or GB.
All sizes must not have any units attached. Settings other than purely numeric will be ignored.

If you want to ignore one of two ANDed values, just set an unreachable value.
In the example above: 0 for the percentage or 0 for memory size.

avatar image Juan U. Guenter H. · Nov 06, 2014 at 01:53 AM 0
Share

Hi Guenter,

Thanks a lo tfor your support.

I'm a little bit confused because I have the following response about a support ticket where they told me is an AND between both conditions, so setting healthDiskMinFreePercentageThreashold=0, I believe is not going to work. 

"This is working as designed.
Alert will be raised when both condition is met.
1) -Dcom.dynatrace.diagnostics.healthDiskMinFreePercentageThreashold=1
2) -Dcom.dynatrace.diagnostics.healthDiskMinFreeSpaceThreashold=500MB

You need to change healthDiskMinFreePercentageThreashold value
if you wants to trigger alar when disk space is less than 500MB.
To trigger disk alarm with 1%, disk size needs to be larger than 50GB"

 

In my case our customer have several filesystem with less than 30 GB and they want to be alerted when disk free space is 500 MB.

 

Thanks,

 

Juan

 

 

 

avatar image

Answer by Guenter H. · Nov 07, 2014 at 12:09 AM

Hi Juan,
thanks for the feedback that made us actually take a pencil and paper and make a truth table to find out we had it upside down. <fg>

What did we (here at Dynatrace) learn?
Question dev statements, use your own brains and TRY things (at least on paper, but then you rely on dev statements again). (wink)
Hope that helps
G.

To change the behavior, define different values for the thresholds in <DT_HOME>/dtserver.ini. E.g.
-Dcom.dynatrace.diagnostics.healthMemPercentageAvailableThreshold=5
to set the memory-percentage-available-threshold to 5%. (higher than default)

-Dcom.dynatrace.diagnostics.healthMemAvailableThreshold=500000000
to set the memory-available-threshold to 500,000,000 Bytes (roughly 500MB or .5 GB; lower than default).

Absolute sizes must be stated in Bytes, not MB or GB.
All sizes must not have any units attached. Settings other than long integer will be ignored.

There are conditions like Alert when memory available < n% AND < nBytes. If you want to ignore one of two ANDed values, just set a threshold that will be reached for sure. In the example above: Set a very high percentage or size. Memory available < 100% will always return true, so lastly an alert will be triggered when memory available < nBytes becomes true.
Please mind in testing: The whole memory group is considered unhealthy when either memory available is too low or page faults per second are too high. So an alert could also stem from page faults and not from memory available.

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Juan U. · Nov 07, 2014 at 09:01 AM 0
Share

Hi Guenter,

Great!

This is working as the client wanted, It could be perfect if the alert message includes the filesystem name who trigger the incident. I suppose is needed an enhancement for this.

Thanks a lot for your help.

Best Regards,

Juan Urbina

avatar image

Answer by Saad T. · Mar 17, 2015 at 05:06 PM

Heyz , 

Is there away to remove one of the values completely ? like if I want to check only based on disk % or if there away to update the alert caption that says "at least one disk  less than .. and less than .. 

Thanks

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Guenter H. · Mar 23, 2015 at 08:07 PM 0
Share

Saad,
I´m not sure if I understand exactly.

Q: "If I want to check only based on disk %..."
A above: "If you want to ignore one of two ANDed values..."

Please elaborate, if I misunderstood!

G.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A