Dec 4, 2009 12:28 PM
New to Zenoss: ZenPacks, Conversions
-
Like (0)
Good Morning All,
I have installed Zenoss on a Dell PowerEdge 860 running Ubuntu 9.04. We are testing Zenoss to monitor our network.
I have downloaded the Blake.Drager.b_fping ZenPack and installed it. This ZenPack is supposed to show latency/ping results in a graph, however, I don't believe I'm adding it to the devices properly. What is the correct way to assign a ZenPack to a group of devices? I had it bound to /Devices just like the default Device template was, and the headers for the graphs showed, but the graphs never appeared.
Also, How do I add conversions to graphs? Example: Convert Celsius to Farenheit, divide the result by 10 before graphing, etc.
Thanks for the input,
Kristopher.
Added:
Attached is a screen shot of what I get from the template
It looks like your template has been bound, but do you have any events related to failed commands? I wonder if you've got fping and sed installed, per the ZenPack instructions? If you go into the template and the data source, you can see the commands that are being used to populate those graphs. You can use the 'Test' button to see if they work.
Thanks for the reply, Matt.
I have fping and sed installed. fping in /usr/sbin/fping and sed in /bin/sed.
I ran the test and it results:
Executing command |
/usr/sbin/fping -c 3 -sq <IP REMOVED> 2>&1 | /bin/sed 's/\([0-9]*\)\/\([0-9]*\)\/\([0-9]\)%/xmt=\1 rcv=\2 loss=\3/;s/\([0-9]*.[0-9]*\)\/\([0-9].*\)\/\([0-9].*\)/min=\1 avg=\2 max=\3/' | /bin/sed -r '/targets/,/real time/d;s/[0-9]*.[0-9]*.[0-9]*.[0-9]* : xmt\/rcv\/%loss = /PING OK|/;s/, min\/avg\/max = / /' |
against <devname> |
/bin/sh: /usr/sbin/fping: not found |
DONE in 0 seconds |
/bin/sh: /usr/sbin/fping: not found
Looks like either you don't have fping installed or the path is incorrect in the data source. Login as the 'zenoss' user and see if you have the fping command in /usr/sbin. You may need to correct the path in the data source.
Matt,
Yes, there is a command there for fping.
My mistake, it's in /usr/bin... not /sbin.
Thanks!
Do you know how to add the conversions to charts mentioned earlier?
I've read through the tutorial and have looked through some other sites online. I still can't understand exactly how this RPN system works. I need to convert Celsius to Fahrenheit as well as add some calculations for other graphs.
Thanks for the help.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||