Hello,
I have the following scenario: Many devices, which each have one SMTP Port, one IMAP Roundtrip and One Sensor factory. The sensor factory has 4 sensors on it, the SMTP Port of the devices it is, and 3 mail queues which are in a third device. It has the following formula:
status (17083) AND (channel(27140,0) + channel (27158,0) + channel (27888,0) >= 450)
- 17083 => SMTP
- 27140 => Queue 1
- 27157 => Queue 2
- 27888 => Queue 3
The status I have now is the following status scenario: SMTP Up, Queue 1 down, queue 2 and 3 up. Either way, the sensor factory stills send a down warning, even with the formula having an AND operator (which should set it to down only when the SMTP goes down, right?)
PS: The queue 1 isn't down by threshold, it's down by the result it shows (not connecting properly).
Regards,
Jesus
Article Comments
Hello Luciano, thanks for answering.
If I understood it right, I cannot do such comparation, then? (add the results of the channels and compare to a given value)
If I'm able to, or if there is some way to achieve this, since it's about one major value of the sum of the three, and not individual values (like in channel definition), how may I proceed?
Regards,
Jesus
Oct, 2018 - Permalink
Hello Jesus,
thank you for your reply.
If you're interested in evaluating the sum of the response times, then simply add them up to show them in the sensor factory. Afterwards you can define limits (upper error limit 450) in the Total Response Time channel of the sensor factory sensor. You can use the following definition for example:
#1:Total Response Time (channel(27140,0) + channel (27158,0) + channel (27888,0)
And if you also want the sensor to go down based on the status/state of other sensors, you can use a Custom formula Status Definition, which needs to look for instance like this:
status(27158) OR status(27888) OR status(17083) OR status(27140) |
Best Regards,
Luciano Lingnau [Paessler Support]
Oct, 2018 - Permalink
Hello Luciano, We didn't have an incident with these sensors these days, so I cannot validate if they are really working, but it seem pretty much to, so I came here to thank you for the help :)
Best Regards
Jesus.
Oct, 2018 - Permalink
Hello Jesus,
thank you for your inquiry.
It seems as if you're mixing up the Channel Definition with the Custom formula Status Definition.
The documentation for the valid/acceptable Channel Definition can be found here:
The documentation for the valid/acceptable Custom formula Status Definition can be found here:
I've shared two concrete examples below:
Best Regards,
Luciano Lingnau [Paessler Support]
Oct, 2018 - Permalink