|
|
| Author |
Message |
paul-lmi
Joined: 26 Aug 2007 Posts: 13
|
Posted: Mon Aug 27, 2007 11:41 am Post subject: |
|
|
| JohnneyBoy wrote: | Hello,
Any chance of publishing the fixed xml?
John | i will when i have ALL graphs working properly. I noticed that even the ones that are working, don't all work in all views.
|
|
| Back to top |
|
 |
htwo
Joined: 04 Sep 2007 Posts: 1
|
Posted: Fri Sep 07, 2007 8:46 am Post subject: |
|
|
| gandalf wrote: | You'll have to feed the hostname to the script. This should be done via the Data Input Method. It should have one Input Parameter, <hostname>. This should, of course, be done by the Host Template you have imported. Please post the screen of your Data Input Method for Apache Webstats.
Reinhard |
Hello,
I'm trying to import this template and I think this is my problem. I get the graphs but no data shows up. When poller.php runs, it shows "ERROR: Not enough arguments"
How do I plug in the hostname if I want this template to run for multi apache sites?
I've tried this on the stable version of Cacti and CactiEZ .2
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Sat Sep 08, 2007 10:48 am Post subject: |
|
|
| htwo wrote: | | How do I plug in the hostname if I want this template to run for multi apache sites? | You will have to create a new DEVICE for each of the http instances or provide the name as "Per Data Source Value" like the Data Template "Linux - Memory - Free" does
Reinhard
|
|
| Back to top |
|
 |
stefoxa
Joined: 14 Sep 2007 Posts: 4
|
Posted: Fri Sep 14, 2007 10:45 am Post subject: |
|
|
Hello,
I use cacti0.8.6j and cactid 0.8.6i.
All the graphs run, except the "Bytes/Requets" and the "Thread Details (%)".
The data rrd are upgrade but this 2 graphs are not posted.
More, LINEx statements with color are defined in my graphs.
Thank you in advance.
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Fri Sep 14, 2007 11:35 am Post subject: |
|
|
Please refer to the second link of my signature to track this issue down. For the graph, please visit Graph Management and switch to DEBUG. Post the whole rrdtool graph statement
Reinhard
|
|
| Back to top |
|
 |
stefoxa
Joined: 14 Sep 2007 Posts: 4
|
Posted: Mon Sep 17, 2007 10:37 am Post subject: |
|
|
Hello,
Thank you for your answer gandalf.
So, I turn on Graph Debug Mode.
The result on the graph Apache Statistics - Thread Details (%):
RRDTool Says:
ERROR: Expected some arguments after 'COMMENT:'
The result on the graph AApache Statistics - Bytes / Request:
RRDTool Says:
ERROR: Expected some arguments after 'COMMENT:'
I have to insert Hard Return for each COMMENT and the graphs run.
But I have some errors on the graphs.
For example, the current byte/request = 0.00
See the files thread detail.png, byte sec.png.
Thank you in advance.
| Description: |
|
| Filesize: |
30.05 KB |
| Viewed: |
5064 Time(s) |

|
| Description: |
|
| Filesize: |
31.34 KB |
| Viewed: |
5064 Time(s) |

|
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Mon Sep 17, 2007 2:26 pm Post subject: |
|
|
Please make sure to apply all patches to cacti. I'm quite sure, that the comment issue was tackled
Reinhard
|
|
| Back to top |
|
 |
Diggit2001 Cacti User
Joined: 03 May 2005 Posts: 78 Location: MD, US
|
Posted: Thu Oct 18, 2007 10:17 am Post subject: |
|
|
Hello there. I am trying to get this to work with my setup and I am having some troubles. In my troubleshooting, I am trying to hit http://localhost/server-status and I'm begin told that the requested URL was not found on the server. I have verified that the module is enabled in the config but I seem to be missing something somewhere.
On the server I am trying to monitor, I am running Apache in the latest version of XAMPP. Would this be causing any issues?
Thanks for the help.
-Chris
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Thu Oct 18, 2007 2:25 pm Post subject: |
|
|
You surely restarted htpd after changing the httpd.conf?
Reinhard
|
|
| Back to top |
|
 |
Diggit2001 Cacti User
Joined: 03 May 2005 Posts: 78 Location: MD, US
|
Posted: Thu Oct 18, 2007 2:26 pm Post subject: |
|
|
Yes, I sure did.
Thanks
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Thu Oct 18, 2007 2:36 pm Post subject: |
|
|
This is an apache issue, as long as the server-status page does not display. Please search apache docs
Reinhard
|
|
| Back to top |
|
 |
Diggit2001 Cacti User
Joined: 03 May 2005 Posts: 78 Location: MD, US
|
Posted: Thu Oct 18, 2007 2:38 pm Post subject: |
|
|
Is there supposed to be a server-status page on my server somewhere? I can not locate one.
Sorry, I'm an old IIS guy that's just recently ventured into Apache.
Thanks
|
|
| Back to top |
|
 |
rizwan_as
Joined: 16 Feb 2006 Posts: 2
|
Posted: Mon Dec 31, 2007 5:50 am Post subject: apache virtual hosts monitoring |
|
|
Hi,
Iam currently having webservers running multiple apache instance running with apachestats script i can only get monitoring done for one hostserver is it possible to monitor all the apache instances running in theserver which has multiple ipaddress running each apache instances
Thanks in advance.
BEst Regards
Rizwan
|
|
| Back to top |
|
 |
gvibe06
Joined: 30 Oct 2007 Posts: 20 Location: Alpharetta, GA
|
Posted: Mon Dec 31, 2007 3:53 pm Post subject: |
|
|
All I get is this ...
[root@netdev /cacti]# perl scripts/ws_apachestats.pl
Use of uninitialized value in scalar chomp at scripts/ws_apachestats.pl line 45.
Use of uninitialized value in string eq at scripts/ws_apachestats.pl line 47.
Someone please tell me how to fix?
Thanks
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Sun Mar 09, 2008 5:54 am Post subject: |
|
|
| gvibe06 wrote: | All I get is this ...
[root@netdev /cacti]# perl scripts/ws_apachestats.pl
Use of uninitialized value in scalar chomp at scripts/ws_apachestats.pl line 45.
Use of uninitialized value in string eq at scripts/ws_apachestats.pl line 47.
Someone please tell me how to fix?
Thanks | Please download updated script and post results
Reinhard
|
|
| Back to top |
|
 |
|