Page 1 of 1

add a column in the interface

Posted: Wed May 30, 2018 7:30 am
by ggoudelin
Hello, I have a question I want to add a column in the interface of the service tab to put the link to recovery procedures in case of service outage

Many tanks for your reply

Re: add a column in the interface

Posted: Wed May 30, 2018 8:31 am
by mcapra
The easiest way to do this is via the notes for a particular host/service:

Code: Select all

define service{
        ...
        notes                           Here are some simple steps to fix problems.
        notes_url                       http://www.example.com
        }
Which produces the following:
2018_05_30_08_27_24_Nagios_Core_on_10.35.6.245.png
Most other paths, including your specific situation where you want to add an entire column, require some knowledge of Nagios Core on the back-end as well as familiarity with old-school CGIs. Here's an older post I made in which I add a Kibana/Marvel link to a specific host on the status overview which references a custom macro included in my host definition:
https://support.nagios.com/forum/viewto ... 87#p222987

Re: add a column in the interface

Posted: Wed May 30, 2018 8:33 am
by scottwilkerson
To add a column to the Nagios Core interface you would need to make your change in the source code and then re-compile
https://github.com/NagiosEnterprises/nagioscore

Many people put it in the notes field, or Notes URL and get there from the detail page

Re: add a column in the interface

Posted: Thu May 31, 2018 2:09 am
by ggoudelin
Hello, Thanks for your feedback is good in the Nagios interface.
i wish translate : View Extra Service Notes in French

what is the file to edit to translate to French

thanks in advance for your reply.
Gilles

Re: add a column in the interface

Posted: Thu May 31, 2018 9:14 am
by scottwilkerson
Nagios Core doesn't have builtin language support, but again you could change it in the source and re-compile
https://github.com/NagiosEnterprises/na ... i/status.c

Alternately Nagios XI does have multi language support builtin
https://www.nagios.com/products/nagios-xi/

Re: add a column in the interface

Posted: Tue Jul 03, 2018 2:21 am
by ggoudelin
thank you for your answer, I'm a little beginner with what tools I can recompile the cgi?

Re: add a column in the interface

Posted: Tue Jul 03, 2018 9:20 am
by scottwilkerson
compiling is going through this process

https://support.nagios.com/kb/article/n ... ce-96.html