IP COLUMN IN SERVICES VIEW

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
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

IP COLUMN IN SERVICES VIEW

Post 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.
Attachments
NOC view
NOC view
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: IP COLUMN IN SERVICES VIEW

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: IP COLUMN IN SERVICES VIEW

Post 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.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: IP COLUMN IN SERVICES VIEW

Post 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 ");
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: IP COLUMN IN SERVICES VIEW

Post 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/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked