pnp4nagios graphs are showing wrong dates.
-
- Posts: 222
- Joined: Thu Jul 06, 2017 8:55 am
pnp4nagios graphs are showing wrong dates.
Hi Team,
We are facing the issue with wrong graph details. Could you please find the details for screen shot.
We are requested to show the graph between 1:53 to 5:53 but its showing wrong timings. Can some body help on this.
We are facing the issue with wrong graph details. Could you please find the details for screen shot.
We are requested to show the graph between 1:53 to 5:53 but its showing wrong timings. Can some body help on this.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: pnp4nagios graphs are showing wrong dates.
Can you verify your PHP timezone matches your system timezone by running the following commands
Code: Select all
grep date.timezone /etc/php.ini
date
-
- Posts: 222
- Joined: Thu Jul 06, 2017 8:55 am
Re: pnp4nagios graphs are showing wrong dates.
Hi Team,
We have seen that php.ini, But in that time timezone was commented. And We have another server we have seen same php.ini in that file also time zone is commented.
Could you please help us what needs to be check more and how to resolve this.
We have seen that php.ini, But in that time timezone was commented. And We have another server we have seen same php.ini in that file also time zone is commented.
Could you please help us what needs to be check more and how to resolve this.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: pnp4nagios graphs are showing wrong dates.
It should be uncommented and then please show the output of these commands, we need to verify they match
Code: Select all
grep date.timezone /etc/php.ini
date
-
- Posts: 222
- Joined: Thu Jul 06, 2017 8:55 am
Re: pnp4nagios graphs are showing wrong dates.
Hi Team,
Kindly find the below details do the needful on this to resolve this.
Kindly find the below details do the needful on this to resolve this.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: pnp4nagios graphs are showing wrong dates.
Change the field in /etc/php.ini to
then restart httpd
Code: Select all
date.timezone = 'Europe/Berlin';
Code: Select all
service httpd restart
-
- Posts: 222
- Joined: Thu Jul 06, 2017 8:55 am
Re: pnp4nagios graphs are showing wrong dates.
Hi Team,
thanks its works for me without restarting the service. Can we automate the report for every week or month. The user wants graph for every one week on particular service shall we do automate this graphs.
Ex: On X host cpu, memory, filesystem graphs he wants every week. shall we do this automate for multiple host.
thanks its works for me without restarting the service. Can we automate the report for every week or month. The user wants graph for every one week on particular service shall we do automate this graphs.
Ex: On X host cpu, memory, filesystem graphs he wants every week. shall we do this automate for multiple host.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: pnp4nagios graphs are showing wrong dates.
There isn't automated reports in Nagios Core, however, in Nagios XI you can accomplish this
https://www.nagios.com/products/nagios-xi/
https://www.nagios.com/products/nagios-xi/
-
- Posts: 222
- Joined: Thu Jul 06, 2017 8:55 am
Re: pnp4nagios graphs are showing wrong dates.
Hi Team,
Iknow in nagiosxi we have available.Can't we enable the graph in nagios core. Is there any possibility like how we enable like page, the same is it possible?
Iknow in nagiosxi we have available.Can't we enable the graph in nagios core. Is there any possibility like how we enable like page, the same is it possible?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: pnp4nagios graphs are showing wrong dates.
Actually, in Nagios Core graphing isn't even a function of the project, you need to add it with an addon such as pnp4nagios.grayloglearn wrote:Hi Team,
Iknow in nagiosxi we have available.Can't we enable the graph in nagios core. Is there any possibility like how we enable like page, the same is it possible?
The only way to get graphs in a report in Core would be to create that functionality yourself.
This is the developers of Nagios XI have done a lot of the heaving lifting for you.