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.
IP COLUMN IN SERVICES VIEW
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: IP COLUMN IN SERVICES VIEW
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
I will add though that the HOSTADDRESS is available if you over over the Host column
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: IP COLUMN IN SERVICES VIEW
Can you let me know how i can do it let me know if any detail is required from my side for this.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
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: IP COLUMN IN SERVICES VIEW
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 -
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 ");
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: IP COLUMN IN SERVICES VIEW
Nagios Core is an open source project, which gives you great flexibility if you know how to modify the code.ericssonvietnam wrote:Can you let me know how i can do it let me know if any detail is required from my side for this.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
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/