question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ping integration issues

See original GitHub issue

I 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:

  1. Built the integration for the docker container using the following steps in the link
  2. Used the same sample file I just replaced the host_name with the IPs of the host I want to monitor
  3. I am able to ping the hosts from the docker hosts

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tuan-nguyen-tscommented, Oct 12, 2022

Thank you @yzhan289 , installing ping binary fixed the issue. Now it’s working as expected.

0reactions
yzhan289commented, Oct 12, 2022

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found