Link to query

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Link to query

Post by WillemDH »

Hello,

So I made a query which lists all nsca passive service check events in NLS, made an NRDP alert which sends a critical if more then 500 events are found.

Query:

Code: Select all

program:nsca AND message:"SERVICE CHECK"
Now it would be nice to be able to make a quick action in nagios XI, which could activate an URL which would open NLS with this specific query. Is this possible and if yes, how?

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Link to query

Post by tmcdonald »

Open up your LS dashboard, save your query and dash, then grab the URL. Mine looks like this:

http://192.168.1.100/nagioslogserver/da ... aZ3ilB_ivt

Though if you are looking to pass the query along dynamically as a URL option, I do not know off the top of my head how to do that.
Former Nagios employee
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Link to query

Post by WillemDH »

Trevor,

Managed to make it work. My URL looks like this though:

https://nlsserver/nagioslogserver/dashb ... 1%5D%7D%7D

Thread can be closed.
Nagios XI 5.8.1
https://outsideit.net
Locked