Sensor issues since approx November 1st
Hi There
I’m running a test bed of observium at home seperately of our main installation - i had previously written a very basic observium agent module that polls current power usage for a home monitoring sensor and outputs it, and then a custom polling module that reads this data and basically graphs it as a power sensor under a device (https://gist.github.com/anthonysomerset/3860b7a3b650d8bbbf53faac2d5eeab5 https://gist.github.com/anthonysomerset/3860b7a3b650d8bbbf53faac2d5eeab5)
the unix-agent is working same as before
but since i updated overnight on 1st november the graph has disappeared and my event log is filled up with sensor added events:
also under the device itself the sensor is saying deleted around 5 days ago (2018-10-27 00:01:04)
this looks like immediately after it updated on that day (looks like last commit on that day was 9517)
any thoughts on how i need to fix?
Kind regards, Anthony Somerset
Somerset Technical Solutions Ltd. www.somersettechsolutions.co.uk Registered in the UK – Company no. 07738444 VAT Registration No: 140 6916 22 T: +44 (0) 33 0088 2751 E: anthony@somersettechsolutions.co.uk PGP: 0x7C892BF5
Hi Anthony,
We recently removed the requirement to pass the $valid array to the discover_sensor() function.
We'll be removing this function entirely in the future, but for now you should be ok to just remove this argument from the function.
adam. On 2018-11-01 15:09:39, Anthony Somerset via observium observium@observium.org wrote: Hi There
I’m running a test bed of observium at home seperately of our main installation - i had previously written a very basic observium agent module that polls current power usage for a home monitoring sensor and outputs it, and then a custom polling module that reads this data and basically graphs it as a power sensor under a device (https://gist.github.com/anthonysomerset/3860b7a3b650d8bbbf53faac2d5eeab5 [https://gist.github.com/anthonysomerset/3860b7a3b650d8bbbf53faac2d5eeab5])
the unix-agent is working same as before
but since i updated overnight on 1st november the graph has disappeared and my event log is filled up with sensor added events:
also under the device itself the sensor is saying deleted around 5 days ago (2018-10-27 00:01:04)
this looks like immediately after it updated on that day (looks like last commit on that day was 9517)
any thoughts on how i need to fix?
Kind regards, Anthony Somerset Somerset Technical Solutions Ltd. www.somersettechsolutions.co.uk [http://www.somersettechsolutions.co.uk%5D%C2%A0 Registered in the UK – Company no. 07738444 VAT Registration No: 140 6916 22 T: +44 (0) 33 0088 2751 E: anthony@somersettechsolutions.co.uk [mailto:anthony@somersettechsolutions.co.uk] PGP: 0x7C892BF5
confirmed this fixes thanks
Kind regards, Anthony Somerset
Somerset Technical Solutions Ltd. www.somersettechsolutions.co.uk Registered in the UK – Company no. 07738444 VAT Registration No: 140 6916 22 T: +44 (0) 33 0088 2751 E: anthony@somersettechsolutions.co.uk PGP: 0x7C892BF5
On 1 Nov 2018, at 21:54, Adam Armstrong via observium observium@observium.org wrote:
Hi Anthony,
We recently removed the requirement to pass the $valid array to the discover_sensor() function.
We'll be removing this function entirely in the future, but for now you should be ok to just remove this argument from the function.
adam.
On 2018-11-01 15:09:39, Anthony Somerset via observium observium@observium.org wrote:
Hi There
I’m running a test bed of observium at home seperately of our main installation - i had previously written a very basic observium agent module that polls current power usage for a home monitoring sensor and outputs it, and then a custom polling module that reads this data and basically graphs it as a power sensor under a device (https://gist.github.com/anthonysomerset/3860b7a3b650d8bbbf53faac2d5eeab5 https://gist.github.com/anthonysomerset/3860b7a3b650d8bbbf53faac2d5eeab5)
the unix-agent is working same as before
but since i updated overnight on 1st november the graph has disappeared and my event log is filled up with sensor added events:
also under the device itself the sensor is saying deleted around 5 days ago (2018-10-27 00:01:04)
this looks like immediately after it updated on that day (looks like last commit on that day was 9517)
any thoughts on how i need to fix?
Kind regards, Anthony Somerset
Somerset Technical Solutions Ltd. www.somersettechsolutions.co.uk http://www.somersettechsolutions.co.uk/ Registered in the UK – Company no. 07738444 VAT Registration No: 140 6916 22 T: +44 (0) 33 0088 2751 E: anthony@somersettechsolutions.co.uk mailto:anthony@somersettechsolutions.co.uk PGP: 0x7C892BF5
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Anthony Somerset