NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ashok.verma
Posts: 19
Joined: Tue May 25, 2021 7:24 am

NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE

Post by ashok.verma »

NEED TO FETCH ACTION URL VALUE IN NAGIOS.LOG FILE
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

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

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ashok.verma
Posts: 19
Joined: Tue May 25, 2021 7:24 am

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

Post by ashok.verma »

I want to add value of action url in nagios.log file
ashok.verma
Posts: 19
Joined: Tue May 25, 2021 7:24 am

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

Post by ashok.verma »

how can I make changes in nagios.log file
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

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

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked