Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix call to poll_postgres.py script #27

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tindelli
Copy link

As is, the monitoring templates fail with an error that the command isn't found (at least on Zenoss 6.4.1), since zencommand expects scripts to be installed into /opt/zenoss/libexec. Other ZenPacks install a symlink pointing to the actual check script (see, e.g. ZenPacks.zenoss.CiscoMonitor or ZenPacks.zenoss.Memcached), but this is a quick fix that shouldn't risk breaking anything.

The script also doesn't have the execute bit set, so this calls zenoss's python binary.

  • Resolve full path to poll_postgres.py script using ZenPackManager
  • Call script using zenoss python, since file isn't marked executable

* Call script using zenoss python, since file isn't marked executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant