Skip navigation
2755 Views 3 Replies Latest reply: Jun 11, 2012 8:44 PM by mikea730 RSS
Gerald Talton Rank: White Belt 19 posts since
Nov 4, 2011
Currently Being Moderated

Dec 20, 2011 12:00 PM

HttpMonitor performance graphs not working

I just installed the HttpMonitor ZenPack and the performance graphs are not working. I know that the monitor is working because if I bring the web sites that are being monitored down the alerts fire. Also if I run the monitor manually using 'zencommand run  -v10 -d <web site>', I will see the required RRD save line. As an example I configured a simple check of google.com and manually ran the zencommand shown below:

 

[zenoss@mmsbnemon01 tmp]$ zencommand run -v10 -d google.com

2011-12-21 02:24:30,403 DEBUG zen.zencommand: Starting PBDaemon initialization

2011-12-21 02:24:30,413 INFO zen.zencommand: Connecting to localhost:8789

2011-12-21 02:24:30,414 DEBUG zen.zencommand: Logging in as admin

2011-12-21 02:24:47,802 INFO zen.zencommand: Connected to ZenHub

2011-12-21 02:24:47,803 DEBUG zen.zencommand: Setting up initial services: EventService, CommandConfig

2011-12-21 02:24:47,804 DEBUG zen.zencommand: Chaining getInitialServices with d2

2011-12-21 02:24:51,254 DEBUG zen.zencommand: Loaded service EventService from zenhub

2011-12-21 02:24:51,254 DEBUG zen.zencommand: Loaded service CommandConfig from zenhub

2011-12-21 02:24:51,254 DEBUG zen.zencommand: Queueing event {'severity': 0, 'component': 'zencommand', 'agent': 'zencommand', 'summary': 'sta

rted', 'manager': 'mmsbnemon01.internal.mincom.com', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}

2011-12-21 02:24:51,255 DEBUG zen.zencommand: Total of 1 queued events

2011-12-21 02:24:51,256 DEBUG zen.zencommand: Calling connected.

2011-12-21 02:24:51,256 DEBUG zen.zencommand: Fetching configuration from zenhub

2011-12-21 02:24:53,534 DEBUG zen.zencommand: Updated configCycleInterval config to 360

2011-12-21 02:25:07,560 DEBUG zen.zencommand: Loading classes ['Products.ZenModel.MinMaxThreshold', 'ZenPacks.community.PointThreshold.thresho

lds.PointThreshold', 'ZenPacks.community.deviceAdvDetail.thresholds.StatusThreshold']

2011-12-21 02:25:20,348 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost', ''))

2011-12-21 02:25:20,348 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost', ''))

2011-12-21 02:25:20,348 DEBUG zen.thresholds: Updating threshold ('zenperfsnmp cycle time', ('localhost', ''))

2011-12-21 02:25:20,348 DEBUG zen.thresholds: Updating threshold ('zenping cycle time', ('localhost', ''))

2011-12-21 02:25:20,349 DEBUG zen.thresholds: Updating threshold ('zenprocess cycle time', ('localhost', ''))

2011-12-21 02:25:21,271 DEBUG zen.thresholds: Checking value 0 on Daemons/localhost/zencommand_eventQueueLength

2011-12-21 02:25:21,272 DEBUG zen.MinMaxCheck: Checking zencommand_eventQueueLength 0 against min None and max 1000

2011-12-21 02:25:21,272 DEBUG zen.zencommand: Queueing event {'manager': 'mmsbnemon01.internal.mincom.com', 'eventKey': 'high event queue', 'device': 'localhost', 'eventClass': '/Perf', 'summary': 'threshold of high event queue restored: current value 0.00', 'component': '', 'monitor': 'localhost', 'agent': 'zencommand', 'severity': 0}

2011-12-21 02:25:21,272 DEBUG zen.zencommand: Total of 1 queued events

2011-12-21 02:25:24,545 DEBUG zen.zencommand: running '/usr/local/zenoss/common/libexec/check_http -H google.com -I 74.125.237.114 -p 80 -t 60 -u / -f follow'

2011-12-21 02:25:24,546 DEBUG zen.zencommand: cmd line: '/bin/sh -c exec /usr/local/zenoss/common/libexec/check_http -H google.com -I 74.125.237.114 -p 80 -t 60 -u / -f follow'

2011-12-21 02:25:24,553 DEBUG zen.zencommand: Process check_http -H google.com -I 74.125.237.114 -p 80 -t 60 -u / -f follow  started

2011-12-21 02:25:24,556 DEBUG zen.zencommand: Finished config fetch

2011-12-21 02:25:24,557 DEBUG zen.zencommand: Next command in 299 seconds

2011-12-21 02:25:25,456 DEBUG zen.zencommand: Received exit code: 0

2011-12-21 02:25:25,456 DEBUG zen.zencommand: Command: '/bin/sh -c exec /usr/local/zenoss/common/libexec/check_http -H google.com -I 74.125.237.114 -p 80 -t 60 -u / -f follow'

2011-12-21 02:25:25,456 DEBUG zen.zencommand: Output: 'HTTP OK HTTP/1.0 200 OK - 11149 bytes in 0.884 seconds |time=0.884478s;;;0.000000 size=11149B;;;0\n'

2011-12-21 02:25:25,457 DEBUG zen.zencommand: Process check_http -H google.com -I 74.125.237.114 -p 80 -t 60 -u / -f follow  stopped (0), 0.90 seconds elapsed

2011-12-21 02:25:25,457 DEBUG zen.zencommand: Queueing event {'manager': 'mmsbnemon01.internal.mincom.com', 'eventKey': 'webPageChecker', 'device': 'google.com', 'eventClass': '/Status/Web', 'summary': 'Cmd: /usr/local/zenoss/common/libexec/check_http -H google.com -I 74.125.237.114 -p 80 -t 60 -u / -f follow - Code: 0 - Msg: Success', 'component': '', 'monitor': 'localhost', 'agent': 'zencommand', 'severity': 0}

2011-12-21 02:25:25,458 DEBUG zen.zencommand: Total of 2 queued events

2011-12-21 02:25:25,458 DEBUG zen.zencommand: The result of "/usr/local/zenoss/common/libexec/check_http -H google.com -I 74.125.237.114 -p 80 -t 60 -u / -f follow" was "'HTTP OK HTTP/1.0 200 OK - 11149 bytes in 0.884 seconds |time=0.884478s;;;0.000000 size=11149B;;;0\n'"

2011-12-21 02:25:25,462 DEBUG zen.zencommand: Storing time = 0.884478 into Devices/google.com/webPageChecker_time

2011-12-21 02:25:25,463 DEBUG zen.RRDUtil: Creating new RRD file /usr/local/zenoss/zenoss/perf/Devices/google.com/webPageChecker_time.rrd

2011-12-21 02:25:25,480 DEBUG zen.RRDUtil: /usr/local/zenoss/zenoss/perf/Devices/google.com/webPageChecker_time.rrd: 0.88447799999999999

2011-12-21 02:25:25,480 DEBUG zen.zencommand: RRD save result: 0.884478

2011-12-21 02:25:25,480 DEBUG zen.zencommand: Storing size = 11149.0 into Devices/google.com/webPageChecker_size

2011-12-21 02:25:25,480 DEBUG zen.RRDUtil: Creating new RRD file /usr/local/zenoss/zenoss/perf/Devices/google.com/webPageChecker_size.rrd

2011-12-21 02:25:25,528 DEBUG zen.RRDUtil: /usr/local/zenoss/zenoss/perf/Devices/google.com/webPageChecker_size.rrd: 11149.0

2011-12-21 02:25:25,528 DEBUG zen.zencommand: RRD save result: 11149.0

2011-12-21 02:25:25,530 DEBUG zen.zencommand: Sent a 'stop' event

2011-12-21 02:25:48,732 DEBUG zen.zencommand: stop() called when not running

2011-12-21 02:25:48,733 INFO zen.zencommand: Daemon zencommand shutting down

2011-12-21 02:25:48,733 DEBUG zen.zencommand: Removing service EventService

2011-12-21 02:25:48,734 DEBUG zen.zencommand: Removing service CommandConfig

 

After this I did a "rrdtool dump" of both webPageChecker_size.rrd and webPageChecker_time.rrd and see the data points in the db. However this is what I see in the performance graphs:

 

google-size-graph.png

 

google-time-graph.png

Does anyone have any idea why the graphs wouldn't show the latest data points even though the RRDB contains the data?

Attachments:
  • wizard113 Newbie 5 posts since
    Nov 25, 2008
    Currently Being Moderated
    2. Dec 28, 2011 4:04 PM (in response to Gerald Talton)
    Re: HttpMonitor performance graphs not working

    FWIW, I am seeing the same thing, on 3.2.1, after adding in a custom command template, all my Apache graphs stopped rendering entirely. 

  • mikea730 Rank: Green Belt 131 posts since
    Sep 28, 2010
    Currently Being Moderated
    3. Jun 11, 2012 8:44 PM (in response to wizard113)
    Re: HttpMonitor performance graphs not working

    I'm seeing the same thing on 3.2.1

     

    I used the "Override Template Here" due to the fact that I had to specify SSL and 443 and didn't want to change the base template.

     

    Anyone know how to fix this?

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points