PING function: различия между версиями

Материал из WiKi - UserSide
Нет описания правки
Нет описания правки
 
(не показаны 4 промежуточные версии этого же участника)
Строка 3: Строка 3:
{{ActivEN}}
{{ActivEN}}


In [[User card]] or in [[Equipment card]] (switches, Wi-Fi) there is a possibility to use the inbuilt PING function, which allows you to quickly know the status of a particular user/equipment in real time. Ping is performed from the computer where the ERP "UserSide" is installed.
In [[Customer card]] or in Equipment card (switches, Wi-Fi) there is a possibility to use the inbuilt PING function, which allows you to quickly know the status of a particular customer/equipment in real time. Ping is performed from the computer where the ERP "UserSide" is installed.


[[Файл:2013_04_20_14_59_31.png|frame|center|PING]]
[[Файл:2023-11-10_16-57.png|frame|center|PING]]


The PING function can be disabled in [[Settings - Main|settings]].
The PING function can be disabled in [[Settings - Main|settings]].


At the same time the system tries to identify the MAC address of the pinged IP address. The advantage is also that the fact that the MAC address is received (when there is no ping) makes it clear that the user's computer is behind a firewall, but working.
At the same time the system tries to identify the MAC address of the pinged IP address. The advantage is also that the fact that the MAC address is received (when there is no ping) makes it clear that the customer's computer is behind a firewall, but working.


If the user has several IP addresses, then by clicking on the necessary one, it is possible to ping the required address.
If the customer has several IP addresses, then by clicking on the necessary one, it is possible to ping the required address.


For '''*nix systems''' in [[Settings - Main|settings]], you can change the path to '''ping''' and '''arp''' if these tools do not work as standard.
For '''*nix systems''' in [[Settings - Main|settings]], you can change the path to '''ping''' and '''arp''' if these tools do not work as standard.
Строка 18: Строка 18:


When a MAC address is defined:
When a MAC address is defined:
* the date of activity for the user is updated.  
* the date of activity for the customer is updated.  
* If MAC address auto-learning is enabled in the user card, the detected MAC address is written to the database (in the "[[Unknown MAC Addresses]]" section, the record of this MAC address is deleted)
* If MAC address auto-learning is enabled in the customer card, the detected MAC address is written to the database (in the "[[Unknown MAC-addresses]]" section, the record of this MAC address is deleted)


If the MAC address does not match the one in the database, it will be highlighted in red.
If the MAC address does not match the one in the database, it will be highlighted in red.
Строка 28: Строка 28:
# Under "[[Settings - Main|Settings - Main - Equipment]]" check the value of the parameter "''Path to ping''"
# Under "[[Settings - Main|Settings - Main - Equipment]]" check the value of the parameter "''Path to ping''"
# Under "[[Settings - Main|Settings - Main - Equipment]]", set a larger value for the parameter "''Timeout on PING for *NIX systems (ms)''" - for example 20
# Under "[[Settings - Main|Settings - Main - Equipment]]", set a larger value for the parameter "''Timeout on PING for *NIX systems (ms)''" - for example 20
# In ''[[Settings - Main|Settings - Main - Equipment]]'' change the value of the parameter '''PING with parameter -W (instead of -w)'''
# In ''[[Settings - Main|Settings - Main - Equipment]]'' change the value of the parameter ''"PING with parameter -W (instead of -w)"''
# In '''php.ini''' change safe_mode to Off
# In '''php.ini''' change safe_mode to Off
# In '''php.ini''' check the ''disable_functions'' variable to see if the ''exec'' command is written there.
# In '''php.ini''' check the ''disable_functions'' variable to see if the ''exec'' command is written there.
Строка 37: Строка 37:
and look at the result
and look at the result


The Ping function is one of the methods in capturing [[Activity|activity]] of users - if there is a ping to the IP address of a computer/equipment - the database is updated with the date of activity in the network for this user/equipment.
The Ping function is one of the methods in capturing [[Activity|activity]] of customers - if there is a ping to the IP address of a computer/equipment - the database is updated with the date of activity in the network for this customer/equipment.

Текущая версия от 09:13, 8 ноября 2024

en | ru

This function is one of the possibilities
to update the activity date of an object

In Customer card or in Equipment card (switches, Wi-Fi) there is a possibility to use the inbuilt PING function, which allows you to quickly know the status of a particular customer/equipment in real time. Ping is performed from the computer where the ERP "UserSide" is installed.

PING

The PING function can be disabled in settings.

At the same time the system tries to identify the MAC address of the pinged IP address. The advantage is also that the fact that the MAC address is received (when there is no ping) makes it clear that the customer's computer is behind a firewall, but working.

If the customer has several IP addresses, then by clicking on the necessary one, it is possible to ping the required address.

For *nix systems in settings, you can change the path to ping and arp if these tools do not work as standard.

Also, on some *nix operating systems, it matters with which delay parameter (-w or -W) to execute the ping utility. This parameter is changed in settings.

When a MAC address is defined:

  • the date of activity for the customer is updated.
  • If MAC address auto-learning is enabled in the customer card, the detected MAC address is written to the database (in the "Unknown MAC-addresses" section, the record of this MAC address is deleted)

If the MAC address does not match the one in the database, it will be highlighted in red.

If PING does not work

Try the following steps one by one and see the result

  1. Under "Settings - Main - Equipment" check the value of the parameter "Path to ping"
  2. Under "Settings - Main - Equipment", set a larger value for the parameter "Timeout on PING for *NIX systems (ms)" - for example 20
  3. In Settings - Main - Equipment change the value of the parameter "PING with parameter -W (instead of -w)"
  4. In php.ini change safe_mode to Off
  5. In php.ini check the disable_functions variable to see if the exec command is written there.
  6. Try pinging the IP address through the server console with the following command:

/bin/ping -w20 -c1 127.0.0.1

and look at the result

The Ping function is one of the methods in capturing activity of customers - if there is a ping to the IP address of a computer/equipment - the database is updated with the date of activity in the network for this customer/equipment.