compliing the extinfo.c

Marc Powell marc at ena.com
Thu Jul 31 18:06:04 CEST 2008


On Jul 31, 2008, at 4:09 AM, Assaf Flatto wrote:

> Hello
>
> I want to add a custom header to my extinfo.cgi display . that when  
> ever i look in to a problem , in
> the header is can see whom is the main contact person for the server/ 
> service problem .
>
> I know i need to recompile the extinfo.c and add the functionality  
> to my existing build , however i
> am not a C programmer and don't want to muck about in things i have  
> no understanding since that is
> a good way for a disaster .
>
> Has anyone ever done anything like that  ? or can guide me on how to  
> do that ?

If you're working in a source tree that has already been compiled,  
just edit extinfo.c to add your changes and run 'make' within that  
directory. The new extinfo.cgi will be created and you can use that to  
replace your existing (or just run 'make install' from the base of the  
source tree).

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list