Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jul 19, 2018 1:56 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Thold plugin: prompt action before delete
PostPosted: Tue Apr 10, 2018 9:57 am 
Offline

Joined: Fri May 20, 2016 3:41 pm
Posts: 14
Hi

looking for an option to enable prompting delete threshold before its actually deleted
when choosing a delete action it deletes immediately without any prompt
trying to preventing accidents...
checked the thold setting but nothing found

Cacti Version: 0.8.8f
Thold Version: 0.6.1

Thanks in advance


Top
 Profile  
 
 Post subject: Re: Thold plugin: prompt action before delete
PostPosted: Tue Apr 10, 2018 7:04 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1237
You are unlikely to get someone to make a modification in the plugin that old. I'm pretty sure that in the newer versions this exists under 1.x.

Maybe someone has the time to implement and test in that version of cacti/thold, but I don't have any running below 1.1.26.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Thold plugin: prompt action before delete
PostPosted: Sun Apr 15, 2018 2:26 am 
Offline

Joined: Fri May 20, 2016 3:41 pm
Posts: 14
Thanks,

Not asking for code modification but for quick workaround
pretty sure that snooping around will make a change to solve, just need a lead
Any suggests?

Regards,

Cacti Version: 0.8.8f
Thold Version: 0.6.1


Top
 Profile  
 
 Post subject: Re: Thold plugin: prompt action before delete
PostPosted: Sun Apr 15, 2018 6:13 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1237
You'd have to do one of two things, put some javascript code where every delete button is, or go the whole hog and implement a new gui section that displays what is about to be deleted, then asks for confirmation and on that confirmation do the actual delete. This is what happens in the places like host.php and graph.php

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


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: No registered users 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