95th Percentile on exisiting template

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

95th Percentile on exisiting template

Post by zaji_nms »

Dear Expert,

how can i draw and insert 95th percentile for bandwidth graph template ? "check_xi_service_mrtgtraf.php"

" HRULE: |95:bits:0:max:2| for average value "
Zajil NMS
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: 95th Percentile on exisiting template

Post by scottwilkerson »

you can make modification to them in Admin -> graph Templates

PNP Docs
http://docs.pnp4nagios.org/pnp-0.4/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: 95th Percentile on exisiting template

Post by zaji_nms »

couldnt get any help from the above link , i have tried couple of things but not working...i have attached snap which is working on cacti we need similar in xi pnp.
You do not have the required permissions to view the files attached to this post.
Zajil NMS
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: 95th Percentile on exisiting template

Post by scottwilkerson »

We are looking into getting this information in the template, we will report back if we find a solution
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: 95th Percentile on exisiting template

Post by zaji_nms »

any update ???
Zajil NMS
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: 95th Percentile on exisiting template

Post by scottwilkerson »

I still have a developer with this on their list to look at, he should be coming back with a response some time soon.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: 95th Percentile on exisiting template

Post by nscott »

Alright, I have something I would like you to try. I have attached a file called 'check_xi_service_mrtgtraf.zip'. Please download it to your your Nagios XI server, you will need to unzip it there as well, so here is assuming that you put this zip file on your Nagios XI server in the /tmp directory, these are the exact shell commands you will need to run:

From the Nagios XI server's command line:

Code: Select all

cd /tmp
unzip check_xi_service_mrtgtraf.zip
mv /usr/local/nagios/share/pnp/templates/check_xi_service_mrtgtraf.php /usr/local/nagios/share/pnp/templates/check_xi_service_mrtgtraf.php.old
mv /tmp/check_xi_service_mrtgtraf.php /usr/local/nagios/share/pnp/templates/check_xi_service_mrtgtraf.php
service httpd restart
The httpd restart at the end simply flushes the PNG cache that exists of your network graphs.

All routers that you are monitoring that you used the Router/Switch wizard to start monitoring should now be showing up with addition 95th percentile lines/numbers, as well as prettier graphs.
You do not have the required permissions to view the files attached to this post.
Nicholas Scott
Former Nagios employee
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: 95th Percentile on exisiting template

Post by zaji_nms »

we would like to know what parameters and variable you have selected and how did u calculated 95th per plz post the math logic

we have tested it, it's working fine.

Regards..
Zajil NMS
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: 95th Percentile on exisiting template

Post by scottwilkerson »

The logic is all in the check_xi_service_mrtgtraf.php
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: 95th Percentile on exisiting template

Post by zaji_nms »

scottwilkerson wrote:The logic is all in the check_xi_service_mrtgtraf.php
cant understand plz if u dont mind explain it in detail.
Zajil NMS