[collectd] multiple Nginx server monitoring issue

SCOTT, Keith (NATIONAL SERVICES SCOTLAND) keith at nhs.net
Fri Nov 11 12:44:19 CET 2016


Hi Guys, Thanks for the info, The patch looks promising but I guess it's going to take a while for it to be included in to one of the Centos7 repo's I use ;>) .

I build collectd from github earlier today then realized that I didn't know how to get the pull request into my sources? and then I realized that the patch isn't really ready yet so gave up.

I think I will try running separate collectd process to collect our nginx stats for the time being.

Thanks again.
Keith


On 11/11/16 06:19, Dagobert Michelsen wrote:
Hi ,

Am 11.11.2016 um 06:24 schrieb Pavel V. <pavel2000 at ngs.ru<mailto:pavel2000 at ngs.ru>>:

Hi, Keith.

I know what the problem is now.
...
Am I making any sense ? and can anyone help me ?

The problem is that the `nginx` plugin does not support such configuration.
It unable to get stats from multiple servers, only one is supported at the moment.

The patch was very recently rewritten, just in case you want to give it a try:
  https://mailman.verplant.org/pipermail/collectd/2016-November/006916.html

Best regards -- Dago


There is PR https://github.com/collectd/collectd/pull/1969 on GitHub, but that work was not finished and feature still not implemented.

As a workaround you can start multiple collectd daemons each with own configuration for each Nginx.


--
Regards,
Pavel                          mailto:pavel2000 at ngs.ru


_______________________________________________
collectd mailing list
collectd at verplant.org<mailto:collectd at verplant.org>
https://mailman.verplant.org/listinfo/collectd


--
Keith Scott
Technical Specialist Architecture & Solutions Service
NSS Information Technology SBU
NHS National Services Scotland
Area 074a Gyle
Square 1 South Gyle Crescent
Edinburgh EH12 9EB
T: 0131 275 6000
Please consider the environment before printing this email. NHS National
Services Scotland is the common name for the Common Services Agency for
the Scottish Health Service. www.nhsnss.org<http://www.nhsnss.org>


********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
For more information and to find out how you can switch, visit www.nhsdigital.nhs.uk/nhsmail

********************************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20161111/ae26bbe3/attachment.html>


More information about the collectd mailing list