[openwisp] PING check: reg

2024-01-18 Thread Manu Kumar
Hii Federico,
As I discussed this long back...I have observed, If I 
increase the *PING check default* value from *5 mins* to 15 or 30 mins. The 
*device 
health status* also will take that much time to display this status in the 
dashboard is it ? correct me, If I my understanding or observation is 
wrong. 


Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/6316bc4e-8e04-415b-9a31-a601032c21aan%40googlegroups.com.


[openwisp] config device

2024-01-18 Thread 'Antonio Della Selva' via OpenWISP
Good morning folks,

how to map "config device" in openwisp ?
thank you for support

Antonio

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/bd38cf5b-9702-484a-a203-7a4fff35eea4n%40googlegroups.com.


Re: [openwisp] Re: Reboot command timeout: reg

2024-01-18 Thread Federico Capoano
Quoting from the current docs:

``OPENWISP_SSH_COMMAND_TIMEOUT``


+--+-+
| **type**:|   ``int``   |
+--+-+
| **default**: |``30``   |
+--+-+
| **unit**:| ``seconds`` |
+--+-+

Configure timeout on blocking read/write operations when executing a
command in a SSH connection.

Once changing this value you need to restart all the openwisp processes,
(if you deploy with ansible-openwisp2, with: supervisorctl restart all).

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* 


On Thu, 18 Jan 2024 at 07:57, Manukumar NM  wrote:

> If I increase this time out, will it work properly and it is in
> millisecond ??
> SSH_COMMAND_TIMEOUT = getattr(settings, 'OPENWISP_SSH_COMMAND_TIMEOUT', 30
> )
>
> @shared_task(soft_time_limit=app_settings.SSH_COMMAND_TIMEOUT * 1.2)
>
> On Thu, Jan 18, 2024 at 3:16 PM Manukumar NM 
> wrote:
>
>> Hii team...
>>  whenever I execute the REBOOT
>> command form the openwisp2, I will get the message like* "timeout" *but
>> in the background it's executed with soft reboot. Still why am I getting
>> Task time limit exceeded, is there any setting can we increase the
>> background duration/time to execute this command?
>>
>> [image: image.png]
>> Thanks in advance.
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openwisp+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/CAG6AGHds2pzCWrRaW8dpb646ETN%3DiSUj-NNjr1VPE0ep%2B_brAA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAAGgX6L6goZDKi_ApKbSkAp2fD%2BvtcvQ8%2BZ%3DzTW3y%2B-dxeJY5A%40mail.gmail.com.


[openwisp] Re: Reboot command timeout: reg

2024-01-18 Thread Manukumar NM
If I increase this time out, will it work properly and it is in
millisecond ??
SSH_COMMAND_TIMEOUT = getattr(settings, 'OPENWISP_SSH_COMMAND_TIMEOUT', 30)

@shared_task(soft_time_limit=app_settings.SSH_COMMAND_TIMEOUT * 1.2)

On Thu, Jan 18, 2024 at 3:16 PM Manukumar NM 
wrote:

> Hii team...
>  whenever I execute the REBOOT
> command form the openwisp2, I will get the message like* "timeout" *but
> in the background it's executed with soft reboot. Still why am I getting
> Task time limit exceeded, is there any setting can we increase the
> background duration/time to execute this command?
>
> [image: image.png]
> Thanks in advance.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAG6AGHds2pzCWrRaW8dpb646ETN%3DiSUj-NNjr1VPE0ep%2B_brAA%40mail.gmail.com.


[openwisp] Fwd: Reboot command timeout: reg

2024-01-18 Thread Manukumar NM
Hii team...
 whenever I execute the REBOOT
command form the openwisp2, I will get the message like* "timeout" *but in
the background it's executed with soft reboot. Still why am I getting Task
time limit exceeded, is there any setting can we increase the background
duration/time to execute this command?

[image: image.png]
Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAG6AGHfdvoxu6z0c%3DR4bFJ459Witscw9-Kh8zKu_xgcPs%3D55Qw%40mail.gmail.com.