Hi Graham,

You need to add a data point called "RTA" to your data source. Might as well add "loss" too.

-Eric

Graham Bloice wrote:
I'm trying to create a template for a Nagios plugin check_ping as
discussed earlier on the list.  I'm having difficulty creating and
using the new template.  I've tried to follow the HowTo "Working with
Nagios Plugins in Zenoss"

I wanted to create a new class of device under Network that would have
the command in their templates, so under /Devices/Network I created a
sub class "IP".

I then went to the PerfConf tab for this class
(/Devices/Network/IP/PerfConf) and added a Performance Template
"check_ping".

I then added a data source to the template
(/Devices/Network/IP/PerfConf/check_ping) for "ipcheck".

Finally in the data source
(/Devices/Network/IP/PerfConf/check_ping/ipcheck) I added the command
"/usr/libexec/check_ping -H $devname -w 180, 100% -c 300, 100% | sed
-e 's# - Packet loss #|loss#;s#%##;s#ms##;s#,##'".

So far so good.  Now I want to apply this template to a device.  I
added an item to the /Device/Network/IP class but on the PerfConf tab
for the item I can't see how to access my new template.  I just have
the standard Devices template, of which I can make a local copy, but
can't seem to get my check_ping template.

When I get that working, AFAICT this will just give me an up/down
indication, how do I graph the RTA from check_ping?

Thanks for any help.


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

Reply via email to