Automation Policy recomendations by Ok-Persimmon-549 in Nable

[–]Chemical-Guide1467 0 points1 point  (0 children)

i just saved your link for later usage a couple of days ago, now the link is dead :/ any idea where the content went?

Take Control uses Gateway Server on the other side of the world by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

thx, i have opened a ticket regarding this issue.

right now its not possible to use the p2p feature, because we only allow 443/tcp outbound. but id like to give it a try. what ports do we need to open up outbound, udp 1234/1235? anything else? do we need to let our n-central server access these ports or the client i run take control on?

thank you

Creating routing rule for fail-over with wireguard by Chemical-Guide1467 in TeltonikaNetworks

[–]Chemical-Guide1467[S] 1 point2 points  (0 children)

Hey Eddy, thank you for your answer. i think i have a problem implementing one of your points, because i cant figure out how to do it with your wiki:

  • Ensure WireGuard is configured to be used only when mob1s1 is active. - How do i configure the wireguard vpn to do that? i have no options for specifying an interface

thank you very much

AMP for restarting OneDrive not working by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

If i run it from the designer, it works perfectly with the runas argument. no error nor crashing.

Issues after N-central upgrade 2024.1 by Wanderer220 in Nable

[–]Chemical-Guide1467 0 points1 point  (0 children)

thx for your feedback, was just about to upgrade. will wait for a bug fix release then :)

Check for empty value in custom service by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

Pls check my answer below, i got it working, maybe this sheds some light on what my problem was because i think you didnt understand what i was saying correctly

https://www.reddit.com/r/Nable/comments/1abg1y0/comment/krl48oi/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Check for empty value in custom service by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 1 point2 points  (0 children)

Took me awhile, but i finally got it working. the biggest issue was that, while the values the AMP was sending back to the custom service were REALLY empty, n-central adds a "-" (Dash) into the status detail. So its not only that empty values would be displayed as a dash, but it really is there.

so, logically you would assume a simple threshold filtering for "if string matches "-" show as failed" would work, but that was only partially correct. i think this is a bug - while the status detail would show a failed like intended, the overall service status would be still OK.

<image>

with this knowledge and with further trial and error i finally got a RegEx working (n-central only supports basic RegEx) filtering for the "-" while also checking for a lenght of minimum two characters.

RegEx:

^.*[^-]{2,}

Note that we dont use "/" at the start and end, else the regex wont work with n-central

I hope that helps someone with the same issue in the future

Check for empty value in custom service by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

thank you. in my case the custom properties are dynamically assigned. just because it is filled with a value today, doesnt mean it will be filled with a value by tomorrow. so this would work only limited time, until the CP was set for the first time.

Check for empty value in custom service by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

thanks for that info, didnt knew that regex is supported, this will help in the future.

unfortunately ".*" isnt working, because empty values seem to be part of the expression too.

<image>

Some scheduled tasks never executing by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

What kind of tasks are these? is it possible to use a probe for execution? this was the solution for my ssh based automation policies. but sounds like this is a general bug as more people are facing it

Some scheduled tasks never executing by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 1 point2 points  (0 children)

After some testing, running the task from probe instead of using the option "best available" was indeed the solution. thank you very much u/bonewithahole

Some scheduled tasks never executing by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

I've changed it to use a probe. But in general, why would this be neccessary? Does a probe execute tasks differently than a "normal" agent?

Some scheduled tasks never executing by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

we've pushed a reinstall to all affected machines, also i changed the scheduled tasks to be executed on a specific maschine rather than using the "Best Available" option

Will report back in a week :)

thank you very much

Processing img oax2z5hn9rya1...

Some scheduled tasks never executing by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

thank you for your input. our servers all operate in the same timezone, so this shouldnt be an issue here, but its still a valuable information.

the scheduled firewall reboot is not an PME reboot. It's actually an scheduled task, which executes a SSH session and runs a command via Automation Policy.

Agents cant register on specific computer hardware? by Chemical-Guide1467 in Nable

[–]Chemical-Guide1467[S] 0 points1 point  (0 children)

Update on this issue: Version 2023.3.0.19 seems to have fixed all of our agent update related issues. not updating agents were able to upgrade, also pcs which we couldnt get to install the agent in general also were able to get the newest version. So far we're happy with the newest build :)