Alert entity references
![](https://secure.gravatar.com/avatar/933c51d6cd5a311593aa7190c7ffe1db.jpg?s=120&d=mm&r=g)
Setting up alert types and curious if those referenced in the documentation is generic for all supported devices? Trying to set up the following power supply threshold as an example to test alert and notification. Just little confused on the required syntax for entity. Meaning, does Observium know what "power" is regardless of the device and by the looks of the graph it measures in "watts".
[image: Inline image 3]
[image: Inline image 1] [image: Inline image 2]
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
I don't quite understand the question :D
"power" is an Observium sensor class, and is measured in Watts. The sensor class is set by the code which discovers the sensor.
We would very, very much recommend not trying to create individual alert checks, because that would be insane. Use the thresholding, as shown in the examples.
adam. On 05/01/2017 01:40:51, Garrett Pye gvpye54@gmail.com wrote: Setting up alert types and curious if those referenced in the documentation is generic for all supported devices? Trying to set up the following power supply threshold as an example to test alert and notification. Just little confused on the required syntax for entity. Meaning, does Observium know what "power" is regardless of the device and by the looks of the graph it measures in "watts".
[Inline image 3]
[Inline image 1]
[Inline image 2]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Garrett,
"equals power" is not correct; should be "sensor_class equals power".
Tom
On 05/01/2017 02:40, Garrett Pye wrote:
Setting up alert types and curious if those referenced in the documentation is generic for all supported devices? Trying to set up the following power supply threshold as an example to test alert and notification. Just little confused on the required syntax for entity. Meaning, does Observium know what "power" is regardless of the device and by the looks of the graph it measures in "watts".
Inline image 2
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
Garrett Pye
-
Tom Laermans