On 02.12.16 14:12, Martin Snygg wrote:
Nope, all I get is:

Traceback (most recent call last):
  File "./poller-wrapper.py", line 309, in <module>
    if instances_count > 1 and instance_number >= 0 and (instance_number < instances_count):
NameError: name 'instances_count' is not defined

Argparse is installed, I did svn up but still get the same error :(
Hrm, complete impossible..

Which system/python version(s)?

./discovery.php -VV

You use trunk or stable train of observium?

Try to import argparse manually:

$ python
>>> import argparse

(normally should not write anything)

Martin Snygg

-----Ursprungligt meddelande-----
Från: observium [mailto:observium-bounces@observium.org] För Mike Stupalov
Skickat: den 2 december 2016 11:56
Till: Observium Network Observation System <observium@observium.org>
Ämne: Re: [Observium] No polling

On 02.12.16 11:39, Martin Snygg wrote:
Hi

I just discovered that my install stopped polling since a couple of days, I think it´s because a svn switch I did. When running the poller-wrapper.py I get the following:

 Traceback (most recent call last):
  File "./poller-wrapper.py", line 306, in <module>
    if instances_count > 1 and instance_number >= 0 and (instance_number < instances_count):
NameError: name 'instances_count' is not defined

Where do I define "instance_count" and how?
when you run

./poller-wrapper.py

you not get such error(s)?

WARNING: missing the argparse python module:
 ...

This possible only if you not have python-argparse module (and ignored this warning).

P.S. Will fixed in latest revision, do svn up.

/Martin Snygg

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


--
Mike Stupalov
http://observium.org


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



-- 
Mike Stupalov
http://observium.org