So how do I change it?
How do I change the time in nagiosxi?
How do I change the time in nagiosxi?
The clock is totally wrong in my webinterface nagiosxi. Its default in the vmware machine. Never had the chanse to set it.
So how do I change it?

So how do I change it?
Re: How do I change the time in nagiosxi?
It's likely that VMWare needs to be told to report the time in GMT. Lunux/UNIX systems store the wall clock time differently in the hardware clock(CMOS??). Windows stores local-time and Linux uses GMT(London), so your clock is likely 6hrs off.
Linux can be told to use localtime, however I wouldn't expect that and think it's strange.
You may also need to run 'tzconfig' to configure the local time zone.
Linux can be told to use localtime, however I wouldn't expect that and think it's strange.
You may also need to run 'tzconfig' to configure the local time zone.
Re: How do I change the time in nagiosxi?
The localtime file in /etc is probably wrong (mine was.) Easiest thing to do is find something that is in your timezone within the /usr/share/zoneinfo directory tree and link it to the localtime file. I just made a backup copy of my localtime file then linked. Something like:
(1) mv localtime localtime.bak
(2) ln -s /usr/share/zoneinfo/America/Vancouver /etc/localtime
(1) mv localtime localtime.bak
(2) ln -s /usr/share/zoneinfo/America/Vancouver /etc/localtime
Re: How do I change the time in nagiosxi?
Thank you for your help.
But I solved it my self. It was pretty easy. I was to hooked up on that nagiosxi had the problem.
Off course so was not the case. The system it lais on was. CentOS.
So a system-config-date was all it took.
Thank you anyway.
If anyone sees this, if you can tell me where to find more documents and facts for nagiosxi.
I have this page, and its all good
. And Nagios Wiki feels undone.
It would be great if there would be more pages.
But I solved it my self. It was pretty easy. I was to hooked up on that nagiosxi had the problem.
Off course so was not the case. The system it lais on was. CentOS.
So a system-config-date was all it took.
Thank you anyway.
If anyone sees this, if you can tell me where to find more documents and facts for nagiosxi.
I have this page, and its all good
It would be great if there would be more pages.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How do I change the time in nagiosxi?
Thanks for this, it fixed my problem. Just so it's very clear here are the steps I took to make it work:SomeClown wrote:The localtime file in /etc is probably wrong (mine was.) Easiest thing to do is find something that is in your timezone within the /usr/share/zoneinfo directory tree and link it to the localtime file. I just made a backup copy of my localtime file then linked. Something like:
(1) mv localtime localtime.bak
(2) ln -s /usr/share/zoneinfo/America/Vancouver /etc/localtime
Open a console session or a putty session to the Nagios XI host
- Type cd /etc and press Enter
Type mv localtime localtime.bak and press Enter
Type ln -s /usr/share/zoneinfo/America/Vancouver /etc/localtime and press Enter
Type date and press Enter
This should now show the date / time for your timezone
And then we reboot the Nagios XI host
Type reboot and press Enter
Another method is to install the system-config-date utility.
Open a console session or a putty session to the Nagios XI host
- Type yum install ntp system-config-date and press Enter
Answer the questions to install the package
Type service ntpd start and press Enter
Type system-config-date and press Enter
Select your timezone and save
Type date and press Enter
This should now show the date / time for your timezone
Last edited by Box293 on Wed Jun 09, 2010 6:43 am, edited 2 times in total.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Setting the time
I've tried doing a search for this, but pretty much anything I search for on this forum comes back with a "this is too common", so I'll just ask the question - how do I set the local time? Currently I'm in PST, but the program is showing CST. I can't find anywhere in the GUI to change this, nor anything in the help files.
Thanks.
Thanks.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Setting the time
Here you go.
http://support.nagios.com/forum/viewtop ... t=159#p906
mmestnik edit:
For conveyance you can try using our little tiny url service:
http://go.nagios.com/forum/159/906
I think you'll agree this rocks.
http://support.nagios.com/forum/viewtop ... t=159#p906
mmestnik edit:
For conveyance you can try using our little tiny url service:
http://go.nagios.com/forum/159/906
I think you'll agree this rocks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Setting the time
Thanks. I followed this exactly (I'm also in the same timezone as Vancouver) and now I'm 7 hours off instead of two. What am I missing? Thanks.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Setting the time
Hopefully the forum moderators will have a better answer, this is beyond my knowledge scope 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Setting the time
No worries - thanks for trying! 