User of Cacti for 15 years, but always in the 0.XX versions. Built a new box 1.1.33h, and found no "Associated Graph Templates". Found where they are downloaded. When I go to import, I impoer the .gz file, but doesn't import. Try to do from cli:
sudo php /var/www/html/cacti-1.1.33/cli/import_package.php cisco_router.xml.gz
I get:
ERROR: Invalid Argument: (cisco_router.xml.gz)
What am I doing wrong? Any "howto" to making templates in 1.1.XX?
New to 1.1.33h
Moderators: Developers, Moderators
Re: New to 1.1.33h
I don't think you're suppose to import the GZ, I've never done it that way.dsenior wrote:User of Cacti for 15 years, but always in the 0.XX versions. Built a new box 1.1.33h, and found no "Associated Graph Templates". Found where they are downloaded. When I go to import, I impoer the .gz file, but doesn't import. Try to do from cli:
sudo php /var/www/html/cacti-1.1.33/cli/import_package.php cisco_router.xml.gz
I get:
ERROR: Invalid Argument: (cisco_router.xml.gz)
What am I doing wrong? Any "howto" to making templates in 1.1.XX?
Just give a go to XML files only and see what happens.
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Re: New to 1.1.33h
If you are talking about install/templates/Cisco_Router.xml.gz then this is a package designed to be imported using the cli in that manor.
Can you post the full output of what you are seeing when you run this? Please also check that you are specifying the full path to the .gz file.
Can you post the full output of what you are seeing when you run this? Please also check that you are specifying the full path to the .gz file.
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 2 guests