Search found 40 matches

by dh0125e
Thu May 27, 2021 3:44 pm
Forum: Nagios Log Server
Topic: Real-Time Alert
Replies: 11
Views: 2274

Re: Real-Time Alert

The original syntax I has above worked.

Seems like there is a bug where if the UI Apply fails it doesn't actually tell anybody it failed.
by dh0125e
Thu May 27, 2021 1:03 pm
Forum: Nagios Log Server
Topic: Getting Alerts with Context out of Log Server
Replies: 1
Views: 308

Getting Alerts with Context out of Log Server

I'm trying to get logs with context that are more then just "X iterations were found". From the previous question I posted only email supports the macro for the actual logs. So now I'm looking into what external API query options I have ... Can I execute a saved query via the REST API? I f...
by dh0125e
Thu May 27, 2021 12:38 pm
Forum: Nagios Log Server
Topic: Real-Time Alert
Replies: 11
Views: 2274

Re: Real-Time Alert

The install was bad ... I'm now seeing configs change when applying. I'm going to get back to getting my realtime alerts to work and follow up if I my syntax doesn't work.
by dh0125e
Thu May 27, 2021 10:32 am
Forum: Nagios Log Server
Topic: Real-Time Alert
Replies: 11
Views: 2274

Re: Real-Time Alert

It's definitely not making changes to those files. No inputs or real-time alerts have their definitions being pushed even when the configuration passes validation.

I'm doing a fresh install right now to ensure there was nothing funky during install that's causing the issue.
by dh0125e
Wed May 26, 2021 3:02 pm
Forum: Nagios Log Server
Topic: Real-Time Alert
Replies: 11
Views: 2274

Re: Real-Time Alert

I'm fairly confident I've nailed this down to the Apply Config even though it passes validation check is NOT being written to logstash and implemented. I added a new input type/port and it's not there either in the back end config, nor do I see logstash listening. Where can I find more information o...
by dh0125e
Wed May 26, 2021 12:48 pm
Forum: Nagios Log Server
Topic: Alert Arguments
Replies: 3
Views: 446

Re: Alert Arguments

The actual log entires which trigger the alert should be available to a script just like they are to email. I'd expect any macro that's available to an email should be available to a script.
by dh0125e
Wed May 26, 2021 11:39 am
Forum: Nagios Log Server
Topic: Real-Time Alert
Replies: 11
Views: 2274

Re: Real-Time Alert

Should I be seeing these filters being written to "/usr/local/nagioslogserver/logstash/etc/conf.d" directory in one of the conf files? If so I'm not currently seeing that.
by dh0125e
Wed May 26, 2021 10:37 am
Forum: Nagios Log Server
Topic: Real-Time Alert
Replies: 11
Views: 2274

Re: Real-Time Alert

I now see the below and I get hits in the query alert but not in the realtime alert.

[message] in "NOTIFICATION"
by dh0125e
Tue May 25, 2021 1:29 pm
Forum: Nagios Log Server
Topic: Real-Time Alert
Replies: 11
Views: 2274

Real-Time Alert

I'm going to prefix the question saying I know that these should be far and inbetween however I need to generate events for every instance of something found and include the instance. I've tried creating a super simple one that just says message =~ /NOTIFICATION/ as for testing I'm trying to trigger...
by dh0125e
Tue May 25, 2021 12:08 pm
Forum: Nagios Log Server
Topic: Alert Arguments
Replies: 3
Views: 446

Alert Arguments

I'm wondering if there are more arguments than the count, status, output, and lastrun which are available for alerts? I'm looking for more information about the log events behind the alerts to be passed to an external script.

Thanks