VMware Cloud Community
samshem
Contributor
Contributor
Jump to solution

Error while setting up Ping

I am trying to get the Ping function to work but keep getting the following error:

Invalid configuration: Error reported by Agent @ XXX.XX.X.XXX:2144: java.lang.IllegalArgumentException: File '\sbin\ping' does not exist

(X's subsitute for actual address)

Does anyone know why this is happening?

Thanks,
Sam
0 Kudos
1 Solution

Accepted Solutions
JohnMarkOrg
Hot Shot
Hot Shot
Jump to solution

As you noted, you're deploying on Windows, so the file "/sbin/ping" will not exist. You have to find out where your ping.exe lives on Windows and insert that into your config properties instead.

FWIW, I have to change that as well, because Ubuntu Linux has ping in another location - /bin/ping

For Windows, it should be something along the lines of c:\windows\system32\ping.exe - but it might depend on your particular version.

-John Mark

View solution in original post

0 Kudos
4 Replies
jtravis_hyperic
Hot Shot
Hot Shot
Jump to solution

What type of platform are you deploying on? I believe the ping
command line is statically specified by the plugin. You could either
create a symlink to it, or modify the plugin.

-- Jon


On Jul 23, 2007, at 12:44 PM, Sami Hashem wrote:

> I am trying to get the Ping function to work but keep getting the
> following error:
>
> Invalid configuration: Error reported by Agent @ XXX.XX.X.XXX:2144:
> java.lang.IllegalArgumentException: File '\sbin\ping' does not exist
>
> (X's subsitute for actual address)
>
> Does anyone know why this is happening?
>
> Thanks,
> Sam



samshem
Contributor
Contributor
Jump to solution

I am deploying it on a Windows platform.
0 Kudos
JohnMarkOrg
Hot Shot
Hot Shot
Jump to solution

As you noted, you're deploying on Windows, so the file "/sbin/ping" will not exist. You have to find out where your ping.exe lives on Windows and insert that into your config properties instead.

FWIW, I have to change that as well, because Ubuntu Linux has ping in another location - /bin/ping

For Windows, it should be something along the lines of c:\windows\system32\ping.exe - but it might depend on your particular version.

-John Mark
0 Kudos
samshem
Contributor
Contributor
Jump to solution

That worked, thank you.
0 Kudos