Alert check for device uptime
Hi guys,
I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ...
device_uptime less 300
Cheers
Hi Ben,
We have a smarter device_rebooted metric for this.
save image
(device_uptime lt 300 should work too, though)
Tom
On 07/26/2016 11:31 AM, Ben Maschke wrote:
Hi guys,
I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ...
|device_uptime less 300|
Cheers
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Also, I would probably use a value greater than 300, else you might possibly miss something.
Possibly.
Maybe.
Adam.
Sent from BlueMail
On 26 Jul 2016, 10:37, at 10:37, Tom Laermans tom.laermans@powersource.cx wrote:
Hi Ben,
We have a smarter device_rebooted metric for this.
save image
(device_uptime lt 300 should work too, though)
Tom
On 07/26/2016 11:31 AM, Ben Maschke wrote:
Hi guys,
I want to check whether an AP has rebooted or not (uptime less than 5
minutes). Can I use the following check condition? (Entity Type
Device
| Boolean ANY | Device * | Entity *) It's not working ...
|device_uptime less 300|
Cheers
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Also don't forget to disable recovery emails. It was pretty much coded specifically for this alert =)
On 07/26/2016 11:40 AM, Adam Armstrong wrote:
Also, I would probably use a value greater than 300, else you might possibly miss something.
Possibly.
Maybe.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 26 Jul 2016, at 10:37, Tom Laermans <tom.laermans@powersource.cx mailto:tom.laermans@powersource.cx> wrote:
Hi Ben, We have a smarter device_rebooted metric for this. save image (device_uptime lt 300 should work too, though) Tom On 07/26/2016 11:31 AM, Ben Maschke wrote:
Hi guys, I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ... |device_uptime less 300| Cheers _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
------------------------------------------------------------------------ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Less is not a valid test operator, is it?
Use <, le or lt.
Adam.
Sent from BlueMail
On 26 Jul 2016, 10:31, at 10:31, Ben Maschke ben.maschke@shazam.com wrote:
Hi guys,
I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ...
device_uptime less 300
Cheers
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
‘less’ is a valid operator according to the docs…
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> on behalf of Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> Reply-To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Date: Tuesday, July 26, 2016 at 11:37 AM To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Subject: Re: [Observium] Alert check for device uptime
Less is not a valid test operator, is it?
Use <, le or lt.
Adam.
Sent from BlueMailhttp://www.bluemail.me/r
On 26 Jul 2016, at 10:31, Ben Maschke <ben.maschke@shazam.commailto:ben.maschke@shazam.com> wrote: Hi guys,
I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ...
device_uptime less 300
Cheers
________________________________
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I hadn't see it before either =)
On 07/26/2016 11:39 AM, Moerman, Maarten wrote:
‘less’ is a valid operator according to the docs…
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org> on behalf of Adam Armstrong <adama@memetic.org mailto:adama@memetic.org> Reply-To: Observium Network Observation System <observium@observium.org mailto:observium@observium.org> Date: Tuesday, July 26, 2016 at 11:37 AM To: Observium Network Observation System <observium@observium.org mailto:observium@observium.org> Subject: Re: [Observium] Alert check for device uptime
Less is not a valid test operator, is it?
Use <, le or lt.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 26 Jul 2016, at 10:31, Ben Maschke <ben.maschke@shazam.com mailto:ben.maschke@shazam.com> wrote:
Hi guys, I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ... |device_uptime less 300| Cheers ------------------------------------------------------------------------ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hmm. If it works as lt, docs need changed, if it doesn't work as lt, we'd need to work out why!
Adam.
Sent from BlueMail
On 26 Jul 2016, 10:39, at 10:39, "Moerman, Maarten" mmoerman@ebay.com wrote:
‘less’ is a valid operator according to the docs…
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> on behalf of Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> Reply-To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Date: Tuesday, July 26, 2016 at 11:37 AM To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Subject: Re: [Observium] Alert check for device uptime
Less is not a valid test operator, is it?
Use <, le or lt.
Adam.
Sent from BlueMailhttp://www.bluemail.me/r
On 26 Jul 2016, at 10:31, Ben Maschke <ben.maschke@shazam.commailto:ben.maschke@shazam.com> wrote: Hi guys,
I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ...
device_uptime less 300
Cheers
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Thx for the feedback :) I'll adjust my check
On 26 July 2016 at 10:42, Adam Armstrong adama@memetic.org wrote:
Hmm. If it works as lt, docs need changed, if it doesn't work as lt, we'd need to work out why!
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 26 Jul 2016, at 10:39, "Moerman, Maarten" mmoerman@ebay.com wrote:
‘less’ is a valid operator according to the docs…
From: observium < observium-bounces@observium.org> on behalf of Adam Armstrong < adama@memetic.org> Reply-To: Observium Network Observation System < observium@observium.org>
Date: Tuesday, July 26, 2016 at 11:37 AM To: Observium Network Observation System < observium@observium.org> Subject: Re: [Observium] Alert check for device uptime
Less is not a valid test operator, is it?
Use <, le or lt.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 26 Jul 2016, at 10:31, Ben Maschke < ben.maschke@shazam.com> wrote:
Hi guys,
I want to check whether an AP has rebooted or not (uptime less than 5 minutes). Can I use the following check condition? (Entity Type Device | Boolean ANY | Device * | Entity *) It's not working ...
device_uptime less 300
Cheers
------------------------------
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Ben Maschke
-
Moerman, Maarten
-
Tom Laermans