TECHZEN Zenoss User Community ARCHIVE  

Setting up custom "Pager" script (SMS) - Latest Zenoss Core 5

Subject: Setting up custom "Pager" script (SMS) - Latest Zenoss Core 5
Author: John Reed
Posted: 2018-05-23 11:10

Hello,

I'm struggling to setup a custom script I wrote for SMS text messages in the latest Zenoss Core (5.x). In Advanced --> Settings, there is a "page command" field, in which I have added the full path to my script ("/opt/zenoss/var/ext/twilio/twilio_sh.sh -d $RECIPIENT")

I have gone through the instructions of adding a script to a docker container and committing that (permanent steps):How to add tools or scripts into a Resource Manager 5.x Docker Container

When I click on the test button next to a pager number ("+19992223333"), I all I get is a yellow bar saying "Test Failed:" with no error message or any indication as to what when wrong with the pager script. Is there a specific log to see what happened? Is it possible that the process that runs the pager command doesn't have access to /opt/zenoss/var/ext?

I'm not sure what to do or how to even troubleshoot this. The documentation on this is non-existent from what I can see. Any help would be appreciated.

Thanks,

John

------------------------------
John Reed
DevOps Engineer
Bluescape
CA
------------------------------


Subject: RE: Setting up custom "Pager" script (SMS) - Latest Zenoss Core 5
Author: John Reed
Posted: 2018-05-23 16:35

So my issue was that I needed to commit to the zenjobs container, not zope. My bad.

------------------------------
John Reed
DevOps Engineer
Bluescape
CA
------------------------------


< Previous
Informant STD Download Broken
  Next
2 error: "error getting driver status for path /opt/serviced/var/volumes" and " ...
>