Hi,
Currently the main page (service problems) displays all the service problems as needed, the columns are: host, service, status, etc...
I would like to display instead of the "host" column, an "alias" column
The reason is that I would like to give "nice" names in the alias, and use a long and unfriendly DNS name as the host name (which is also the address to which Nagios will reach for service checks on that host)
Is this possible at all?
Thanks
Shaul
is it possible to display the "alias" in the main screen?
Re: is it possible to display the "alias" in the main screen
I presume this can be done, but you would have to modify the cgi sources and recompile.
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.
"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.
Re: is it possible to display the "alias" in the main screen
Would you know how to point me to the relevant section in the cgi sources?
Re: is it possible to display the "alias" in the main screen
I would start by pointing you towards: the status.c file:
/path/to/nagios/source/cgi/status.c
Take a look at the "show_service_detail" function.
/path/to/nagios/source/cgi/status.c
Take a look at the "show_service_detail" function.
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.
"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.