Jump to content
NetLights

Обрезка лишних пробелов при добавлении хоста в мониторинг


Andrey1990
 Share

Recommended Posts

При добавлении нового хоста в мониторинг не выполняется обрезка пробелов в адресе по краям. В результате получаем ошибку При проверке связи не удалось обнаружить узел и соответственно хост не пингуется. Если пробел в начале адреса можно заметить, то в конце не всегда.

Поэтому желательно реализовать проверку на наличие пробелов и их удаление (trim).

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.