New to 1.1.33h

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

Moderators: Developers, Moderators

Post Reply
dsenior
Posts: 3
Joined: Sun Feb 04, 2018 11:49 am

New to 1.1.33h

Post by dsenior »

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?
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: New to 1.1.33h

Post by Pucho »

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?
I don't think you're suppose to import the GZ, I've never done it that way.

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
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: New to 1.1.33h

Post by netniV »

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.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest