Discussion:
New install apache not showing any data
xlancealot
2012-01-23 21:33:54 UTC
Permalink
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion

"New install apache not showing any data"

To view the discussion, visit: http://community.zenoss.org/message/63836#63836

--------------------------------------------------------------
Looks similar to this thread ( http://community.zenoss.org/thread/16866 http://community.zenoss.org/thread/16866) but I am moving an older server so have a brand new clean install of a 3.2.1 system.  All the servers were added, then the apache monitoring zenpack installed (2.1.3) and installed fine.

Extended is on, etc.

I added that template to a server, and I am seeing no data.   At the command line, I can issue the check_apache with the following;
STATUS OK|slotDNSLookup=0 totalAccesses=95219 slotReadingRequest=0 totalKBytes=339622 busyServers=20 slotKeepAlive=14 slotGracefullyFinishing=0 bytesPerReq=3652.35 cpuLoad=96.3994 bytesPerSec=214675 slotLogging=0 slotSendingReply=6 slotStartingUp=0 reqPerSec=58.7772 slotWaiting=34 slotOpen=330 idleServers=34

under that server folder I see;
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:27 apache_slotDNSLookup.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 laLoadInt15_laLoadInt15.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 laLoadInt1_laLoadInt1.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 laLoadInt5_laLoadInt5.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 memAvailReal_memAvailReal.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 memAvailSwap_memAvailSwap.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:03 memBuffer_memBuffer.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:03 memCached_memCached.rrd
drwxr-x--- 5 zenoss zenoss  4096 Jan 23 21:13 os
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 ssCpuIdle_ssCpuIdle.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 ssCpuRawWait_ssCpuRawWait.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 ssCpuSystem_ssCpuSystem.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 ssCpuUser_ssCpuUser.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 ssIORawReceived_ssIORawReceived.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 ssIORawSent_ssIORawSent.rrd
-rw-r--r-- 1 zenoss zenoss 35432 Jan 23 21:28 sysUpTime_sysUpTime.rrd

So there is a file there but not sure why there is no data.  I read another thread which said to change /server-status?auto to /server-status/?auto which I tried with the same results.  I read along with that above thread which said to patch 3 patches,

zenpatch 26334
zenpatch 26335
zenpatch 26337

So I installed those, and looking back at the history I see both that 3.2.1 was supposed to fix that and also this in the history
Reversed (or previously applied) patch detected!  Assume -R? [n]

I said 'y' thinking it was overwriting, but before I break things more, should I;
a) re-patch and say n ?
b) remove the zenpack and re-install?

I am at a loss as I need to get apache monitoring so any help is appreciated.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63836#63836]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-01-23 22:47:57 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: New install apache not showing any data"

To view the discussion, visit: http://community.zenoss.org/message/63831#63831

--------------------------------------------------------------
I'm not sure that re-runing and answering NO would result in the change (I'm not positive though)
As far as uninstalling the patches at first glance don't appear to affect any of the zenpack files but rather core files.

Given you have only one RRD 26334 seems to be a really close fit to your issue. Can you take a look at http://dev.zenoss.com/trac/changeset/26334 http://dev.zenoss.com/trac/changeset/26334 and compre the changeset there to the file on your file sytem?

I'd also restart Zenoss after applying this for good measure.

Is there any useful information in $ZENHOME/log/zencommand.log?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63831#63831]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
xlancealot
2012-01-24 02:13:02 UTC
Permalink
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion

"Re: New install apache not showing any data"

To view the discussion, visit: http://community.zenoss.org/message/63851#63851

--------------------------------------------------------------
Thanks for the reply.   I looked at the Auto.py file and it matches the
R26286 version as there are no matches = , etc.

In that folder there are 2 versions however, an Auto.py and an Auto.py.orig
which seems to match the 23334 version.

So as still learning, it seems the patch did save the original (which in
fact is newer), right?

As for the zencommand log, I see the following latest;
012-01-23 21:11:51,362 INFO zen.zencommand: config:
<Products.ZenRRD.zencommand.DeviceConfig instance at 0x3f258c0>
2012-01-23 21:12:55,137 INFO zen.zencommand: config:
<Products.ZenRRD.zencommand.DeviceConfig instance at 0x3fe7560>
2012-01-23 21:12:55,138 INFO zen.zencommand: Deleting command web01 from
/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.2-py2.6.egg/ZenPacks/zenoss/ApacheMonitor/libexec/check_apache.py
-H 10.206.69.219 -p 80 -u '/server-status/?auto'
2012-01-23 21:13:08,957 INFO zen.zencommand: config:
<Products.ZenRRD.zencommand.DeviceConfig instance at 0x3fe7f38>

Not really sure what that tells me, but after a few hours I do see the
default linux/server graphs working nicely, so not sure what to attack
next....  ZenOss has been restarted as well.

Tnx
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63851#63851]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-01-24 02:30:51 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: New install apache not showing any data"

To view the discussion, visit: http://community.zenoss.org/message/63853#63853

--------------------------------------------------------------
I don't use zenpatch (no direct internet access from my zenoss servers), so I'm not entirely sure which file is which. If you don't see any differences, you likely have the proper one.

Maybe try running zencommand in debug mode for that device from the CLI as the zenoss user
zencommand run -d <DeviceName> -v 10
Cleanup the output if there is anything sensative in there and then paste the results
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63853#63853]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
xlancealot
2012-01-24 02:44:08 UTC
Permalink
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion

"Re: New install apache not showing any data"

To view the discussion, visit: http://community.zenoss.org/message/63854#63854

--------------------------------------------------------------
Interesting, I did do that (from the other thread) and there was a lot of
data there, so I knew things were good.  The even more odd thing is as I
said I was moving box's, tried the backup, restore via CLI and since the
ports were going to be diff it became a mess.

BUT, (big but) that box was the same 3.2.1, so while I waited, I stopped
zenoss on the new box, copied just the Products folder (since that is where
the magic happens) to the new box and restarted.  Before I could sit up and
stretch the RRD graph updated with a new pretty line under apache
connections!

I am going to take a little time tonight to see the differences in the
Auto.py, etc. but I will close this thread saying it's solved, but will
investigate more on what files are different and post that in the next day
or so!

Thanks again!   This made life easier!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63854#63854]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...