The entities under /alerts/ are alert entries, not alert tests/checkers. Their index is alert_entry_id, not alert_test_id.

Youre sort of doing /ports/4/ and wondering why you don't get all the ports for device 4.

It's possible you can do /alerts/?alert_test_id=4

Adam.

Sent from BlueMail
On 24 Feb 2020, at 13:10, Daniel Rolfe via observium <observium@observium.org> wrote:
Hi,

I'm basically trying to hit the API just to check for that alert_test_id=4 which is our bgp checker

Not all the other alert checkers

Regards, Daniel



On Fri, Feb 21, 2020 at 11:59 PM Adam Armstrong via observium < observium@observium.org> wrote:

You’ve probably already worked this out yourself, but…

 

Why would you think something returned by /alert_checks/ would exist under /alerts/ ? 😉

 

Adam.

 

 

From: observium <observium-bounces@observium.org> On Behalf Of Daniel Rolfe via observium
Sent: 21 February 2020 02:05
To: Observium Network Observation System <observium@observium.org>
Cc: Daniel Rolfe <daniel.rolfe.au@gmail.com>
Subject: [Observium] API strange issue

 

Hi All, 

 

Can anyone think of what I'm missing with this issue ?

 

see images below:

 

So I have an alert checker with ID 4

 

image.png

 

But hitting the api directly for that id gives a 404

 

image.png

 

Observium details 

 

image.png

 

Thanks in advance

 

images attached also in case of non html email clients

 

Regards, Daniel

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium