IP Address in nagios.log

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
dhineshkumar
Posts: 22
Joined: Wed Jul 22, 2015 8:32 am

IP Address in nagios.log

Post by dhineshkumar »

Hi.,

We are using custom plugin which picks the service alerts from the nagios.log and sends it to the ticketing tool. We have requirement to have IP Address also in the ticket. Is it possible to print the IPAddress along with hostnames in the Nagios.log file.

Thanks.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: IP Address in nagios.log

Post by Box293 »

There is nothing here that states you can customise how something is logged in nagios.log
https://assets.nagios.com/downloads/nag ... gmain.html

The only way would be to enable debug logging, perhaps it will be in there.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked