Server Management - Systems Insight Manager
1832843 Members
3047 Online
110047 Solutions
New Discussion

Delete devices from SIM ?

 
SOLVED
Go to solution
Mikael Rönnbäck
Super Advisor

Delete devices from SIM ?

What access rights do you require to be able to delete a device from SIM ? It seems you need full access on the CMS, but that will enable all other config settings as well and all I'm really looking for is to delegate the ability to delete "dead" devices such as for example servers that are no longer in use.
4 REPLIES 4
Rob Buxton
Honored Contributor

Re: Delete devices from SIM ?

I don't think there's that level of separation.
I would consider deleting a "dead" device potentially more destructive than modifying the configuration. You can repair the config changes, you couldn't replace your historical data other than restoring the database.
Mikael Rönnbäck
Super Advisor

Re: Delete devices from SIM ?

Ok, so it's full access for users that need to delete devices then ?
David Claypool
Honored Contributor
Solution

Re: Delete devices from SIM ?

It can be done but it's going to take a little work. First, you're going to need to create a custom command. This can't be done in the UI; you'll have to create some XML, mostly because of a necessary parameter that you'll need to use which is the line. Check out Scott Shaffer's "HP World Demonstration TDEFs" in the HP SIM Tools and Scripts forum at http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=680986 for some examples.

Essentially, you'll be calling the command line to use the 'mxnode' command to remove the systems in question. The heart of the command would be:

%PROGRAMFILES%\HP\SYSTEM~1\BIN\MXNODE -R %DEVICENAME%

Now keep in mind, there is no way to restrict the ability to delete devices to anything other than that user's system list. If the user can see it, he can delete it.
Mikael Rönnbäck
Super Advisor

Re: Delete devices from SIM ?

Excellent, thanks, I'll give it a try.
I'm actually not worried over either loosing historical data or that anyone can delete a node since we are both running constant discoveries of the networks to detect new servers and also we are mostly using SIM as an "live" monitor/mgmt tool and has not (yet) looked into using any historical data.
But I'll keep it in mind in case we see any need for that in the future. :)