Add IP address column in hosts list?

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
soulliss
Posts: 5
Joined: Mon Jan 14, 2013 7:56 pm

Add IP address column in hosts list?

Post by soulliss »

Hi all!

Have a question about Nagios Web Interface (Core - Version 3.4.1)...

For example...on "Hosts" page it sorts out the list by host name, status, last check, duration and status information. I would like to add column with IP address of the hosts in the list. I searched "status.c" file and its not problem to add another element to be shown on that page but I dont know where the variables that are shown are defined.

So if anyone tried something like that would apreciate any input :)

Thx!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Add IP address column in hosts list?

Post by abrist »

There is a good change you have to go spelunking in the cgi source code.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked