Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Apr 19, 2024 11:15 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Deleting systems
PostPosted: Mon Apr 14, 2014 4:09 pm 
Offline
Newbie

Joined: Fri Apr 04, 2014 10:59 am
Posts: 10
Hi there,

I'd like to know how to delete systems (short of going into the DB and forcefully removing them). I've checked the documentation but can see no easy way to do this?

For example: If I add a machine by hand and then run the audit script later and they don't merge, how do I get rid of the manual server?


Top
 Profile  
Reply with quote  
 Post subject: Re: Deleting systems
PostPosted: Tue Apr 15, 2014 3:00 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Not well documented and mostly a hammer when you might want a scalpel.

You can use [url=http://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6120&p=21878&hilit=delete+system#p21863]these functions[/url]:
[code]There are two functions for this that are not made available in the menus.
SERVER/index.php/admin_db/get_non_production_systems
SERVER/index.php/admin_db/delete_non_production_systems[/code]


Top
 Profile  
Reply with quote  
 Post subject: Re: Deleting systems
PostPosted: Thu Apr 24, 2014 11:19 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Set the device status to "Deleted" (on the Device Summary page).
Go to menu -> Admin -> Database -> Database Maintenance.
There is an option to delete "non production" devices.

This is improved and expanded in 1.3 - options to delete devices of each status type separately (deleted, retired, etc).

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
 Post subject: Re: Deleting systems
PostPosted: Fri Dec 05, 2014 12:35 am 
Offline
Contributor

Joined: Thu May 03, 2007 10:38 am
Posts: 116
Location: Midwest
Is there an easy way to delete 50+ items?


Also if needed what is the best way if I want to clear out all my PCs/Laptops?


Top
 Profile  
Reply with quote  
 Post subject: Re: Deleting systems
PostPosted: Fri Dec 05, 2014 7:25 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Use the Bulk Edit capability and set the status of multiple devices at once.
Then go into DB Maintenance as above and delete the deleted devices.
Wiki page about Bulk Editing is here - https://community.opmantek.com/display/ ... attributes

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC + 10 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:  
cron
Powered by phpBB® Forum Software © phpBB Group