Created
February 14, 2013 11:51
-
-
Save maxmanders/4952315 to your computer and use it in GitHub Desktop.
Zenoss ZenPack Debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/zenoss/common/libexec/check_http_by_hostname.py -H www.some_host_that_resolves.com -p 80 -t 60 -u / -f follow | |
Exit status is 1 which I had expected to raise an event, with the stdout of the command being the event message | |
zencommand run -d <device> -v10 | |
... | |
2013-02-14 11:44:36,515 DEBUG zen.zencommand: running '/usr/local/zenoss/common/libexec/check_http_by_hostname.py -H www.some_host_that_resolves.com -p 80 -t 60 -u / -f follow' | |
2013-02-14 11:44:36,515 DEBUG zen.zencommand: cmd line: '/bin/sh -c exec /usr/local/zenoss/common/libexec/check_http_by_hostname.py -H www.some_host_that_resolves.com -p 80 -t 60 -u / -f follow' | |
2013-02-14 11:44:36,540 DEBUG zen.zencommand: Process check_http_by_hostname.py -H www.some_host_that_resolves.com -p 80 -t 60 -u / -f follow started | |
2013-02-14 11:45:08,918 DEBUG zen.zencommand: Received exit code: 1 | |
2013-02-14 11:45:08,918 DEBUG zen.zencommand: Command: '/bin/sh -c exec /usr/local/zenoss/common/libexec/check_http_by_hostname.py -H www.some_host_that_resolves.com -p 80 -t 60 -u / -f follow' | |
2013-02-14 11:45:08,919 DEBUG zen.zencommand: Output: 'check_http bad IPs for www.some_host_that_resolves.com: 123.123.123.123\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment