Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Oct 19, 2017 6:41 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: cacti 1.1 dhcpd template
PostPosted: Wed Mar 22, 2017 10:20 am 
Offline

Joined: Wed Mar 22, 2017 9:39 am
Posts: 1
Hello all,
Someone managed to run dhcpd template on new cacti 1.1 ?

Work fine on 0.8* , after upgrade does not draw anything

After importing templates, in log I see.

2017-03-22 17:26:57 - CMDPHP IMPORT NOTE: Found 1 Damaged data_input_fields
2017-03-22 17:26:57 - CMDPHP IMPORT NOTE: Repairing 1 Damaged data_input_fields


Top
 Profile  
 
 Post subject: Re: cacti 1.1 dhcpd template
PostPosted: Tue Aug 08, 2017 12:52 pm 
Offline
Cacti User

Joined: Mon Sep 10, 2012 5:54 pm
Posts: 72
I've had this working on my dev box for a long time, which started at 1.0 and is now on 1.1.16. So I tried to export it from the dev box into a second 1.1.16 instance, and it fails to import.

2017/08/08 12:52:55 - IMPORT ERROR: 0101 hash version if for a newer Cacti!
2017/08/08 12:52:55 - IMPORT $dep_hash_cache[$type][$i]['type']: cdef
2017/08/08 12:52:55 - IMPORT $dep_hash_cache[$type][$i]['version']:
2017/08/08 12:52:55 - ERROR PHP NOTICE: Undefined index: in file: /var/www/html/cacti/lib/import.php on line: 71
2017/08/08 12:52:55 - CMDPHP PHP ERROR NOTICE Backtrace: (/templates_import.php: 34 form_save)(/templates_import.php: 87 import_xml_data)(/lib/import.php: 71 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/08/08 12:52:55 - IMPORT $cacti_version_codes{$dep_hash_cache[$type][$i]['version']}:
2017/08/08 12:52:55 - IMPORT $dep_hash_cache[$type][$i]['hash']: f18ff01fce23fca1fbee46a8a88600f7
2017/08/08 12:52:55 - ERROR PHP NOTICE: Undefined index: in file: /var/www/html/cacti/lib/import.php on line: 74
2017/08/08 12:52:55 - CMDPHP PHP ERROR NOTICE Backtrace: (/templates_import.php: 34 form_save)(/templates_import.php: 87 import_xml_data)(/lib/import.php: 74 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/08/08 12:52:55 - ERROR PHP NOTICE: Undefined index: hash_05f18ff01fce23fca1fbee46a8a88600f7 in file: /var/www/html/cacti/lib/import.php on line: 74
2017/08/08 12:52:55 - CMDPHP PHP ERROR NOTICE Backtrace: (/templates_import.php: 34 form_save)(/templates_import.php: 87 import_xml_data)(/lib/import.php: 74 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)


Top
 Profile  
 
 Post subject: Re: cacti 1.1 dhcpd template
PostPosted: Thu Aug 10, 2017 9:53 am 
Offline
Cacti User

Joined: Mon Sep 10, 2012 5:54 pm
Posts: 72
I built a new template from scratch on 1.1.16, and its working perfectly. However, the export/import process is broken. I have opened an issue on github. Hopefully it will be resolved shortly. I will post my template if there is interest.


Top
 Profile  
 
 Post subject: Re: cacti 1.1 dhcpd template
PostPosted: Fri Aug 11, 2017 5:14 pm 
Offline
Cacti User

Joined: Mon Sep 10, 2012 5:54 pm
Posts: 72
My DHCPD Shared Network graph template attached (Cacti 1.1.16 export)


Attachments:
cacti_data_query_dhcpd_shared_network_state.zip [11.07 KiB]
Downloaded 23 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group