![]() |
![]() |
Subject: | Zenoss Core 5 - What is the best practice to manage / run custom scripts in Core 5? |
Author: | Ken Jenkins |
Posted: | 2015-03-30 14:05 |
I have custom (shell, python, etc.) scripts which will add, delete, modify devices on the Zenoss Master Host.
I need to know what the recommended procedure is to run those scripts via command line and / or via cron using Zenoss Core 5 in a container.
Please provide me with some information and examples.
Thanks,
Ken
Subject: | zendmd scripts are not |
Author: | Jan Garaj |
Posted: | 2015-03-31 04:14 |
zendmd scripts are not recommended in Zenoss 5. Especially if you are modify any Zope DB data, because inconsistency can be created: Zope DB vs. cache layer.
The best practice: don't use zendmd scripts, but Zenoss JSON API
http://community.zenoss.org/community/documentation/official_documentati...
Devops Monitoring Expert advice:
Dockerize/automate/monitor all the things.
DevOps stack:
Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform /
Elasticsearch
Subject: | Thank you |
Author: | Ken Jenkins |
Posted: | 2015-03-31 17:24 |
I plan to use the Zenoss JSON API
Subject: | zendisc |
Author: | Ken Jenkins |
Posted: | 2015-03-31 20:08 |
Is there an equivalent JSON API command to run zendisc on a network or should I use serviced service ZenModeler to run it
The JSON API provides a discoverDevices() function. Does this discover networks too
Can someone send me a sample command that I can test with
< |
Previous Zenoss Core 5 - Use serviced to mount an external directory inside a container t ... |
Next POSKeyError - Unable to Delete Device |
> |