TECHZEN Zenoss User Community ARCHIVE  

How to create multi-metric event or trigger alert

Subject: How to create multi-metric event or trigger alert
Author: [Not Specified]
Posted: 2015-01-27 15:54

I'm using Zenoss Service Dynamics 4.2.3 and I'm trying to create an event including two metrics. I need to generate a single alert when the following thresholds are met:
mem_MemFree < (here.hw.totalMem * .1)
mem_SwapFree < (here.os.totalSwap * .3)

Should I be trying to generate a single event for these two conditions or should I be creating a trigger that somehow includes both events If this is covered in another post or article, please direct me to the appropriate URL. If not, can someone tell me how to alert on the combination of these conditions

I've already got thresholds set for each of these conditions in the global monitoring tempalte (Server/SSH/Linux)
[Free Memory Threshold (90 Percent)]
- Data Point: mem_MemFree
- Minimum Value: here.hw.totalMemory * .1
- Event Class: /Perf/Memory
- Escalate Count: 3

[Free Swap Threshold (50 Percent)]
- Data Point: mem_SwapFree
- Minimum Value: here.os.totalSwap * .3
- Event Class: /Perf/Memory
- Escalate Count: 3

Folks, I'm hoping someone can help me. If anyone has any suggestions or knows exactly how to alert on this multiple metric condition, please let me know.

Thanks.

Shaun.



Subject: Additional research on need for multi-metric trigger
Author: [Not Specified]
Posted: 2015-02-05 09:31

We've been doing more research on this need and still can't find a solution. Here's the problem we are trying to solve.

Our servers are running Red Hat Enterprise Linux 6.6 and the systems sometimes run with little available system memory but lots of free cache memory as shown below: **(notice the small free mem amt and large free cache and swap)

[root@server007 ~]# free -m
total used free shared buffers cached
Mem: 11562 11346 215 0 345 4661
-/+ buffers/cache: 6339 5223
Swap: 7987 47 7940

This tells us the system has 5438MB free memory out of 11562MB and is not using SWAP at all. However the Zenoss threshold still generates alerts even when set to a maximum of 98%. We need to combine the metrics to alert on something like the following:

- Over 98% Memory Used & Over 75% cache memory used
- Over 98% Memory Used & Over 50% SWAP used

If anyone knows how to configure this type of threshold, trigger or alert, please let us know.

Thanks.



Subject: take a look at the calculated
Author: Andrew Kirch
Posted: 2015-02-05 09:47

take a look at the calculated performance zenpack, and/or an event transform. Either should accomplish this mission.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Here is a better free mem listing of one of our servers
Author: [Not Specified]
Posted: 2015-02-05 10:03

The free mem listing did not come out as expected. I hope this is a better representation:



total used free shared buffers cached
Mem: 11562 11346 215 0 345 4661
-/+ buffers/cache: 6339 5223
Swap: 7987 47 7940


Subject: What about data points on two
Author: [Not Specified]
Posted: 2015-07-08 14:50

What about data points on two different devices Can someone point me in the right direction



< Previous
adding manufacturers and products programaticaly
  Next
Status WMI error event Error collecting performance data: NT_STATUS_CONNECTION_R ...
>