Sep 20, 2011 5:01 PM
fping graphing problem
-
Like (0)
I'm running Zenoss 3.2.0 on Ubuntu 10.04 and am attempting to use the fping zenpack. I installed the ZenPacks.BlakeDrager.fping-1.0-py2.6.egg package via the command line with debug on and observed no errors.. so all indications are that it installed properly, however the graphs aren't generating properly.
Under the config for the datasource, the test results come back like I would expect:
PING OK|xmt=3 rcv=3 loss=0 min=23.0 avg=27.7 max=36.9
I get a value and a line for Pings Sent, but all other values are showing up as nan. Looking in the /usr/local/zenoss/zenoss/perf/Devices/1.2.3.4 folder, I see an fping_xmt.rrd file, but no others. Watching the zencommand.log after enabling debug, I can see a series of entries about fping, culminating with the following:
2011-09-20 16:00:32,344 DEBUG zen.zencommand: The result of "/usr/bin/fping -c 3 -sq 1.2.3.4 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 = / /'" was "'PING OK|xmt=3 rcv=3 loss=0 min=79.7 avg=112 max=169\n\n\n'"
2011-09-20 16:00:32,346 DEBUG zen.zencommand: Storing xmt = 3.0 into Devices/1.2.3.4/fping_xmt
There are no errors or other indications that any of the other values are even being processed.
Any ideas on why this isn't working? I've read multiple posts on issues with fping graphing, but none of them seem to fit this scenario exactly. The closest I found was resolved by starting over with a clean install, but I've been able to reproduce this on a VM with a brand new installation of Ubuntu.
Thanks
I thought I'd looked at this problem from every possible angle already, but I just happened upon another thread this evening that explains my issue as a bug in the ZenRRD parser.
To confirm, I changed the NagParser value to re.compile(r"""([^ =']+|'(.*)'+)=([-0-9.eE]+)([^; ]*;?){0,5}""") as suggested in one of the replies, and my fping graphs immediately came to life. There is a patch available per Trac ticket 7860 (http://dev.zenoss.org/trac/ticket/7860).
Sadly you missed the patches. Anyone on 3.2 needs to install these patches:
`zenpatch 26334`, `zenpatch 26335`, `zenpatch 26337`
3.2.1 is in beta now which will include these fixes.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
I've been using Zenoss for all of about 1 week now, so I guess I missed the memo.
I found the Trac system this afternoon and queried all of the defects for 3.2.0.. is there is better way to keep track of the available and/or recommended patches?
Thanks!
I'm not sure that Zenoss has an official method beyond Trac. Sometimes you find more out in IRC, or like this - a forum post. The ZCA tries to get info out where applicapible. In this case, I think I'll make a blog post - you can watch it here:
https://zcaportal.org/wiki/bin/view/ZCA/WebHome
and click on blog.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||