NetXMS Support Forum

English Support => General Support => Topic started by: a4katapz on July 27, 2015, 11:37:35 PM

Title: Device availability time in percent(mikrotik)
Post by: a4katapz on July 27, 2015, 11:37:35 PM
I wonder is there any way to NetXMS to show the device(mikrotik) availability time for a month in percent?
For example - Last 30days : 96.4%

Thank you!
Title: Re: Device availability time in percent(mikrotik)
Post by: tomaskir on July 27, 2015, 11:40:02 PM
Yes, you can use this:
https://wiki.netxms.org/wiki/MTBF_(Mean_Time_Between_Failures)_and_MTTR_(Mean_Time_To_Repair)_Calculation

Result looks like this:
(https://www.netxms.org/forum/configuration/device-availability-time-in-percent(mikrotik)/?action=dlattach;attach=2381;image)
Title: Re: Device availability time in percent(mikrotik)
Post by: a4katapz on July 29, 2015, 01:26:46 AM
Thank you, Thomas!
I am not at my NetXMS machine , but I will try it this weekend.Looks helpful :-)
Title: Re: Device availability time in percent(mikrotik)
Post by: a4katapz on September 16, 2015, 11:43:37 AM
Hello again!
Is there any way to put the availability into a DCI summery table?
I tried, but when I choose the availability parametar in the DCI Summery table I receive the number of failures only?!? I think this is because the DCI name is just "dummy" and I don't know how to transform it for the availability time.
Title: Re: Device availability time in percent(mikrotik)
Post by: tomaskir on September 16, 2015, 12:48:16 PM
Multiple options here:
1) You can convert them to Script type DCIs, those have unique parameters (which is the script name).
2) You can use instance with "dummy" type DCIs. It is ignored, and can be used for the "dummy" type DCI to have a unique parameter.
Example: dummy("something")
Title: Re: Device availability time in percent(mikrotik)
Post by: a4katapz on September 16, 2015, 03:20:31 PM
Thanks Thomas for your fast respond!
As I see from the scrypt, the parameter is called "perAvailability" , but when I try to add Dummy("perAvailability") , nothing happens, blank fields only!
I am using v2.0 RC1
Am I forgetting something or just not doing it right?
Title: Re: Device availability time in percent(mikrotik)
Post by: tomaskir on September 17, 2015, 01:08:56 AM
You need to pick one of those options.
1) So either covert it to a script DCI (and create the corresponding script) and then modify the Summary Table.
2) Modify the dummy rule to add the instance to it and then modify the Summary Table.

We use it like this as well, it works.

If it still doesnt work for you, post a screenshot of your DCI config and your Summary Table config.
Title: Re: Device availability time in percent(mikrotik)
Post by: a4katapz on September 17, 2015, 05:14:32 PM
Thanks Thomas!
Everything works great now!