Can't import brocade template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
RaMeDo
Posts: 4
Joined: Fri Jan 28, 2005 7:18 am

Can't import brocade template

Post by RaMeDo »

Hello,

I'm trying to import the brocade template. I've copied the "brocade_interface.xml" into the ".../snmp_queries" directory.
Then I tried to import the "cacti_host_template_brocade_fc_switch.xml" via GUI (Import Templates) dated from Sep 21 2005, size 286071 bytes.

But then I get the errors:

###
Notice: Undefined index: import_file in /usr/share/cacti/templates_import.php on line 56
Notice: Undefined index: import_file in /usr/share/cacti/templates_import.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/templates_import.php:56) in /usr/share/cacti/templates_import.php on line 62
###

I'm working with Cacti 0.8.6e (SuSE Linux 9.2).

Bye
Ralf
RaMeDo
Posts: 4
Joined: Fri Jan 28, 2005 7:18 am

Can't import brocade template

Post by RaMeDo »

Sorry,

I'm referencing topic
http://forums.cacti.net/viewtopic.php?p=24775

Bye
Ralf
RaMeDo
Posts: 4
Joined: Fri Jan 28, 2005 7:18 am

Can't import brocade template [SOLVED]

Post by RaMeDo »

I upgraded to cacti 0.8.6h...
...followed the instructions...
...and all things worked fine.

Thanks a lot for these templates, they saved me a lot of time.

Bye
Ralf
RaMeDo
Posts: 4
Joined: Fri Jan 28, 2005 7:18 am

Can't import brocade template

Post by RaMeDo »

I'm confused.
Did exactly the same steps (upgrade to cacti 0.8.6.h etc.) on another host. Upgrade of mysql db was successfull.

But got the errors I mentioned in my first posting again when importing the brocade xml template...

The only difference between the two hosts:

Host 1 was a SuSE 9.3 with 11 devices / 42 rrds (but also with cacti-0.8.6e-2.3), host 2 was a SuSE 9.2 with 24 devices / 239 rrds.

??

A did then the following: On host 1 I exported the host template "Brocade FC Switch" with dependencies and tried to import this xml file then on host 2. Same result:

Notice: Undefined index: import_file in /usr/share/cacti/templates_import.php on line 56
Notice: Undefined index: import_file in /usr/share/cacti/templates_import.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/templates_import.php:56) in /usr/share/cacti/templates_import.php on line 62

What's this?

Ralf
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There seems to be some strange, not exactly reproducable error. Perhaps a bug request at http://bugs.cacti.net? Workaround: Try to re-import and post the output
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests