TECHZEN Zenoss User Community ARCHIVE  

Need to analyse the Impact of a Payload

Subject: Need to analyse the Impact of a Payload
Author: Anjan Kumar Tripathy
Posted: 2021-03-25 03:32

Hi All,

I have a payload ready to delete a group . but there are two situation in mind and i am in dilema whether it really matters. please help me out with your vies.

Let say we have a group with multiple device in it with a maintenance window. requirement of group is no more there so we need to delete it .

We can delete it in 2 ways

1) Directly running the payload and delete the group 

2) Remove the device from group and then deleting the group.

Does the Option-1 have any impact in background which i am not sure as i am just deleting the device or the 2nd option make sence to make the roup empty and then deleting it.

Please suggest if there is any fundamental difference between both options.

Regards
Anjan Kumar Tripathy

------------------------------
anjan tripath
Seniour associate
Cognizant
KS
------------------------------


Subject: RE: Need to analyse the Impact of a Payload
Author: Michael Rogers
Posted: 2021-03-25 14:13

Anjan,

Option 1 should be fine, depending on which version of Zenoss Core you're running.  Deleting a group will leave the devices in place and remove the link between the group and any devices previously contained within it.  Users of Zenoss Core 4.2.5 before RPS 743 may occasionally run into a bug where devices still point to a group after its deletion.

Option 2 would take more steps, but should be safe regardless of version.

------------------------------
Michael J. Rogers
Senior Instructor - Zenoss
Austin TX
------------------------------


Subject: RE: Need to analyse the Impact of a Payload
Author: Anjan Kumar Tripathy
Posted: 2021-03-26 01:26

Hi Michael,

Thanks again, we are running 6.3.1 so as you suggested Option 1 should be simple and straight.

Regards
Anjan Kumar Tripathy

------------------------------
anjan tripath
Seniour associate
Cognizant
KS
------------------------------

Subject: RE: Need to analyse the Impact of a Payload
Author: Anjan Kumar Tripathy
Posted: 2021-04-06 05:51

Hi Michael,

Got a new query.

We ran and deleted almost 1500 groups out of 2600. if i check on the console it actually have 2600 - 1500 = 1100 but the count on the console next to the group is still showing the old number 2600.

No idea why it is behaving like this. any suggestion please.

Regards
Anjan


------------------------------
Anjan Kumar Tripathy Team Lead (Senior Associate)
Seniour associate
Cognizant
KS
------------------------------


< Previous
ContextLoader error during zeneventserver start
  Next
Need a curl based command to delete a device from group
>