Error creating devices - Resolved

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

Moderators: Developers, Moderators

Post Reply
RyanM
Posts: 7
Joined: Fri Feb 25, 2005 5:39 pm

Error creating devices - Resolved

Post by RyanM »

First off let me say cacti is great! Very cool interface.

My setup:
Cacti 8.6c
Win 2003
Apache
Latest Mysql and Php.

I created several Cisco router devices and I am collecting stats successfully. When I try to add a new Cisco Router device I get the following error message.

Warning: Variable passed to each() is not an array or object in C:\Apache2\htdocs\cacti\lib\data_query.php on line 490

Warning: Cannot modify header information - headers already sent by (output started at C:\Apache2\htdocs\cacti\lib\data_query.php:490) in C:\Apache2\htdocs\cacti\host.php on line 121

Any help would be appreciated.

Thanks!

-Ryan
RyanM
Posts: 7
Joined: Fri Feb 25, 2005 5:39 pm

Post by RyanM »

I figured it out.

Somehow the XML path for the Interface Stats Data Query got jacked.

I reset it back to <path_cacti>/resource/snmp_queries/interface.xml and everything is working normally again. Whoohoo!

-Ryan
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest