Memory WARN/CRIT

Hi guys.
CEE 1.2.6p16.

I’ve this values being monitored for a long time now.

Can you explain this to me?

I have this on main.mk.

checkgroup_parameters.setdefault(‘memory_pagefile_win’, [])
checkgroup_parameters[‘memory_pagefile_win’] = [ ( {‘average’: 15, ‘memory’: (85.0, 95.0)}, [], ALL_HOSTS ) ]

Every windows host. During 15 minutes, if memory it’s above 85%, warn. Above 95, crit.

I do a quick livestatus query and i get:

SERVER01;Memory and pagefile;CRIT - Memory usage: 91.9% (14.7/16.0 GB)(!!), Page file usage: 95.9% (19.2/20.0 GB)(!!)
SERVER02;Memory and pagefile;CRIT - Memory usage: 93.3% (14.9/16.0 GB)(!!), Page file usage: 49.1% (15.7/32.0 GB)
SERVER03;Memory and pagefile;CRIT - Memory usage: 92.0% (14.7/16.0 GB)(!!), Page file usage: 24.1% (15.4/64.0 GB)

That’s just not possible.

Is there a way to check all the rules beind followed?
Dump all the rules? mk files, wato, etc, in one line?

I triple checked every rule i have.

There is nothing specific.

Thanks!

Hi @gera83,

your Systems are CRIT about the Memory Usage (you can see the exclaimation marks behind the value setting CRIT). The rule you are looking for is named Memory and pagefile levels for Windows and if you haven’t such a rule the default thresholds are 80/90.
Maybe there are other rules overwriting your values at main.mk (which shouldn’t be used on the CEE). Simple take on of the services and hit the small Parameters for this Service button to locate the rule which is responsible for the thresholds.

p.s.: you are running on a damn old version.

1 Like

Haha, i have 1.4.0 and 1.6.0.
And i love mk files. I’m using them since 2015.
Centralized. I have a lot of nodes.

So, i have search every rule.
There is nothing there.

Any other help?

Anyone know how to DUMP all the rules on linux?
Is there any omd command? cmk command?

Thanks!

@tosch said it before Inside WATO you go to your service and let it show you all rules who do anything with this service.
The icon is the “View and edit parameters for this service” and there you see all rules with the green dot who match to your service.
For the windows memory this can be more than one rule if memory and pagefile are defined in different rules.

With version 1.6 it is not recommended anymore to edit the mk files manually as there are too many settings made by the system. If you don’t want to use WATO you can use the API to modify and manage your hosts and rules.

With the API it is also possible to get all rules defined in your system. But the matching must be then made by yourself.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.