Sorry Dave, I can't let you do that error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Sorry Dave, I can't let you do that error

Post by lamin »

what do you mean terminal window. I onnect via putty run date command i AM GETTING THE same dtae and time. How about data not populating in the table I mentioned before.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Sorry Dave, I can't let you do that error

Post by mguthrie »

Try restarting both msql and postgresql

service mysqld restart
service postgresql restart
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Sorry Dave, I can't let you do that error

Post by lamin »

It seems like nagios is not storing data in nagios_servicechecks table because it is the only table empty. Please verify that and let me know because after following all your instructions and directions i am still get no data in that table. In addition, that silly message Dave is still there.

Thanks
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Sorry Dave, I can't let you do that error

Post by rdedon »

To get back to the "time change" that was done. How did you synchronize it via putty? I would suggest something of this nature if you haven't already:

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
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Sorry Dave, I can't let you do that error

Post by lamin »

I am getting this error after the upgrade.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Sorry Dave, I can't let you do that error

Post by mguthrie »

Lets focus on a single issue at a time. Lets check the PHP timezone settings in your /etc/php.ini file. It's possible the UTC offset is incorrect for PHP.
http://support.nagios.com/wiki/index.ph ... e.22_Error


Try running the following scripts as well to make sure your backend is functioning properly.
/usr/local/nagiosxi/scripts/repairmysql.sh nagios *
/usr/local/nagiosxi/tools/fix_postgres_sequences.sh
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Sorry Dave, I can't let you do that error

Post by lamin »

I have changed the date.timezone since last week.
You do not have the required permissions to view the files attached to this post.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Sorry Dave, I can't let you do that error

Post by rdedon »

It looks like the servers were busy, please try again for that to be sure. It should look like this:
ntp.jpg
This is also a VM.
You do not have the required permissions to view the files attached to this post.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Sorry Dave, I can't let you do that error

Post by lamin »

I havr tried again but no luck
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Sorry Dave, I can't let you do that error

Post by mguthrie »

Does your company have a firewall or proxy setup that might be preventing the use of yum? It would appear it's not making contact with the outside world.

Once yum is working, you can run the following commands.

Try:

Code: Select all

yum install ntp
Once installed, run

Code: Select all

ntpdate time.nist.gov
Locked