Hi,
I want to be able to display the top ten of a particular metric. For example: head -10 (sort (for all hosts in hostgroup(nfsclients) get the metric service(nfs_stats)metric(nfs_apps_read))))
I want that displayed in simple text form as a list, no fancy fonts/graphics etc.
Is there already a dashlet to do this or can you provide a dashlet writing guide that I can use?
so basically I want to be able to give the dashlet the title, the hostgroup/servicegroup and the metric to search for (regex)
Thank you
Sanjay
Dashlet to display top ten of a particular metric
-
sanjayhiranisq
- Posts: 32
- Joined: Tue Sep 13, 2016 3:04 am
Re: Dashlet to display top ten of a particular metric
Have you considered using the Metrics component? With the Metrics component, you could show "top 10" of various metrics (Disk/CPU/Memory Usage, Load, & Swap).
Home->Details->Metrics
Home->Details->Metrics
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
sanjayhiranisq
- Posts: 32
- Joined: Tue Sep 13, 2016 3:04 am
Re: Dashlet to display top ten of a particular metric
Hi,
the metric tool only shows be about 5 metrics for a server. Is there any way to be able to choose any metric?
Thank you
Sanjay
the metric tool only shows be about 5 metrics for a server. Is there any way to be able to choose any metric?
Thank you
Sanjay
Re: Dashlet to display top ten of a particular metric
That functionality doesn't currently exist, I've created a feature request for you:
I am unaware of any documentation that tells you how to write your own dashlets.
Let me know if you have any questions.
Thank you
Code: Select all
NEW TASK ID 9814 created - Nagios XI Feature Request: Metrics/Dashlet - Add the ability to use regex to specify what metrics should be shownLet me know if you have any questions.
Thank you