Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[XML] successor to apachestats 0.4
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
paul-lmi



Joined: 26 Aug 2007
Posts: 13

PostPosted: Mon Aug 27, 2007 11:41 am    Post subject: Reply with quote

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

PostPosted: Fri Sep 07, 2007 8:46 am    Post subject: Reply with quote

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

PostPosted: Sat Sep 08, 2007 10:48 am    Post subject: Reply with quote

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

PostPosted: Fri Sep 14, 2007 10:45 am    Post subject: Reply with quote

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

PostPosted: Fri Sep 14, 2007 11:35 am    Post subject: Reply with quote

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

PostPosted: Mon Sep 17, 2007 10:37 am    Post subject: Reply with quote

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.



thread detail.png
 Description:
 Filesize:  30.05 KB
 Viewed:  5064 Time(s)

thread detail.png



byte sec.png
 Description:
 Filesize:  31.34 KB
 Viewed:  5064 Time(s)

byte sec.png


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12295
Location: Muenster, Germany

PostPosted: Mon Sep 17, 2007 2:26 pm    Post subject: Reply with quote

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

PostPosted: Thu Oct 18, 2007 10:17 am    Post subject: Reply with quote

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

PostPosted: Thu Oct 18, 2007 2:25 pm    Post subject: Reply with quote

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

PostPosted: Thu Oct 18, 2007 2:26 pm    Post subject: Reply with quote

Yes, I sure did.

Thanks
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12295
Location: Muenster, Germany

PostPosted: Thu Oct 18, 2007 2:36 pm    Post subject: Reply with quote

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

PostPosted: Thu Oct 18, 2007 2:38 pm    Post subject: Reply with quote

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

PostPosted: Mon Dec 31, 2007 5:50 am    Post subject: apache virtual hosts monitoring Reply with quote

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

PostPosted: Mon Dec 31, 2007 3:53 pm    Post subject: Reply with quote

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

PostPosted: Sun Mar 09, 2008 5:54 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 7 of 9

 



Powered by phpBB © 2001, 2005 phpBB Group