Nan values in cacti graphs

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

Moderators: Developers, Moderators

Post Reply
chaitanya
Posts: 4
Joined: Thu Jul 15, 2010 6:03 am
Location: India

Nan values in cacti graphs

Post by chaitanya »

hi guys,
i am very new to this forum and even to cacti, so please bear with me.

i have installed cacti(Version 0.8.7f) on my linux machine and everything seems to be fine except the graph values which is showing [b]nan[/b]. i have tried all the things explained in "http://forums.cacti.net/about15136.html" but nothing helped much. may be i am missing some thing.

can any one help me please. thanks very much in advance.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

First, 087f is buggy; please use 087g instead. Then, please see 2nd link of my sig for basic debugging
R.
chaitanya
Posts: 4
Joined: Thu Jul 15, 2010 6:03 am
Location: India

Post by chaitanya »

Thank you ver much for your reply,

i have installed the cacti 0.8.7f as you suggested,
i am once again stuck at the same place (graph values Nan) so once again have gone through the same steps but this time i did not see ds[..].type as GAUGE, this is what i saw

ds[cpu_user].type = "COUNTER"
ds[cpu_user].minimal_heartbeat = 600
ds[cpu_user].min = 0.0000000000e+00
ds[cpu_user].max = 1.0000000000e+02
ds[cpu_user].last_ds = "U"
ds[cpu_user].value = 0.0000000000e+00
ds[cpu_user].unknown_sec = 276

do i need to change the ds[cpu_user].type = "GAUGE" ?? if yes then how do i change it.

i have both the mysql db and the cacti on the same server so i have left config.php as $database_hostname = "localhost"; only.
Hope thats will not create problem.

i am very new to this blog so can you please tell me where can i see the second link of debugging??
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

When logging in, you'll find that link underneath each of my posts.
R.
chaitanya
Posts: 4
Joined: Thu Jul 15, 2010 6:03 am
Location: India

Post by chaitanya »

Some how after running few scripts in the /cacti/cli/ manually, i have started seeing graphs with values. and the other change is i have run poller.php with --force option in the crontab (/etc/crontab) file as,
*/5 * * * * cacti /usr/bin/php /var/www/html/cacti/poller.php --force > /dev/null 2>&1
Am i doing it in the correcct way ?

Thanks & Regards Chaitanya :)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

--force should be required only once to get "the poller in line". It overrules the check for a "correct interval between last and this poll"
R.
chaitanya
Posts: 4
Joined: Thu Jul 15, 2010 6:03 am
Location: India

Post by chaitanya »

if i do not use --force then i am getting the following error
POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '300' seconds, with a minimum Cron period of '300' seconds, but only 127 seconds have passed since the poller last ran.

So i have changed the Maximum snmp ODI's per snmp request to 1, earlier it was 10. but no luck.

Any suggestions ....

Thanks
Chaitanya :)
Post Reply

Who is online

Users browsing this forum: fpiorek and 6 guests