Community discussions

raytaylor
just joined
Topic Author
Posts: 14
Joined: Wed Dec 28, 2011 12:19 pm
Location: Melbourne

### Graph a value even though it is down

Hi Guys
We have a function voltage() which we would like to graph. The function simply looks up the OID and pulls a value.
If voltage falls below 24 then we want it to consider the probe as down, but still output a value for the graphing.
At the moment if the voltage is above 24, it graphs perfectly well. But if it falls below 24, it doesnt show anything.

On the probe settings i have
Avaliable: Voltage()
Error: if(Voltage()>24, "", "down")
Value: Voltage()

If i change the error line to
Error: if(Voltage()>24, "", "")
Then it never considers it to be a problem even if the value drops below 24. I tested this by setting it to 26 instead of 24

Your help or suggestions are much appreciated.
There is no place like localhost

rextended
Forum Guru
Posts: 5768
Joined: Tue Feb 25, 2014 12:49 pm
Location: Capalbio, Tuscany, Italy

### Re: Graph a value even though it is down  [SOLVED]

Hi Guys
We have a function voltage() which we would like to graph. The function simply looks up the OID and pulls a value.
If voltage falls below 24 then we want it to consider the probe as down, but still output a value for the graphing.
At the moment if the voltage is above 24, it graphs perfectly well. But if it falls below 24, it doesnt show anything.

On the probe settings i have
Avaliable: Voltage()
Error: if(Voltage()>24, "", "down")
Value: Voltage()

If i change the error line to
Error: if(Voltage()>24, "", "")
Then it never considers it to be a problem even if the value drops below 24. I tested this by setting it to 26 instead of 24

Your help or suggestions are much appreciated.
Put two probe, one at 24v warning, the other at 0v warning.
The first warn you, the second simply record the voltage.

raytaylor
just joined
Topic Author
Posts: 14
Joined: Wed Dec 28, 2011 12:19 pm
Location: Melbourne

### Re: Graph a value even though it is down

Thanks - Thats an awesome idea.
So simple, yet Brilliant!
There is no place like localhost

### Who is online

Users browsing this forum: No registered users and 29 guests