KSriHarsha591 / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
0 stars 0 forks source link

Apache CPU load template doesn't work #157

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Looks like that SSH based template "Apache CPU load" doesn't work.

Command:
# php /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.1.2 --type apache 
--items a0,a1,a2,a3,a4,a5,a6,a7,a8,a9

Output:
a0:22 a1:4096 a2:19 a3:1 a4:-1 a5:19 a6:0 a7:0 a8:1 a9:0

a4 that is responsible for Apache CPU load returns -1.

Apache version: 2.2.13
Templates version: 1.1.7

Original issue reported on code.google.com by moskvin....@gmail.com on 27 Sep 2010 at 8:05

GoogleCodeExporter commented 8 years ago
It works -- it just doesn't work on YOUR data.  Please attach a file with the 
output of the Apache status so I can repeat and fix, and add it to the test 
suite.

Original comment by baron.schwartz on 27 Sep 2010 at 11:48

GoogleCodeExporter commented 8 years ago
Thanks for looking into this.

Attaching server-output for which error occurs.

Original comment by moskvin....@gmail.com on 27 Sep 2010 at 12:14

Attachments:

GoogleCodeExporter commented 8 years ago
That's in HTML format, for a browser -- can you add the ?auto parameter to the 
URL so you get it in plaintext, and attach that?

Original comment by baron.schwartz on 27 Sep 2010 at 12:35

GoogleCodeExporter commented 8 years ago
Okay, attaching in plaintext.

Original comment by moskvin....@gmail.com on 27 Sep 2010 at 12:56

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was updated by revision r518.

Add an Apache test case

Original comment by baron.schwartz on 27 Sep 2010 at 1:12

GoogleCodeExporter commented 8 years ago
The new test cases passes without modifications to the code.  Can you try 1) 
enabling the debug log, 2) capturing the status text via SSH yourself as the 
tool does, 3) checking the cache file too see what its contents are?

Original comment by baron.schwartz on 27 Sep 2010 at 1:14

GoogleCodeExporter commented 8 years ago
I can't reproduce the problem, so I'll WontFix this one.

Original comment by baron.schwartz on 15 Jan 2011 at 6:05