How to create new Standard periods for Reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

How to create new Standard periods for Reporting

Post by RIDS_I2MP »

Hi Team,

Currently in Nagiox XI we see that under standard periods in Performance Graphs we have only 4hrs,24hrs, week, month and year view, though they are very useful they don't really have enough customizability. Off late we are receiving a lot of requests from our technical teams to schedule recurrent reports to be sent every 2hrs, 6hrs,etc.. with the performance data captured between each report. For us to automate this we need to have an option to define our own standard periods. Please help us understand on how we can define new standard periods.
Thanks & Regards,
I2MP Team.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How to create new Standard periods for Reporting

Post by abrist »

Are you using the pnp4nagios graphs, or graph explorer graphs?
How are you automating the graph generation?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: How to create new Standard periods for Reporting

Post by RIDS_I2MP »

we are using Graph explorer graphs and Yes, We are trying to automate the graphs.
Thanks & Regards,
I2MP Team.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to create new Standard periods for Reporting

Post by tmcdonald »

Where specifically in the interface are you looking to make these timeperiod changes? As it stands I am not sure if you are referring to scheduled reports, performance graphs from Home -> Service Details -> Performance Graphs, or performance graphs from Home -> Graph Explorer.
Former Nagios employee
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: How to create new Standard periods for Reporting

Post by RIDS_I2MP »

I'm looking at home->Host graphs. Once on this page on the right hand side we see standard periods with 4-hour, 24-hour,week, month and year views. how can we define more standard periods here.
Thanks & Regards,
I2MP Team.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to create new Standard periods for Reporting

Post by lmiltchev »

The 2 files that need to be modified are: "/usr/local/nagiosxi/html/includes/components/pnp/pnp.inc.php" and "/usr/local/nagiosxi/html/perfgraphs/index.php". Keep in mind that issues caused by adding extra standard periods won't be supported and all of the extra periods that you add will be probably wiped out on an upgrade.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked