Graph/Device Removal during api_device_remove

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
jprykop
Posts: 1
Joined: Wed Apr 08, 2015 5:17 pm
Contact:

Graph/Device Removal during api_device_remove

Post by jprykop »

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!
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Graph/Device Removal during api_device_remove

Post by Linegod »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest