Page 1 of 1
IP COLUMN IN SERVICES VIEW
Posted: Mon Aug 14, 2017 2:49 pm
by ericssonvietnam
I require to have IP address to be present in the services view so that the NOC need not to check for the ip address on separate window.
I have attached the screenshot for your reference.
Let me know how i can add add a separate column for IP Address.
Re: IP COLUMN IN SERVICES VIEW
Posted: Mon Aug 14, 2017 3:04 pm
by scottwilkerson
The only way to add a column in nagios Core is to modify the source code and then re-compile.
I will add though that the HOSTADDRESS is available if you over over the Host column
Re: IP COLUMN IN SERVICES VIEW
Posted: Mon Aug 14, 2017 3:39 pm
by ericssonvietnam
scottwilkerson wrote:The only way to add a column in nagios Core is to modify the source code and then re-compile.
I will add though that the HOSTADDRESS is available if you over over the Host column
Can you let me know how i can do it let me know if any detail is required from my side for this.
Re: IP COLUMN IN SERVICES VIEW
Posted: Mon Aug 14, 2017 3:58 pm
by tacolover101
i think this would fall under custom development by the Nagios team, or you could post it as a request in the Core github.
https://github.com/NagiosEnterprises/nagioscore/issues
here's a start though so your C developers know where to look -
Code: Select all
[root@who nagioscore-master]# grep -R 'Host Status Details' .
./cgi/status.c: printf("<div align='center' class='statusTitle'>Host Status Details For ");
Re: IP COLUMN IN SERVICES VIEW
Posted: Mon Aug 14, 2017 5:02 pm
by scottwilkerson
ericssonvietnam wrote:scottwilkerson wrote:The only way to add a column in nagios Core is to modify the source code and then re-compile.
I will add though that the HOSTADDRESS is available if you over over the Host column
Can you let me know how i can do it let me know if any detail is required from my side for this.
Nagios Core is an open source project, which gives you great flexibility if you know how to modify the code.
We also have an option with some more flexibility out of the box, and that is Nagios XI along with the custom column component can accomplish this task without knowing how to code, in addition to including customer level support with the license.
https://www.nagios.com/products/nagios-xi/