Page 1 of 1
New Setup
Posted: Mon Jan 31, 2011 12:55 pm
by ccyre
Got the vim installed in vmware, powered it on, set the DNS and IP settings down and up the NIC, it pings, go to the web page type in the admin name email and password, hit install and get an NSP Sorry can't do that dave. Is the time/date set wrong on the vm? What CentOS commands are needed to do that? Thanks
Re: New Setup
Posted: Mon Jan 31, 2011 4:05 pm
by mguthrie
Yeah that's probably just a date/time issue. I believe the command is:
ntpdate <timeserver url>
but you might have to install ntpdate. After doing that, hold shift and hit the refresh button on your browser to reload the javascript cache.
Re: New Setup
Posted: Mon Mar 14, 2011 11:57 am
by robertferguson
I attempted this and received this error '-bash: ntpdate: command not found'. How do I install NTP?
Thanks,
Re: New Setup
Posted: Tue Mar 15, 2011 12:11 pm
by rdedon
Managing Nagios Time
The correct time on a server is critical, especially for Nagios. Synchronized time with other servers is important to
coordinate tasks and discover problems. One easy way to perform this task is to install ntp (Network Time Protocol)
and then manually have the system check time once a day in order to manage time.
yum install y ntp
Manually update your time. Here you can see the system is off by 12 seconds so it will be corrected gradually with
each check.
ntpdate pool.ntp.org
11 Mar 12:09:55 ntpdate[24725]: step time server 192.168.*.* offset 10900.806712 sec
12 sec
Create a cron entry so that each day your system is brought up to date.
crontab e
45 23 * * * /usr/sbin/ntpdate pool.ntp.org