Anonymous_User Absent Member.
Absent Member.
1385 views

Calculating Average availability for NOC elements


We have 7 wireless networking "probes" that we are using to check the
availability of the wireless network. Each runs a script which creates a
critical alert in NOC (via AppManager) when it fails. We would like to
calculate availability as an average across all 7 probes (or more, when
we add them). For example, today's availability numbers are as follows:

Wireless Probe 1 98.33
Wireless Probe 2 99.728
Wireless Probe 3 61.426
Wireless Probe 4 88.444
Wireless Probe 5 90.946
Wireless Probe 6 78.704
Wireless Probe 7 86.52

And so the average availability for all probes would be 86.3.

I am not sure how to do this in the Service Level Agreements
configuration. We are only doing a basic availability number at this
point.

Thanks.

Steve


--
hebron1212
------------------------------------------------------------------------
hebron1212's Profile: https://forums.netiq.com/member.php?userid=6896
View this thread: https://forums.netiq.com/showthread.php?t=50197

Labels (1)
0 Likes
6 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Calculating Average availability for NOC elements


I think I would start with creating a view called Wireless Network. I
would then link these probe elements to that view. I would create a
metamodel page and associate it to Wireless Network. I would put a
computed property on the page that walks the children and calculates the
children (probes) availability. If that looks like it is working well,
I would then put the SLA on the Wireless Network element for it to be n
or higher.

Of course this is a high level answer and there is work to do it such as
the computed property (java script), but that is where I would start.


--
tisenberg
------------------------------------------------------------------------
tisenberg's Profile: https://forums.netiq.com/member.php?userid=1851
View this thread: https://forums.netiq.com/showthread.php?t=50197

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Calculating Average availability for NOC elements


Thanks, Tobin.

I think we have the first part configured for availability and it is
working well. For the second part, it looks like we would add an action
in the SLA objective configuration to call the javascript. Is that
correct? Beyond that, I would not know how to code something like that.
Is that something support would assist with or would that have to be Pro
Services?

Steve


--
hebron1212
------------------------------------------------------------------------
hebron1212's Profile: https://forums.netiq.com/member.php?userid=6896
View this thread: https://forums.netiq.com/showthread.php?t=50197

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Calculating Average availability for NOC elements


And, if we did code it ourselves, how would we be able to get that
average availability number back into the BSM/dashboard?


--
hebron1212
------------------------------------------------------------------------
hebron1212's Profile: https://forums.netiq.com/member.php?userid=6896
View this thread: https://forums.netiq.com/showthread.php?t=50197

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Calculating Average availability for NOC elements


The code is not part of the SLA, it is part of the metamodel comuted
property field. Make sure it is a number and then configure SLM to
check it to be higher than a specific number.

As for the display, you could use the element properties portlet (there
are two). Not sure I would do that unless you were doing this for many
things. The other option is to create a custom nodestyle that has the
name (Wireless blah, blah, blah) and then put the property value
(average) right in the nodestyle so it is shown in the layout view.

As for how-to's if you are lost in what to do first, support is not
geared towards doing that. It is more of a consulting gig. EMail me
your contact details (TIsenberg@NetIQ.com) and we can discuss this a
little further over email.


--
tisenberg
------------------------------------------------------------------------
tisenberg's Profile: https://forums.netiq.com/member.php?userid=1851
View this thread: https://forums.netiq.com/showthread.php?t=50197

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Calculating Average availability for NOC elements


Thanks, Tobin. Email on the way.


--
hebron1212
------------------------------------------------------------------------
hebron1212's Profile: https://forums.netiq.com/member.php?userid=6896
View this thread: https://forums.netiq.com/showthread.php?t=50197

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Calculating Average availability for NOC elements


hebron1212;241752 Wrote:
> Thanks, Tobin. Email on the way.


For others reading this, I was pretty much giving him a computed
property script something like this (not tested)

var total = 0;
for( var i=0; i<element.children.length; i++)
{
total += element.children[ 'somePropertyWithNumberValue' ];
}
var mathAnswer = blah + blah divided by blah + 2
(mathAnswer)

Then do the math with "i" and Total for average or whatever computation
you want (on the line with 'var mathAnswer').

This is calculated each time something accesses properties of the
element (i.e.; viewing it, profile checking it, etc). This is safe and
dangerous. IE: if the view is regularly hit ( every few seconds) and
has thousands of children, it could cause NOC to take a performance hit
(IE: bad).

Make sure to test anything like this in a real world use case in your
test environment prior to doing something like this in production.


--
tisenberg
------------------------------------------------------------------------
tisenberg's Profile: https://forums.netiq.com/member.php?userid=1851
View this thread: https://forums.netiq.com/showthread.php?t=50197

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.