Thanks for your reply Bret. 

 

I would like the second idea (keep that message on all the pages in that same 
gray box). So I looked into that directory you mentioned 
(/usr/local/nagios/sbin) but they are all the compiled cgi files. When I opened 
them with UltraEdit and Notepad, they were not editable, the lines look 
something like this (below).

 

Is there any way I could edit them or may be there are pre-compiled versions of 
the files which I could edit?

 

Thanks,

h

8ñh˜   é°þÿÿÿ%<ñh    é þÿÿ...@ñh¨   é�þÿÿÿ%Dñh°   é€þÿÿÿ%Hñh¸   
épþÿÿÿ%LñhÀ   é`þÿÿÿ%PñhÈ   éPþÿÿÿ%TñhÐ   �...@þÿÿÿ%xñhØ   
é0þÿÿÿ%\ñhà   é þÿÿÿ%`ñhè   éþÿÿÿ%dñhð   é þÿÿÿ%hñhø   éðýÿÿÿ%lñh   
éàýÿÿÿ%pñh  éÐýÿÿÿ%tñh  éÀýÿÿÿ%xñh  é°

 




Date: Thu, 15 Jul 2010 16:02:14 -0400
From: [email protected]
To: [email protected]
Subject: Re: [Nagios-users] Adding a line to GUI







Hi.
 
If you are ok with posting it on the first (main) page, that is editable  ( see 
the main.php file under your nagios/share directory)
 
If you want to keep that message on all the pages (e.g. in that little gray 
box), it looks like that is generated in each of the cgi pages, which is 
compiled code.  These can be found in the Nagios/sbin directory.
It makes sense that you could edit the cgi source code and just recompile 
those….
 
-          Brent
 
 


From: Honia A [mailto:[email protected]] 
Sent: Thursday, July 15, 2010 3:45 PM
To: Nagios-users
Subject: Re: [Nagios-users] Adding a line to GUI
 
HI Jim,
 
It was very helpful thank you. I did a search for *.ssi on the same machine I 
have Nagios installed. But it didn't return anything. 
 
My question is if there is a way to change an existing text... I appreciate 
your input though.
 
Regards,
h




 



  
> Date: Thu, 15 Jul 2010 20:30:57 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Nagios-users] Adding a line to GUI
> 
> On 15 July 2010 19:58, Honia A <[email protected]> wrote:
> > Hi all,
> >
> > I am new to Nagios and has installed Nagios-3.2.1 on a CentOs machine. When
> > I log in to the GUI and click on the pages from the left frame, I see
> > a grey-ish box on all the pages which has a title corresponding to the page
> > I click on and the rest reads:
> >
> > Last Updated: Thu Jul 15 14:58:26 EDT 2010
> > Updated every 90 seconds
> > Nagios® Core™ 3.2.1 - www.nagios.org
> > Logged in as nagiosadmin
> >
> > I am trying to add a simple line to this box that warns users to be careful
> > not to change anything, but can't seem to find the file in charge with this.
> >
> > Can someone please help me with this?
> 
> 
> I guess it's probably not quite what you're after, but is this any help? :-
> 
> http://nagios.sourceforge.net/docs/3_0/cgiincludes.html
> 
> I haven't tried it myself btw.
> 
> hth,
> 
> Jim
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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



The New Busy is not the old busy. Search, chat and e-mail from your inbox. Get 
started.                                           
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to