Great, that works for me!
Thanks!
Sergey
On Apr 13, 2015, at 7:21 PM, Neil Mckee neil.mckee...@gmail.com wrote:
Sergey,
It's usually best to compile mod-sflow from sources so that it matches the
particular version of apache you are running. So before you do that you have
the option of editing mod-sflow.c and changing the setting of
SFWB_DEFAULT_CONFIGFILE (on line 211).
https://code.google.com/p/mod-sflow/source/browse/trunk/mod_sflow.c#211
https://code.google.com/p/mod-sflow/source/browse/trunk/mod_sflow.c#211
Does that work for you?
Separate question: I'm not sure how hsflowd works if it doesn't start as
root? What OS are you on?
Neil
On Mon, Apr 13, 2015 at 5:55 PM, Sergey svin...@apple.com
mailto:svin...@apple.com wrote:
I found following error in Apache log:
[Mon Apr 13 23:25:14 2015] [error] (2)No such file or directory:
apr_stat(/etc/hsflowd.auto) failed
The problem is that Hsflowd process is running in the user directory and
keeps hsflowd.auto file in ./run directory.
I can’t access /etc directory and put file there also, because I don’t have
root access.
Any ideas?
Thanks!
S.
On Apr 13, 2015, at 9:36 AM, Sergey svin...@apple.com
mailto:svin...@apple.com wrote:
Yes, I installed sflowtool and it works!
I get all counters except http* ones.
That’s why I tested http://hostname/sflow http://hostname/sflow page,
because it uses mod_sflow in Apache.
It looks like some Apache+sflow issue, but I don’t know how to troubleshoot
it.
Thanks
S.
On Apr 10, 2015, at 6:28 PM, Leslie geekg...@gmail.com
mailto:geekg...@gmail.com wrote:
Have you installed sflowtool and seen if the sflow counters are even
getting sent out by the machine ? My next step would be a tcpdump to
make sure that the sflow counters are then getting sent to the
collecting host.
On Fri, Apr 10, 2015 at 4:55 PM, Sergey svin...@apple.com
mailto:svin...@apple.com wrote:
Hi All!
I installed mod_sflow on Apache and try to collect HTTP metrics by Gmond.
The problem is that I don’t see any HTTP metrics coming from Hsflow to
Gmond, nor HTTP counters via Apache http://hostname/sflow
http://hostname/sflow page.
There is a list of counters, but they all have 0.
Like this:
unter method_option_count 0
counter method_get_count 0
counter method_head_count 0
counter method_post_count 0
counter method_put_count 0
counter method_delete_count 0
counter method_trace_count 0
counter method_connect_count 0
counter method_other_count 0
counter status_1XX_count 0
counter status_2XX_count 0
counter status_3XX_count 0
counter status_4XX_count 0
counter status_5XX_count 0
counter status_other_count 0
string hostname xx
gauge sampling_n 0
At the same time http://hostname/server-status?auto
http://hostname/server-status?auto is working properly:
Total Accesses: 15
Total kBytes: 5
Uptime: 149
ReqPerSec: .100671
BytesPerSec: 34.3624
BytesPerReq: 341.333
BusyWorkers: 1
IdleWorkers: 7
Scoreboard:
Is there a way to troubleshoot this? I need Sflow metrics.
Thanks!
S.
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
mailto:Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general
https://lists.sourceforge.net/lists/listinfo/ganglia-general
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
mailto:Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general
https://lists.sourceforge.net/lists/listinfo/ganglia-general
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises