TECHZEN Zenoss User Community ARCHIVE  

Custom command scripts

Subject: Custom command scripts
Author: [Not Specified]
Posted: 2016-01-04 01:27

Hi,

I am tring to add custome command scripts in /opt/zenoss/libexec/myscript.sh in zenoss5. I have already pleaced it in containerid:/opt/zenoss/libexec/myscript.sh but from zenoss5 UI i am getting there is no file in /opt/zenoss/libexec while testing as custome command.

How can i fix this one.

Regards,

Sunny.



Subject: This is a container issue.
Author: Andrew Kirch
Posted: 2016-01-19 12:01

This is a container issue. Export a ZenPack, put the script in libexec in the zenpack folder, and import it as a zenpack.

https://github.com/trelane/ZenPacks.trelane.Postfix

Should serve as a useful template/howto

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
Zenoss Desktop App like Nagstamon
  Next
Zenoss changes zSnmpCommunity back to "public"
>