VMware Cloud Community
Morten_hyperic
Contributor
Contributor

logging

To validate that my ping service works, I added a bogus hostname and am expecting to see red or yellow indication.

C:\>ping bogus
Ping request could not find host bogus. Please check the name and try again.

1: is this message logged in the HQ server's directory somewhere?

2: How does the HQ plugin know that this is not a correct response, I don't see any criteria that I am checking the respponse string against.

Sorry for all these questions, but HQ might be exactly what we need and I have tried quite a few monitoring tools so far. Sttill have to sort out web services, DB2 ping, SNMP alerting, Business Object and MetaMatrix integration but getting there.

Thanks for a promising solution for our needs.
0 Kudos
1 Reply
dougm_hyperic
VMware Employee
VMware Employee

On Nov 14, 2006, at 7:44 PM, Morten wrote:

> To validate that my ping service works, I added a bogus hostname
> and am expecting to see red or yellow indication.
>
> C:\>ping bogus
> Ping request could not find host bogus. Please check the name and
> try again.
>
> 1: is this message logged in the HQ server's directory somewhere?

Only with the Enterprise subscription currently, as part of the log
management feature. This message would show up right underneath the
indicator charts.

> 2: How does the HQ plugin know that this is not a correct response,
> I don't see any criteria that I am checking the respponse string
> against.

Script plugins use an exit code to give HQ the availability metric:
http://support.hyperic.com/confluence/display/DOCSHQ27/Script+Plugin
So you could just have your script check the response and exit with
the appropriate value.

> Sorry for all these questions, but HQ might be exactly what we need
> and I have tried quite a few monitoring tools so far. Sttill have
> to sort out web services, DB2 ping, SNMP alerting, Business Object
> and MetaMatrix integration but getting there.

No problem at all, ask away, that's what we're here for!

> Thanks for a promising solution for our needs.

Happy to, thanks for your time and interest.


0 Kudos