Page 1 of 2
95th Percentile on exisiting template
Posted: Wed Jan 09, 2013 7:59 am
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 "
Re: 95th Percentile on exisiting template
Posted: Thu Jan 10, 2013 10:34 am
by scottwilkerson
you can make modification to them in Admin -> Graph Templates
PNP Docs
http://docs.pnp4nagios.org/pnp-0.4/
Re: 95th Percentile on exisiting template
Posted: Fri Jan 11, 2013 2:34 am
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.
Re: 95th Percentile on exisiting template
Posted: Fri Jan 11, 2013 4:54 pm
by scottwilkerson
We are looking into getting this information in the template, we will report back if we find a solution
Re: 95th Percentile on exisiting template
Posted: Thu Jan 17, 2013 12:37 am
by zaji_nms
any update ???
Re: 95th Percentile on exisiting template
Posted: Thu Jan 17, 2013 5:32 pm
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.
Re: 95th Percentile on exisiting template
Posted: Thu Jan 17, 2013 8:14 pm
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.
Re: 95th Percentile on exisiting template
Posted: Tue Jan 29, 2013 2:52 am
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..
Re: 95th Percentile on exisiting template
Posted: Tue Jan 29, 2013 7:25 am
by scottwilkerson
The logic is all in the check_xi_service_mrtgtraf.php
Re: 95th Percentile on exisiting template
Posted: Tue Jan 29, 2013 8:08 am
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.