Page 1 of 1

NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Posted: Tue Oct 26, 2021 5:19 am
by ashok.verma
NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Re: NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Posted: Tue Oct 26, 2021 4:15 pm
by benjaminsmith
Hi,

You'll find the Action URL settings in the object configurations (/usr/local/nagios/etc).

See: https://assets.nagios.com/downloads/nag ... .html#host

--Benjamin

Re: NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Posted: Tue Oct 26, 2021 9:59 pm
by ashok.verma
I want to add value of action url in nagios.log file

Re: NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Posted: Tue Oct 26, 2021 10:00 pm
by ashok.verma
how can I make changes in nagios.log file

Re: NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Posted: Wed Nov 03, 2021 4:14 pm
by benjaminsmith
Hi,

That information is stored in the configurations files. What gets written to the nagios.log is handled by Core, what is the context here? You can always create a script to append this to the nagios.log or use an event handler.

--Benjamin