Ping integration issues
See original GitHub issueI am unable to use the ping integration sucessfully to monitor my hosts Output of the info page
ping (1.0.2)
------------
Instance ID: ping:bf57e8d4f2230bb1 [ERROR]
Configuration Source: file:/etc/datadog-agent/conf.d/ping.d/conf.yaml
Total Runs: 2
Metric Samples: Last Run: 0, Total: 0
Events: Last Run: 0, Total: 0
Service Checks: Last Run: 0, Total: 0
Average Execution Time : 2ms
Last Execution Date : 2021-11-22 23:56:16 UTC (1637625376000)
Last Successful Execution Date : Never
Error: get_subprocess_output expected output but had none.
Traceback (most recent call last):
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 1006, in run
self.check(instance)
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/ping/ping.py", line 65, in check
lines = self._exec_ping(timeout, host)
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/ping/ping.py", line 48, in _exec_ping
lines, err, retcode = get_subprocess_output(
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/subprocess_output.py", line 56, in get_subprocess_output
out, err, returncode = subprocess_output(cmd_args, raise_on_empty_output, env=env)
_util.SubprocessOutputEmptyError: get_subprocess_output expected output but had none.
Instance ID: ping:ee3892c0589f055c [ERROR]
Configuration Source: file:/etc/datadog-agent/conf.d/ping.d/conf.yaml
Total Runs: 2
Metric Samples: Last Run: 0, Total: 0
Events: Last Run: 0, Total: 0
Service Checks: Last Run: 0, Total: 0
Average Execution Time : 4ms
Last Execution Date : 2021-11-22 23:56:09 UTC (1637625369000)
Last Successful Execution Date : Never
Error: get_subprocess_output expected output but had none.
Traceback (most recent call last):
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 1006, in run
self.check(instance)
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/ping/ping.py", line 65, in check
lines = self._exec_ping(timeout, host)
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/ping/ping.py", line 48, in _exec_ping
lines, err, retcode = get_subprocess_output(
File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/utils/subprocess_output.py", line 56, in get_subprocess_output
out, err, returncode = subprocess_output(cmd_args, raise_on_empty_output, env=env)
_util.SubprocessOutputEmptyError: get_subprocess_output expected output but had none.
Additional environment details (Operating System, Cloud provider, etc): I am running the agent on Ubuntu 18.04 VM
Steps to reproduce the issue:
- Built the integration for the docker container using the following steps in the link
- Used the same sample file I just replaced the host_name with the IPs of the host I want to monitor
- I am able to ping the hosts from the docker hosts
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Known issues and limitations | Ping Identity Documentation
The following are known issues or limitations with the Workplace from ... Product documentation; Other Documents; Integration; Facebook ...
Read more >Integrate Ping Identity as the Cloud SWG SAML IdP - TechDocs
In the first phase, set up SAML authentication in the Ping Identity ... SWG SAML Authentication Issues for possible causes and resolutions.
Read more >Is Ping Identity Down? - IsDown
Check if Ping Identity is down. Monitor Ping Identity status changes, problems, outages, and user reports. Get instant notifications.
Read more >PingFederate - AWS IAM Identity Center (successor to AWS ...
Use the following procedure in the PingFederate administrative console to enable integration between IAM Identity Center and the IAM Identity Center ...
Read more >Ping - Datadog Docs
Because the Ping integration is not included by default in the Agent, the ping binary is also not included with the Agent. You...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @yzhan289 , installing ping binary fixed the issue. Now it’s working as expected.
@tuan-nguyen-ts Glad to hear! I’ll close this ticket for now, but if @srisgajare your issue is not solved by installing the
ping
binary, please feel free to reopen the issue.