Sorry for the delay. I assume varnish.py is in /usr/lib/ganglia/python directory ? Also which varnish metrics script are you using ?

Vladimir

04/18/2016 u 10:46 AM, Ayman Al-Shorman je napisao/la:
Hi Vladimir,

Any suggestions ?




From: ayman_shor...@hotmail.com
To: vli...@veus.hr; ganglia-general@lists.sourceforge.net
Date: Sun, 17 Apr 2016 17:27:46 +0300
Subject: Re: [Ganglia-general] [PYTHON] Can't find the metric_init function in the python module [varnish].

OS: centos 6.6   Ganglia: 3.7.2


Ayman


Subject: Re: [Ganglia-general] [PYTHON] Can't find the metric_init function in the python module [varnish].
To: ayman_shor...@hotmail.com; ganglia-general@lists.sourceforge.net
From: vli...@veus.hr
Date: Sun, 17 Apr 2016 10:16:05 -0400

What OS and Ganglia version is this running on ?

Vladimir

04/17/2016 u 08:37 AM, Ayman Al-Shorman je napisao/la:
Hi Vladimir,

yes i can see the output of the plugin.


varnish_MAIN.fetch_1xx = 0.000000
varnish_MAIN.fetch_204 = 0.000000
varnish_MAIN.fetch_304 = 0.000000
varnish_MAIN.bans = 1.000000
varnish_MAIN.bans_added = 0.000000
varnish_MAIN.bans_dups = 0.000000
varnish_MAIN.bans_tested = 0.000000
varnish_MAIN.bans_deleted = 0.000000
varnish_MAIN.n_gunzip = 0.000000
varnish_MAIN.n_gzip = 0.000000
varnish_MAIN.n_waitinglist = 0.000000
varnish_MAIN.vmods = 2.000000
varnish_SMA.s0.c_bytes = 241777981447.000000
varnish_SMA.s0.c_freed = 240704265477.000000
varnish_SMA.s0.g_bytes = 1073715970.000000
varnish_SMA.s0.g_space = 25854.000000
Sleeping 15 seconds


Thanks

Ayman


To: ganglia-general@lists.sourceforge.net
From: vli...@veus.hr
Date: Sun, 17 Apr 2016 08:14:08 -0400
Subject: Re: [Ganglia-general] [PYTHON] Can't find the metric_init function in the python module [varnish].

Can you try to run the varnishstat.py by hand to see if outputs the metrics values.

Vladimir

04/16/2016 u 02:33 PM, Ayman Al-Shorman je napisao/la:
Hi,

I'm trying to plot varnish stats by the varnish python module but when i run gmond -d 5 i get :

[PYTHON] Can't find the metric_init function in the python module [varnish].

Unable to find any metric information for 'varnish_(.+)'. Possible that a module has not been loaded.

Everything is in place and all libraries are linked properly to modpython.so  any suggestion ?

Thanks

Ayman


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


------------------------------------------------------------------------------ Find

                            and fix application performance issues
                            faster with Applications Manager
                            Applications Manager provides deep
                            performance insights into multiple tiers of
                            your business applications. It resolves
                            application problems quickly and reduces
                            your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general

This email is safe. www.avast.com


------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to