On 06/07/07, michaelbeachler <[EMAIL PROTECTED]> wrote:

Thanks for the quick reply.

I have created a template called test.  Under test I have created a Data
Source called test1 with a source type of COMMAND and it is
enabled.  However, it doesn't seem to be doing anything.

My test template is configured similar to the following scenario:

For the sake of simplicity lets say I have the following script on a
remote box:

#!/bin/bash
echo "condition=1"

Let's say I called this script test_script.

I can execute this test from the zenoss server via:

ssh testhost "test_script"

Could someone provide a step by step to get this test_script monitored for
testhost every 5 minutes?

condition=1 should be Critical
condition=0 should be OK

I'd be willing to write up a How-To on this if I can get it working
properly.


I don't know anything about ssh tests, but there is a Howto on integrating a
Nagios command e.g. check_http, see
http://www.zenoss.com/community/docs/howtos/create-modify-nagios-templates/.
This might give you some help.

I followed this to add a check for a Ping RTA data source.

One item that seems to cause a lot of confusion is that in general your
template should be name "Device".  Your should then import it into the
Device Class Tree at the correct point, i.e. If you want to make a new
template for the class Network/Switch you would navigate to that point in
the hierarchy and Add the template "Device" there.  This was the case with
Zenoss 1.x anyway.

--
Regards,

Graham Bloice
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to