Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jun 18, 2019 8:01 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [SOLVED] Getting Many of These errors
PostPosted: Mon Feb 18, 2019 12:48 pm 
Offline
Cacti User

Joined: Mon Oct 01, 2018 10:09 am
Posts: 122
Hello Members,
I get these errors after deleting and adding two devices (routers), with a couple of graphs"

CMDPHP PHP ERROR NOTICE Backtrace: (/poller.php: 560 process_poller_output)(/lib/poller.php: 513 rrdtool_function_update)(/lib/rrd.php: 656 rrdtool_function_create)(/lib/rrd.php: 597 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/02/18 17:42:38 - ERROR PHP NOTICE: Undefined index: in file: /var/www/cacti-1.1.38/lib/rrd.php on line: 597
2019/02/18 17:42:38 - CMDPHP PHP ERROR NOTICE Backtrace: (/poller.php: 560 process_poller_output)(/lib/poller.php: 513 rrdtool_function_update)(/lib/rrd.php: 656 rrdtool_function_create)(/lib/rrd.php: 597 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)

Any idea what could be causing this error? Cron at 5 min, poller at 30sec with 6processes and 14 threads (for spine)

Thanks,

eholz1

[SOLVED] information (mostly for my own edification)
It seems that this problem is due to the fact that this cacti system was over the span of a few years, upgraded from like 0.8,
to 1.1.38 - and the rrd presets were carried over from the old database, so many datasources do not create any rrd files,
or create rrds with wrong step and consolidation. I have discovered that if an rrd file exists already at what ever preset
was used to create it, changing the present (like from 5 minute to 1 minute, etc) has no effect on the existing rrd file.
it just reports the step number in red: i.e. old preset set for 60, and then switch to 30, the datasource info mode
will show the 30 in red.

Not sure how to resolve this issue - problem is we have 419 devices, with around 4000 datasources, and several graphs
per device! It would have to be rebuilt one device at a time!

Thanks
eholz1


Last edited by eholz1 on Mon Mar 04, 2019 12:00 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Getting Many of These errors
PostPosted: Tue Feb 19, 2019 5:25 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
It is basically reporting that there was no index name, so if it's trying to get an element, that is never going to work.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: [S0LVED]Getting Many of These errors
PostPosted: Tue Feb 19, 2019 12:55 pm 
Offline
Cacti User

Joined: Mon Oct 01, 2018 10:09 am
Posts: 122
Thanks for input - get rid of the error, but not sure
what I did. It had to do with device, graphs, and poller.

thanks,

eholz1


Top
 Profile  
 
 Post subject: Re: Still Getting Many of These errors
PostPosted: Mon Mar 04, 2019 10:01 am 
Offline
Cacti User

Joined: Mon Oct 01, 2018 10:09 am
Posts: 122
Does anyone have an idea on how to troubleshoot this error?
I think I deleted some rrd files, or perhaps some sort of poller/device issue.
but have not isolated the problem or what NOT to do.
CMDPHP PHP ERROR NOTICE Backtrace: (/poller.php: 560 process_poller_output)(/lib/poller.php: 513 rrdtool_function_update)(/lib/rrd.php: 656 rrdtool_function_create)(/lib/rrd.php: 597 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/02/18 17:42:38 - ERROR PHP NOTICE: Undefined index: in file: /var/www/cacti-1.1.38/lib/rrd.php on line: 597
2019/02/18 17:42:38 - CMDPHP PHP ERROR NOTICE Backtrace: (/poller.php: 560 process_poller_output)(/lib/poller.php: 513 rrdtool_function_update)(/lib/rrd.php: 656 rrdtool_function_create)(/lib/rrd.php: 597 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)

Thanks for the help in this forum,

Eholz1


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group