qk4l / zabbix-cachet

Python script which sync Zabbix IT Services with Cachet
MIT License
80 stars 32 forks source link

Sync to a specific Components group #39

Closed titansmc closed 6 years ago

titansmc commented 6 years ago

Hi, I would like to know if I can sync to Cachet to a specific components group, since I would like having all IT Services from Zabbix coming to a Zabbix Component group, and then other Items populating other Components group.

qk4l commented 6 years ago

Hi,

Zabbix-cachet does not delete components from Cachet. It populates only.

So if I understood you clearly you can do want you want.

On Thu, Jun 21, 2018, 12:54 PM titansmc notifications@github.com wrote:

Hi, I would like to know if I can sync to Cachet to a specific components group, since I would like having all IT Services from Zabbix coming to a Zabbix Component group, and then other Items populating other Components group.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/qk4l/zabbix-cachet/issues/39, or mute the thread https://github.com/notifications/unsubscribe-auth/AIAVS9i-y_RuHjFWBp8d8yQX9VNS3tA8ks5t-206gaJpZM4UxwIQ .

-- Best regards, Artyom

titansmc commented 6 years ago

I am sorting this out by just creating a child under zabbix root which is called Cachet and then putting everything inside, it will create a Component Group for me, which is fine already. I would like to somehow specify what I want to sync from Zabbix , and where to sync to Cachet somehow, but so far it is OK this approach.

qk4l commented 6 years ago

I could create separate branches for cachet in zabbix.

Set root_service in config.yml to change root and aggregate there all childs that you want to sync.

Example:

root_service: Cachet Zabbix IT Services:

/

On Thu, Jun 21, 2018, 7:58 PM titansmc notifications@github.com wrote:

I am sorting this out by just creating a child under zabbix root which is called Cachet and then putting everything inside, it will create a Component Group for me, which is fine already. I would like to somehow specify what I want to sync from Zabbix , and where to sync to Cachet somehow, but so far it is OK this approach.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/qk4l/zabbix-cachet/issues/39#issuecomment-399173429, or mute the thread https://github.com/notifications/unsubscribe-auth/AIAVS9BR989KRohTUdD6W6-FSTs0aet7ks5t-9C5gaJpZM4UxwIQ .

-- Best regards, Artyom

titansmc commented 6 years ago

Thanks, but for me is not needed, I have blank IT Services in Zabbix, so I can just set up things used for Cachet, but I was thinking maybe in future we have something like:

Group 1 -item 1 -item 2 Group 2 -item 3 -item 4

And I may want to display only Item 2 and Item 4... but for now it is ok, I can just create a parent and display everything bellow it.