Hello, i would like to know how can i change requirements to define the state of my computer.
Curently, it will take the worst statement of my sensor. Is it possible to create a fonction which say: if i have 1/2 sensor up, my computer is up.
Thank you for your reply,
Stagiaire2
Article Comments
@Lars: Just edited the link to the manual for the latest version. The status definition additionally needs to be put into brackets:
(status(7847) OR status(7853))
Apr, 2015 - Permalink
Thank you for your help,
i used https://www.paessler.com/manuals/prtg7/sensor_factory too.
Edit:
Sorry but i have still 1 problem, i have a sensor up or down as i want but my computer continues to read the worst sensor state.
I created a Sensor Factory which say:" i have 5 sensors up and 1 sensor down in my computer so i'm up" but my computer is still down because he looks my sensor down.
Sorry for my english,
Stagiaire2.
Apr, 2015 - Permalink
Sorry but i have still 1 problem, i have a sensor up or down as i want but my computer continues to read the worst sensor state.
I created a Sensor Factory which say:" i have 5 sensors up and 1 sensor down in my computer so i'm up" but my computer is still down because he looks my sensor down.
Sorry for my english,
Stagiaire2.
Apr, 2015 - Permalink
You can use the sensor-fatory sensor for this. In the "status-definition" you can use a function like: status(7847) OR status(7853) to show an UP state if either of the 2 sensors is up. The numbers are the IDs of the sensors.
There's quite a good documentation about it here.
Apr, 2015 - Permalink