Currently Being Moderated

Question

 

     How do I change a device's class in Zenoss 3.0?

 

Answer

 

     Locate the device in the 'infrastructure' tab and drag and drop the device into into the new class on the left side panel.

 

Note: Be sure not to drag the Device Name or  Device Class HTML links.  Anywhere else in the row will work.

315 Views Tags: zenoss, device, class, 3.0, alter


Jul 28, 2010 12:41 PM esroberts esroberts    says:

I've tried this in 3.0 with both Firefox 3.6.8 and IE 8.0 with no luck.  My cursor just turns into a circle with a slash through it when I try to drag and drop any device, indicating that I can't move it.  What am I missing?

Jul 28, 2010 12:56 PM Russell Ballestrini Russell Ballestrini    says in response to esroberts:

That is a good question.  I have not had that issue...

Jul 28, 2010 1:04 PM esroberts esroberts    says in response to Russell Ballestrini:

Figured it out.  Be sure not to drag the Device Name or Device Class HTML links.  Anywhere else in the row will work.

Jul 28, 2010 1:45 PM Russell Ballestrini Russell Ballestrini    says in response to esroberts:

Nice find!  Thanks for the update, I'll add that note to the answer above.

Jul 31, 2010 11:14 AM syspimp syspimp    says:

Or you can do this from the command line or a script:

 

 

# move to proper place in zenoss
ip="11.22.33.44"
zenosspath="/Server/SSH/Linux"
zendmd <<-EOF
device=dmd.Devices.findDevice("$ip")
device.moveDevices('$zenosspath', device.id)
commit()
EOF