thomas
2012-03-15 11:20:01 UTC
thomas [http://community.zenoss.org/people/thomas] created the discussion
"Change deviceclass with zenbatchload"
To view the discussion, visit: http://community.zenoss.org/message/65230#65230
--------------------------------------------------------------
Hi
I'm using zenbatchload to auto-discover devices (not 'real' network devices, but devices from a CSV file) and everything is actually working fine, however, I can't seem to get zenbatchload to change the Deviceclass path of existing devices, ie. in my case, I start up with this file (for zenbatchload)
/Devices/Network/myType
dev1 setLocation="/LocA"
dev2 setLocation="/LocB"
/Devices/Network/otherType
dev3 setLocation="/LocC"
this file is loaded, and dev1 and dev2 is in myType and dev3 in otherType. Now a change the input file to this
/Devices/Network/myType
dev2 setLocation="/LocB"
/Devices/Network/otherType
dev3 setLocation="/LocC"
dev1 setLocation="/LocA"
and call zenbatchload. It says that devices are already existing, but it doesn't move dev1 to /Devices/Network/otherType
Can this be done?
Running Zenoss Core 3.2.1
Regards
Thomas
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65230#65230]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Change deviceclass with zenbatchload"
To view the discussion, visit: http://community.zenoss.org/message/65230#65230
--------------------------------------------------------------
Hi
I'm using zenbatchload to auto-discover devices (not 'real' network devices, but devices from a CSV file) and everything is actually working fine, however, I can't seem to get zenbatchload to change the Deviceclass path of existing devices, ie. in my case, I start up with this file (for zenbatchload)
/Devices/Network/myType
dev1 setLocation="/LocA"
dev2 setLocation="/LocB"
/Devices/Network/otherType
dev3 setLocation="/LocC"
this file is loaded, and dev1 and dev2 is in myType and dev3 in otherType. Now a change the input file to this
/Devices/Network/myType
dev2 setLocation="/LocB"
/Devices/Network/otherType
dev3 setLocation="/LocC"
dev1 setLocation="/LocA"
and call zenbatchload. It says that devices are already existing, but it doesn't move dev1 to /Devices/Network/otherType
Can this be done?
Running Zenoss Core 3.2.1
Regards
Thomas
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65230#65230]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]