Alert Arguments

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
dh0125e
Posts: 40
Joined: Tue Aug 04, 2020 9:30 am

Alert Arguments

Post by dh0125e »

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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Alert Arguments

Post by ssax »

Currently those are the only ones that available. I can submit a feature request to development requesting they add some more functionality, what specific things are you looking for from them?
dh0125e
Posts: 40
Joined: Tue Aug 04, 2020 9:30 am

Re: Alert Arguments

Post by dh0125e »

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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Alert Arguments

Post by ssax »

I've created the request with a link back to this thread:

FR: LS - Alerts - Add email template macros (and any other useful macros you can think of such as all logs matched, etc) for use in the Execute Script Alert Functionality

Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.

Thank you!
Locked