TECHZEN Zenoss User Community ARCHIVE  

where do I place the command scripts in zenoss 5 and persist it?

Subject: where do I place the command scripts in zenoss 5 and persist it?
Author: [Not Specified]
Posted: 2015-04-09 07:43

I would like to know in zenoss 5, how do I go about doing the following step and make sure it persists across host reboots

Download check_mysql_slave.py and place in $ZENHOME/libexec

as mentioned in say: http://community.zenoss.org/docs/DOC-2484

I searched the admin guide for zenoss 5 without finding anything (at least not directly)

thanks!



Subject: I wouldn't recommend this in
Author: Andrew Kirch
Posted: 2015-04-10 02:40

I wouldn't recommend this in Zenoss 5.
I will suggest a workaround. Create a skeleton ZenPack, and export it. Add that script in Zenpack.whatever.mysqlslave/zenpack/whatever/mysqlslave/libexec, and create the template, then add the template to the ZenPack. This should then be easy to import/maintain in Zenoss 5 with a proper ZenPack. You can reference the Dev Guide: http://wiki.zenoss.org/ZenPack_Development_Guide for more.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Control Center Backup/ Restore Error 500
  Next
Help : graphs with zenoss 4.2.5 and centos 6.5 for windows don't appear !!
>