Page 1 of 1

IP Address in nagios.log

Posted: Sun Dec 06, 2015 8:01 pm
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.

Re: IP Address in nagios.log

Posted: Sun Dec 06, 2015 8:58 pm
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.