"reset limits" doesn't work with one switch
![](https://secure.gravatar.com/avatar/0de95453fff704ef9a4424f0cc904701.jpg?s=120&d=mm&r=g)
Hi everyone,
I have a problem with the "reset limits" function: On a device with many sensors (305) I can't recalculate the limits using "reset limits" in the device-preferences.
Normally a note with the message appears: "Reset limits for Current sensor foo"; they will be recalculated on the next discovery run."
But with this device this message does not appear. Of course I don't know if it has to do with the number of sensors but it is the only device where the problem occurs.
Can I reset the limit values directly via the database?
Thanks! Helge
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
Hmm, sounds like something doesn't like the large number of sensors somewhere.
You can do it manually by setting the thresholds to NULL in the database.
UPDATE `sensors` SET `sensor_limit` = NULL, `sensor_limit_low` = NULL, `sensor_warn` = NULL, `sensor_limit_low_warn` = NULL WHERE `device_id` = '<DEVICE_ID>';
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Wiethoff, Helge via observium Sent: 09 November 2020 07:54 To: observium@observium.org Cc: Wiethoff, Helge helge.wiethoff@thga.de Subject: [Observium] "reset limits" doesn't work with one switch
Hi everyone,
I have a problem with the "reset limits" function: On a device with many sensors (305) I can't recalculate the limits using "reset limits" in the device-preferences.
Normally a note with the message appears: "Reset limits for Current sensor foo"; they will be recalculated on the next discovery run."
But with this device this message does not appear. Of course I don't know if it has to do with the number of sensors but it is the only device where the problem occurs.
Can I reset the limit values directly via the database?
Thanks! Helge _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0de95453fff704ef9a4424f0cc904701.jpg?s=120&d=mm&r=g)
Hi Adam,
thank you for the info. That helped me.
cheers Helge
Am Mittwoch, den 11.11.2020, 03:24 +0000 schrieb Adam Armstrong via observium:
You can do it manually by setting the thresholds to NULL in the database.
UPDATE `sensors` SET `sensor_limit` = NULL, `sensor_limit_low` = NULL, `sensor_warn` = NULL, `sensor_limit_low_warn` = NULL WHERE `device_id` = '<DEVICE_ID>';
![](https://secure.gravatar.com/avatar/98e9be01ba043fc4330c5f0844b4fbc4.jpg?s=120&d=mm&r=g)
Check your PHP config for
max_input_vars post_max_size and some similar ones, especially if you are using suhosin.
Regards, James Tandy TandyUK Servers Limited
Tel: 01903 247 011 Www: http://www.tandyukservers.co.uk Email: support@tandyukservers.co.uk
TandyUK Servers Limited Registered in England and Wales, Company number 8314911 VAT Registered in the UK, number 182 0661 19 Registered Office: Amelia House, Crescent Road, Worthing, BN11 1QR
On 11/11/2020 03:24, Adam Armstrong via observium wrote:
Hmm, sounds like something doesn't like the large number of sensors somewhere.
You can do it manually by setting the thresholds to NULL in the database.
UPDATE `sensors` SET `sensor_limit` = NULL, `sensor_limit_low` = NULL, `sensor_warn` = NULL, `sensor_limit_low_warn` = NULL WHERE `device_id` = '<DEVICE_ID>';
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Wiethoff, Helge via observium Sent: 09 November 2020 07:54 To: observium@observium.org Cc: Wiethoff, Helge helge.wiethoff@thga.de Subject: [Observium] "reset limits" doesn't work with one switch
Hi everyone,
I have a problem with the "reset limits" function: On a device with many sensors (305) I can't recalculate the limits using "reset limits" in the device-preferences.
Normally a note with the message appears: "Reset limits for Current sensor foo"; they will be recalculated on the next discovery run."
But with this device this message does not appear. Of course I don't know if it has to do with the number of sensors but it is the only device where the problem occurs.
Can I reset the limit values directly via the database?
Thanks! Helge _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
alex@mailme.com
-
James Tandy
-
Wiethoff, Helge