hypermike
Contributor
Contributor

How using the new ping plugin--Can I ping multiple NON-client systems .

I have installed the ping plugin from the client pdk.examples directory into a new created
hq-plugins directory as staed in this url.

http://communities.vmware.com/thread/347069?tstart=0

I created a new service for this and told the hyperic client to ping a remote system .
When creating this it seems that only one machine can be put in the machine name field.
How can I ping numerous systems .

Also I shutdown the remote system and the availability grpah shows yellow (partial avail)
why NOT red .???

I could not create a group of machines to ping either , Would not let me add names to the
group.???
0 Kudos
2 Replies
cwitt_hyperic
Hot Shot
Hot Shot

The ping plugin example is limited to the abilities of the host's native ping utility, since that command is what the plugin calls. Typically, standard ping only takes a single host as an argument.

In order to extend the plugin to ping multiple hosts, one would have to do things a little differently. One method might be to use a script that would parse a list of hosts that were comma or space delimited, and run through them using the host's native ping command. Another way might be to use a ping utility that can take multiple hosts as arguments, like fping. I experimented a bit with this last method, and it looks like an interesting possibility. The challenge to a multi-host ping via a plugin is getting out the useful information regarding which of the specified hosts you are checking is down when a failure occurs. I'm sure this could be done with creative use of the PDK, but so far, I have found it simpler to create a service definition for each host I am wanting to ping.

If you come up with something creative and useful, please do share it with us.

I believe your yellow availability indicator is a product of the time range settings for your view. If you have the range scaled up enough that several availabilty data points exist within each time slice, some of which are green, and some of which are red, you would see the partially available yellow indicator. If you scale down your range enough, you should see the red indicator showing unavailability.
hypermike
Contributor
Contributor

I was hoping to use hyperic to monitor systems (like our servers alive does). Our servers
alive is old and needs replacement. I was hoping hyperic open source could monitor
NON client systems easily. Will continue to try things .
0 Kudos