Same Ol' NaN,sorry.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Miyamoto
Posts: 9
Joined: Tue Jan 27, 2015 11:07 am

Same Ol' NaN,sorry.

Post by Miyamoto »

Hello there.
First of all, I'm begging your pardon since I know that NaN is a very common issue and maybe I didn't notice some particulars,but I've spent all day watching graphs and giving CLI commands. I've installed successfully 'Cacti 0.8.8b' on my CentOs 7. I've followed a procedure found here:


http://www.itzgeek.com/how-tos/linux/ce ... z3PvvNMpCI


I tried fixing the permissions,start the poller manually and so on. Initially,I had no graphs on the frontend,but when I started the poller by myself they displayed on the webpage.
Then the NaN appeared. I tried to give permissions on the folders,on the files, 777 and chown,but nothing happened.
Among the Settings on the webpage the timing of the poller and cron should be 5 mins,so it is,on system cron,too. I'm pasting some screen from the logs and the settings,hoping you to help a poor noob (just my second day on Cacti).
PS. The "PATH" tab of the Settings on the frontend is totally correct,I'm quite sure of it,that's why I didn't upload it here.


Hope you won't blame me,thanking you all in advance.


First one is the graph itself,showing the Nan result.
First one is the graph itself,showing the Nan result.
Selection_030.jpg (54.83 KiB) Viewed 935 times
GENERAL TAB of frontend Settings
GENERAL TAB of frontend Settings
Selection_031.jpg (139.35 KiB) Viewed 935 times
POLLER TAB of the frontend Settings
POLLER TAB of the frontend Settings
Selection_033.jpg (168.15 KiB) Viewed 935 times
One of the first parts of the Cacti Logfile
One of the first parts of the Cacti Logfile
Selection_034.png (1.89 MiB) Viewed 935 times
Finally,one of the repeating parts of the logfile. As I said,this part is present multiple times.
Finally,one of the repeating parts of the logfile. As I said,this part is present multiple times.
Selection_035.jpg (235.03 KiB) Viewed 935 times
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Same Ol' NaN,sorry.

Post by cigamit »

Do you have Selinux enabled?
Miyamoto
Posts: 9
Joined: Tue Jan 27, 2015 11:07 am

Re: Same Ol' NaN,sorry.

Post by Miyamoto »

cigamit wrote:Do you have Selinux enabled?
Don't know,I'ma check tomorrow when I'll be on my VM. Ty in advance!
Miyamoto
Posts: 9
Joined: Tue Jan 27, 2015 11:07 am

Re: Same Ol' NaN,sorry.

Post by Miyamoto »

Hi, I've checked the Selinux config file and disabled it. Still NaN.
I've edited the Snmpd.conf file and still NaN.
When I try to start the poller manually it says that the system time is not synced. In fact,the time displayed in the graphs is one hour before the system time;the system where the Cacti installation is.
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Same Ol' NaN,sorry.

Post by cigamit »

What timezone do you have set in php.ini?
Miyamoto
Posts: 9
Joined: Tue Jan 27, 2015 11:07 am

Re: Same Ol' NaN,sorry.

Post by Miyamoto »

I didn't touch php.ini at all...I'm looking at it right now and there's just one place that tells me:



"Defines the default timezone used by the date functions
http://php.net/date.timezone
date.timezone = "



but it's all commented with ";". Almost the whole file is commented. Initially,when I've installed the modules like PHP, Net-Snmp,following that guide I didn't edit many conf files. The only ones are Snmpd.conf and the DB created with Mariadb. My entire installation is full of holes.
Miyamoto
Posts: 9
Joined: Tue Jan 27, 2015 11:07 am

Re: Same Ol' NaN,sorry.

Post by Miyamoto »

PPS. I've found out on the Cacti site some more good hints about the configuration of the many modules like PHP. I'm following it.
We'll update again.

Best Regards
Miyamoto
Posts: 9
Joined: Tue Jan 27, 2015 11:07 am

Re: Same Ol' NaN,sorry.

Post by Miyamoto »

Update: I've read the whole Cacti guide to install and configure the service. I've followed each step I could,but some of the parameters in the .ini/.conf files were different,so I had to go forward.
I still get NaN after all. I don't kow what else it could be.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests