Is there a way to get a list of all alerts and thresholds? I'm looking for a quick query to get a list of them since I have around 3000 or so alerts.
Thank you,
Jeremy
Is there a way to get a list of all alerts and thresholds?
Re: Is there a way to get a list of all alerts and threshold
Even though the URL says it's pretty, it's not all that pretty
Code: Select all
http://<YOURIPORFQDN>/nagioslogserver/index.php/api/backend/nagioslogserver/alert/_search?prettyFormer Nagios Employee.
me.
me.
Re: Is there a way to get a list of all alerts and threshold
hsmith wrote:Even though the URL says it's pretty, it's not all that pretty![]()
Code: Select all
http://<YOURIPORFQDN>/nagioslogserver/index.php/api/backend/nagioslogserver/alert/_search?pretty
this is good but it looks like there is a limit on the size of the response I'm getting as its only loading a few of the alerts. is there a way to increase the size of the response? Thank you.
Re: Is there a way to get a list of all alerts and threshold
Not that I am aware of. What size response are you getting?
Former Nagios employee
Re: Is there a way to get a list of all alerts and threshold
How about this?
http://<IP>/nagioslogserver/index.php/api/backend/nagioslogserver/alert/_search?pretty&size=99999
http://<IP>/nagioslogserver/index.php/api/backend/nagioslogserver/alert/_search?pretty&size=99999
Former Nagios Employee.
me.
me.
Re: Is there a way to get a list of all alerts and threshold
much better definitely gets me what I need.hsmith wrote:How about this?
http://<IP>/nagioslogserver/index.php/api/backend/nagioslogserver/alert/_search?pretty&size=99999
Thank you!
Re: Is there a way to get a list of all alerts and threshold
Great! Is there anything else we can help you with?
On a sidenote, how have your alert firings been Jklre? Do they seem consistently fine since the update? I know you have a ton of them so I figured you'd be a good test case!
On a sidenote, how have your alert firings been Jklre? Do they seem consistently fine since the update? I know you have a ton of them so I figured you'd be a good test case!