graphs showing -nan values

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sebd44
Posts: 4
Joined: Wed Aug 29, 2018 1:16 pm

graphs showing -nan values

Post by sebd44 »

hi all
i new in cacti and i have a fresh new installation
but in the graphs i'm seeing the values -nan
but in the devices sections i have connected via snmp and snmpwalk was succesful
what are the posible causes of this, can someone help me?
Attachments
nan.PNG
nan.PNG (9.5 KiB) Viewed 1317 times
soj
Posts: 3
Joined: Fri Sep 14, 2018 7:33 am

Re: graphs showing -nan values

Post by soj »

Please check the SNMP Defaults from Cacti and your Server.

Have you Windows Server or Linux Server?
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: graphs showing -nan values

Post by netniV »

Also, check that you have a poller running via Task Scheduler (windows) or Cron (Linux).
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Gattancha
Posts: 4
Joined: Thu Dec 04, 2014 4:27 am

Re: graphs showing -nan values

Post by Gattancha »

I had this after upgrading to 1.1.38 (Centos 7 with PHP 5.6)

Turned out after much Googling, that the solution was to disable the PHP-SNMP extension in my PHP.ini

Soon as I did this and rebuilt the poller cache, the graphs started to populate..
ericgarnel
Posts: 6
Joined: Tue Feb 19, 2013 3:44 pm

Re: graphs showing -nan values

Post by ericgarnel »

Gattancha wrote:I had this after upgrading to 1.1.38 (Centos 7 with PHP 5.6)

Turned out after much Googling, that the solution was to disable the PHP-SNMP extension in my PHP.ini

Soon as I did this and rebuilt the poller cache, the graphs started to populate..
I did not find any reference to PHP-SNMP in my php.ini. I moved the snmp.ini out of /etc/php.d in the meantime - hopefully that will help.
Do you have any links to share? Thanks
ericgarnel
Posts: 6
Joined: Tue Feb 19, 2013 3:44 pm

Re: graphs showing -nan values

Post by ericgarnel »

ericgarnel wrote:
Gattancha wrote:I had this after upgrading to 1.1.38 (Centos 7 with PHP 5.6)

Turned out after much Googling, that the solution was to disable the PHP-SNMP extension in my PHP.ini

Soon as I did this and rebuilt the poller cache, the graphs started to populate..
I did not find any reference to PHP-SNMP in my php.ini. I moved the snmp.ini out of /etc/php.d in the meantime - hopefully that will help.
Do you have any links to share? Thanks
I bounced httpd (systemctl restart httpd.service) and that took care of it
ericgarnel
Posts: 6
Joined: Tue Feb 19, 2013 3:44 pm

Re: graphs showing -nan values

Post by ericgarnel »

I spoke too soon. I had graphs for @ 2 hours then nothing.
This is a new install so I will start over.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests