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.gi ... _cacti.php
Thanks!
Graph/Device Removal during api_device_remove
Moderators: Developers, Moderators
Re: Graph/Device Removal during api_device_remove
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.
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
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Who is online
Users browsing this forum: No registered users and 1 guest