What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can channel prtg ids shuffle within the sensor ?

Votes:

0

For an unknown reason PRTG server started to malfunction. So it was restarted and afterwards we discovered that the channels ids within the sensor changed. Sensor id has not changed, but all channel ids shuffled. E.g. from 15 to 17, from 11 to 7, etc. Is this the expected behavior? Is there no guarantee that the channel ids will stay the same during the lifetime of the sensor? Under what conditions do they change, what might be the event? A simple restart such as this one? Sensor is of type "REST Custom".

channel-id prtg-server-restart rest-custom-sensor

Created on Mar 8, 2021 5:50:31 AM



7 Replies

Votes:

0

Hi there,

By default, the Channels IDs should not change during the lifetime of the Sensor. Therefore, this is quite strange. Please let me know whether the configuration of PRTG can be saved without an issue. You can check this via creating a backup. Please do this via "Setup > System Administration > Administrative Tools"

Created on Mar 9, 2021 11:25:02 AM by  Moritz Heller [Paessler Support]



Votes:

0

Yes, checked it, it worked, no problems. I understand what you are saying about the channel ids. After all, it was one assumption I created my app on. Imagine the damage it did when the channels ids shuffled. And yes, I am certain it happened this way. I have proof in the form of my app log files. There I save the channels config as it comes from PRTG. And when trying to update, at one moment the search using a channel id returned a record, in 5 mins following the restart it returned another record.

Created on Mar 10, 2021 6:56:19 AM



Votes:

0

Hi there,

Thank you for the update. In the latest PRTG version we have no such errors. Therefore, please validate that you are using the latest PRTG version and how you query the channel IDs.

Created on Mar 10, 2021 9:35:55 AM by  Moritz Heller [Paessler Support]



Votes:

0

PRTG version is : "21.1.65.1767+"

PRTG_server_URL/api/table.json?content=channels&noraw=1&sortby=name&columns=name=textraw,lastvalue,objid&id=my_sensor_is&username=&passhash=

Created on Mar 13, 2021 5:23:55 AM

Last change on Mar 15, 2021 7:27:55 AM by  Felix Wiesneth [Paessler Support]



Votes:

0

Hi there,

Thank you for the information.

I queried the channels of my Core Health Sensor "ID:1002" and could not reproduce the issue. However, I also use the latest PRTG version but this should also not occur in the version before. Can you reproduce the issue if you use the URL in your web browser?

Created on Mar 16, 2021 1:01:08 PM by  Moritz Heller [Paessler Support]



Votes:

0

No, unfortunately I cannot reproduce it no matter what I do. The whole thing is puzzling. I am absolutely certain this happened as we analyzed the issue within the team and we all agreed it did happen. However we do not know why PRTG behaved like that. It was not the first restart of the server and before there were never problems. In the meantime I have re-written the DB search algorithm for the PRTG objects and now I use another id, I am no longer considering the prtg id being unique. It should solve the future mysterious PRTG behavior, just in case. Thanks!

Created on Mar 16, 2021 2:57:06 PM



Votes:

0

Thank you for the feedback here. I'm glad the issue no longer appears at the moment. It's really strange and this should not occur in PRTG.

I hope everything works now as expected. Have a nice day!

Created on Mar 19, 2021 7:22:12 AM by  Moritz Heller [Paessler Support]

Last change on Mar 19, 2021 7:22:39 AM by  Moritz Heller [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.