Admiral Admiral
Admiral
201 views

Using calculated metrics to define a range

Jump to solution

Hi,

 

In SiteScope I want to have a CPU monitor:

 

- Go to Error when CPU load ==100% after two consecutive polls

- Go to Warning when CPU load is between 90% AND 99% after two consecutive polls

- Avoid the monitor send both Error AND Warning when value ==100

 

This is what I've done:

 

Calc_Error:

(<<utilization>>>=100)&&(#previous(<<utilization>>)>=100)

 

Calc_Warning:
<<utilization>>>=90&&#previous(<<utilization>>)>=90
<<utilization>><=99&&#previous(<<utilization>>)<=99

 

Threshold Error == 'true'

Threshold Warning == 'true'

 

This seems to work fine, but I'd appreciate feedback from HP experts if this is the correct way to achieve what I want.

 

Regards,

Dasomm

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Hi,

 

Seems fine, as long as the correct Logic operators are used to define the boolean calculated metric that you will evaluate in thresholds.

Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

View solution in original post

2 Replies
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Hi,

 

Seems fine, as long as the correct Logic operators are used to define the boolean calculated metric that you will evaluate in thresholds.

Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

View solution in original post

Admiral Admiral
Admiral

Thanks, Kenneth!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.