A method for determining a replacement necessity moment of a pipe of an industrial pipeline, in which method - a time between successive measurings of a wall thickness of a pipe (2A, 2B) to be measured is determined - a measuring device (3, 4) for the wall thickness of the pipe (2A, 2B) is started and - the wall thickness of the pipe (2A, 2B) is measured with the measuring device (3, 4) at determined time intervals, characterised in that in the method - the measuring device (3, 4) sends a measuring result regarding the wall thickness of the pipe (2A, 2B) to a gateway, the sending of which result simultaneously starts a measuring delay, after the expiry of which the measuring device (3, 4) performs the next measuring of the pipe's (2A, 2B) wall thickness - the gateway sends the measuring result regarding the wall thickness of the pipe (2A, 2B) to a measuring server - the measuring server receives and stores the measuring result of the pipe (2A, 2B) wall thickness and that - the measuring server determines if the measuring result of the wall thickness is smaller than a pre-set alarm thickness for the pipe (2A, 2B), and if - the measuring result of the pipe (2A, 2B) falls below the set alarm thickness, the measuring server sends a notification regarding the replacement necessity of the pipe (2A, 2B) and simultaneously stores the measured wall thickness of the pipe (2A, 2B) in a database and checks, if a suggestion for the material and dimensions of a replacement pipe is made in connection with the replacement necessity of the pipe (2A, 2B), or if - the measuring result of the pipe (2A, 2B) exceeds the set alarm thickness, the measuring server stores the measured wall thickness of the pipe (2A, 2B) in the database. - a time between successive measurings of a wall thickness of a pipe (2A, 2B) to be measured is determined - a measuring device (3, 4) for the wall thickness of the pipe (2A, 2B) is started and - the wall thickness of the pipe (2A, 2B) is measured with the measuring device (3, 4) at determined time intervals, - the measuring device (3, 4) sends a measuring result regarding the wall thickness of the pipe (2A, 2B) to a gateway, the sending of which result simultaneously starts a measuring delay, after the expiry of which the measuring device (3, 4) performs the next measuring of the pipe's (2A, 2B) wall thickness - the gateway sends the measuring result regarding the wall thickness of the pipe (2A, 2B) to a measuring server - the measuring server receives and stores the measuring result of the pipe (2A, 2B) wall thickness and that - the measuring server determines if the measuring result of the wall thickness is smaller than a pre-set alarm thickness for the pipe (2A, 2B), and if - the measuring result of the pipe (2A, 2B) falls below the set alarm thickness, the measuring server sends a notification regarding the replacement necessity of the pipe (2A, 2B) and simultaneously stores the measured wall thickness of the pipe (2A, 2B) in a database and checks, if a suggestion for the material and dimensions of a replacement pipe is made in connection with the replacement necessity of the pipe (2A, 2B), or if - the measuring result of the pipe (2A, 2B) exceeds the set alarm thickness, the measuring server stores the measured wall thickness of the pipe (2A, 2B) in the database. - the measuring result of the pipe (2A, 2B) falls below the set alarm thickness, the measuring server sends a notification regarding the replacement necessity of the pipe (2A, 2B) and simultaneously stores the measured wall thickness of the pipe (2A, 2B) in a database and checks, if a suggestion for the material and dimensions of a replacement pipe is made in connection with the replacement necessity of the pipe (2A, 2B), or if - the measuring result of the pipe (2A, 2B) exceeds the set alarm thickness, the measuring server stores the measured wall thickness of the pipe (2A, 2B) in the database.