Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Aug 21, 2017 8:27 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Graph/Device Removal during api_device_remove
PostPosted: Wed Apr 08, 2015 5:42 pm 
Offline

Joined: Wed Apr 08, 2015 5:17 pm
Posts: 1
I'm a developer with Freeside Internet Services working on exporting & importing between Freeside and Cacti. I'm generally interested in following the development of new API features in Cacti, so that I can hook into them from Freeside, so if there are other forums or mailing lists I should subscribe to, please let me know.

In particular, right now I've got device removal working by using api_device_remove from api_device.php. It would be cool if we could also remove associated graphs and data sources automatically through that function, like you can when removing through the regular cacti interface. I lifted some code directly from the interface to do this, but decided to stick with official api functionality for now. You can see the code (currently commented out) at line 105 of http://freeside.biz/gitlist/freeside.git/blob/master/bin/freeside_cacti.php

Thanks!


Top
 Profile  
 
 Post subject: Re: Graph/Device Removal during api_device_remove
PostPosted: Thu Apr 09, 2015 11:52 pm 
Offline
Developer
User avatar

Joined: Thu Feb 20, 2003 10:16 am
Posts: 1635
Location: Canada
We recently moved development to github: https://github.com/Cacti

Nothing has been officially announced, but this is the best place to track development right now while we sort ourselves out.

_________________
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca


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: Yahoo [Bot] and 1 guest


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