Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jun 22, 2017 6:54 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to add section on menu managament
PostPosted: Tue Feb 04, 2014 7:39 am 
Offline

Joined: Mon Mar 29, 2010 4:57 pm
Posts: 5
Hi,

Im developing a plugin in cacti and i didnt find any information about add a subsection in the managament menu under the cacti name. For example when you click on "graph managament" in the left menu is added 3 subsections under the "graph managament"

How can i do for my plugin?? i think is a hook that i have to create in the setup.php but i dont know how. Any help?

Best Regards.


Top
 Profile  
 
 Post subject: Re: How to add section on menu managament
PostPosted: Tue Feb 04, 2014 9:03 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2589
Location: Kressbronn, Germany
It's not a hook implemented yet. You can achieve this by adding the code mention here:

Enable Sub-Menus for plugins

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users 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