sensu / monitoring-plugins

Sensu Assets for the monitoring-plugins.org project
https://monitoring-plugins.org
5 stars 17 forks source link

check_ping not working on Ubuntu 20.04 and Ubuntu 22.04 #49

Open l3system opened 4 months ago

l3system commented 4 months ago

When running the plugin I get this error: CRITICAL - You need more args!!! Could not open pipe:

Example: ./check_ping -H 1.1.1.1 -w 10,10% -c 20,20% CRITICAL - You need more args!!! Could not open pipe:

All other plugins (check_disk, etc) work fine. plugin works fine on CentOS 8.

Assets: sensuctl asset list| grep ubuntu sensu/monitoring-plugins //assets.bonsai.sensu.io/.../monitoring-plugins-ubuntu1804_2.10.5_linux_amd64.tar.gz cca3d6b
sensu/monitoring-plugins //assets.bonsai.sensu.io/.../monitoring-plugins-ubuntu2004_2.10.5_linux_amd64.tar.gz f118bbd
sensu/monitoring-plugins //assets.bonsai.sensu.io/.../monitoring-plugins-ubuntu2204_2.10.5_linux_amd64.tar.gz 4ff9454

jsadowyj commented 4 months ago

Yep. This has been an issue forever, and nobody is maintaining it. We forked the repo and implemented a fix: https://bonsai.sensu.io/assets/mnx-solutions/monitoring-plugins/versions/2.10.7

l3system commented 4 months ago

Yep. This has been an issue forever, and nobody is maintaining it. We forked the repo and implemented a fix: https://bonsai.sensu.io/assets/mnx-solutions/monitoring-plugins/versions/2.10.7

Thanks a lot for the info!