NSP:Sorry Dave, i can't let you do that.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

NSP:Sorry Dave, i can't let you do that.

Post by cheritie »

I have tried to set Nagio's server date and followed step from the Nagios FAQ.
However it still gave me the error message.

I have changed php.ini file to set the timezone but when i run command

yum install ntp
ntpdate time.nist.gov

it would go back to the europe time.

please help.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NSP:Sorry Dave, i can't let you do that.

Post by slansing »

Can you show us your date.timezone line in /etc/php.ini?

Code: Select all

vi /etc/php.ini

/date.timezone =
Also, make sure to restart Apache after making changes.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NSP:Sorry Dave, i can't let you do that.

Post by lmiltchev »

Try setting the system time this way:

Find your location in "/usr/share/zoneinfo":

Code: Select all

ls /usr/share/zoneinfo
You can drill down more, for example:

Code: Select all

ls /usr/share/zoneinfo/America
or

Code: Select all

ls /usr/share/zoneinfo/Europe
Then, make a backup of the existing localtime file. It’s always good practice to make backups of original config files.

Code: Select all

mv /etc/localtime /etc/localtime.bak
Create a link (for example, you want to use "Chicago" for the timezone):

Code: Select all

ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
Try running:

Code: Select all

ntpdate pool.ntp.org
Verify your date:

Code: Select all

date
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: NSP:Sorry Dave, i can't let you do that.

Post by cheritie »

It works! Thank you
pcollado1
Posts: 7
Joined: Fri Feb 22, 2013 12:42 pm

Re: NSP:Sorry Dave, i can't let you do that.

Post by pcollado1 »

Hi,

We have downloaded the Nagios XI Virtual image hosted on CentOS for Windows. We have installed and now trying to access the web interface for further configuration. I'm getting the NSP: Sorry Dave, I can't let you do that, error message. I tried all the suggestions for date.timezone changes and still this is not working for us. I can also verify that the date.timezone field int he PHP.INI file is properly reflect the timezone on the Windows hosting the Nagios VM. Therefore, I have run out of options to get this resolved and therefore, decided to ask for your help.

Thank you,

Paul C.
455157
Posts: 51
Joined: Mon Sep 10, 2012 7:35 pm

Re: NSP:Sorry Dave, i can't let you do that.

Post by 455157 »

Did you remember to restart apache after making the timezone changes?

The command is:

service httpd restart
pcollado1
Posts: 7
Joined: Fri Feb 22, 2013 12:42 pm

Re: NSP:Sorry Dave, i can't let you do that.

Post by pcollado1 »

Yes thank you, I did issued the command to restart the apache server.

Also, when I issue the date command, I get "Fri Feb 22 14:12:17 UTC 2013" and when I check the php.ini date.timezone I see "date.timezone = America/New_York". These settings match the Windows 7 Professional workstation that is currently hosting the NagiosXI VM image I downloaded from the site.

Just wanted to note that I downloaded the VM image from the Nagios site and followed the initial configuration process. It stated that the VM image is already configured and packaged to work. Don't really know if I had to do any additional configuration. The only change I performed to the NagiosXI image, once installed, was the date / time update on the PHP.INI files and the CentOS side. Also, I reset the nagiosadmin password to something that I can use so that I could also test the login to the NagiosXI web interface.

Thank for the prompt response,

Paul C.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NSP:Sorry Dave, i can't let you do that.

Post by lmiltchev »

Is your problem fixed now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
pcollado1
Posts: 7
Joined: Fri Feb 22, 2013 12:42 pm

Re: NSP:Sorry Dave, i can't let you do that.

Post by pcollado1 »

No, not yet, same issue after performing the Apache restart.

Thank you,

Paul C.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NSP:Sorry Dave, i can't let you do that.

Post by scottwilkerson »

Is the date and time on your workstation correct?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked