All templates showing not found

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

Moderators: Developers, Moderators

Post Reply
stoney667
Posts: 6
Joined: Wed Feb 14, 2018 12:48 pm

All templates showing not found

Post by stoney667 »

I just got Cacti 1.1.35 up and running. This is my first installation. I was able to add my devices but I noticed on tutorials of adding devices the drop down for Device Template has some generic options and others. Mine says none. Also under templates the device, graph, data source, etc are all blank. Any thoughts? Install on Unbuntu 16.04.

Thanks,

Wes
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: All templates showing not found

Post by netniV »

When you did the install, the last step is to do with template installation. You can import these packages which are under /install/templates/ via the command line using the cli/import_package.php or if you prefer to stick to the GUI, you'll have to run the following sql command:

Code: Select all

update version set cacti = 'new_install';
However, I would probably recommend you wipe the cacti DB and reload from the cacti.sql just to be sure you're completely clean.
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
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: All templates showing not found

Post by netniV »

Also, can you confirm what OS you running on?
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
stoney667
Posts: 6
Joined: Wed Feb 14, 2018 12:48 pm

Re: All templates showing not found

Post by stoney667 »

I followed this guide....

viewtopic.php?f=6&t=56843

I'm running Unbuntu 16.04

I don't remember anything about the template installation. I thought I was so close. I've been trying for a few days to get this working.

So I guess what command do I need to run to import these if I messed that step up?

I think i understand I need to log into mysql and run update version set cacti = 'new_install';

However I don't understand the wipe the cacti DB portion.

Am I on the right path?

Thanks for your help!
stoney667
Posts: 6
Joined: Wed Feb 14, 2018 12:48 pm

Re: All templates showing not found

Post by stoney667 »

wstone@Cacti:~$ sudo mysqlcheck -c cactidb -u root -p
Enter password:
cactidb.aggregate_graph_templates OK
cactidb.aggregate_graph_templates_graph OK
cactidb.aggregate_graph_templates_item OK
cactidb.aggregate_graphs OK
cactidb.aggregate_graphs_graph_item OK
cactidb.aggregate_graphs_items OK
cactidb.automation_devices OK
cactidb.automation_graph_rule_items OK
cactidb.automation_graph_rules OK
cactidb.automation_ips
note : The storage engine for the table doesn't support check
cactidb.automation_match_rule_items OK
cactidb.automation_networks OK
cactidb.automation_processes
note : The storage engine for the table doesn't support check
cactidb.automation_snmp OK
cactidb.automation_snmp_items OK
cactidb.automation_templates OK
cactidb.automation_tree_rule_items OK
cactidb.automation_tree_rules OK
cactidb.cdef OK
cactidb.cdef_items OK
cactidb.color_template_items OK
cactidb.color_templates OK
cactidb.colors OK
cactidb.data_input OK
cactidb.data_input_data OK
cactidb.data_input_fields OK
cactidb.data_local OK
cactidb.data_source_profiles OK
cactidb.data_source_profiles_cf OK
cactidb.data_source_profiles_rra OK
cactidb.data_source_purge_action OK
cactidb.data_source_purge_temp OK
cactidb.data_source_stats_daily OK
cactidb.data_source_stats_hourly OK
cactidb.data_source_stats_hourly_cache
note : The storage engine for the table doesn't support check
cactidb.data_source_stats_hourly_last
note : The storage engine for the table doesn't support check
cactidb.data_source_stats_monthly OK
cactidb.data_source_stats_weekly OK
cactidb.data_source_stats_yearly OK
cactidb.data_template OK
cactidb.data_template_data OK
cactidb.data_template_rrd OK
cactidb.external_links OK
cactidb.graph_local OK
cactidb.graph_template_input OK
cactidb.graph_template_input_defs OK
cactidb.graph_templates OK
cactidb.graph_templates_gprint OK
cactidb.graph_templates_graph OK
cactidb.graph_templates_item OK
cactidb.graph_tree OK
cactidb.graph_tree_items OK
cactidb.host OK
cactidb.host_graph OK
cactidb.host_snmp_cache OK
cactidb.host_snmp_query OK
cactidb.host_template OK
cactidb.host_template_graph OK
cactidb.host_template_snmp_query OK
cactidb.plugin_config OK
cactidb.plugin_db_changes OK
cactidb.plugin_hooks OK
cactidb.plugin_realms OK
cactidb.poller OK
cactidb.poller_command OK
cactidb.poller_data_template_field_mappings OK
cactidb.poller_item OK
cactidb.poller_output
note : The storage engine for the table doesn't support check
cactidb.poller_output_boost OK
cactidb.poller_output_boost_processes
note : The storage engine for the table doesn't support check
cactidb.poller_output_realtime OK
cactidb.poller_reindex OK
cactidb.poller_resource_cache OK
cactidb.poller_time OK
cactidb.reports OK
cactidb.reports_items OK
cactidb.sessions OK
cactidb.settings OK
cactidb.settings_tree OK
cactidb.settings_user OK
cactidb.settings_user_group OK
cactidb.sites OK
cactidb.snmp_query OK
cactidb.snmp_query_graph OK
cactidb.snmp_query_graph_rrd OK
cactidb.snmp_query_graph_rrd_sv OK
cactidb.snmp_query_graph_sv OK
cactidb.snmpagent_cache OK
cactidb.snmpagent_cache_notifications OK
cactidb.snmpagent_cache_textual_conventions OK
cactidb.snmpagent_managers OK
cactidb.snmpagent_managers_notifications OK
cactidb.snmpagent_mibs OK
cactidb.snmpagent_notifications_log OK
cactidb.user_auth OK
cactidb.user_auth_cache OK
cactidb.user_auth_group OK
cactidb.user_auth_group_members OK
cactidb.user_auth_group_perms OK
cactidb.user_auth_group_realm OK
cactidb.user_auth_perms OK
cactidb.user_auth_realm OK
cactidb.user_domains OK
cactidb.user_domains_ldap OK
cactidb.user_log OK
cactidb.vdef OK
cactidb.vdef_items OK
cactidb.version OK
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: All templates showing not found

Post by netniV »

Wiping basically means dropping and then recreating the database and user permissions.
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