<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks for your reply Bret. <BR>
 <BR>
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).<BR>
 <BR>
Is there any way I could edit them or may be there are pre-compiled versions of the files which I could edit?<BR>
 <BR>
Thanks,<BR>
h<BR><BR>8h   %<h     <A href="mailto:%@h">%@h</A>   %Dh   %Hh   p%Lh   `%Ph   P%Th   <A href="mailto:@%Xh">@%Xh</A>   0%\h    %`h   %dh    %hh   %lh   %ph  %th  %xh  <BR><BR> <BR>
<BR>
<HR id=stopSpelling>
Date: Thu, 15 Jul 2010 16:02:14 -0400<BR>From: bparish@cognex.com<BR>To: nagios-users@lists.sourceforge.net<BR>Subject: Re: [Nagios-users] Adding a line to GUI<BR><BR>
<STYLE>
.ExternalClass .ecxshape
{;}
</STYLE>

<STYLE>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxMsoListParagraph, .ExternalClass li.ecxMsoListParagraph, .ExternalClass div.ecxMsoListParagraph
{margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle19
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass div.ecxSection1
{page:Section1;}
.ExternalClass ol
{margin-bottom:0in;}
.ExternalClass ul
{margin-bottom:0in;}
</STYLE>

<DIV class=ecxSection1>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Hi.</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">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)</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">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.</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">It makes sense that you could edit the cgi source code and just recompile those.</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P style="TEXT-INDENT: -0.25in" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>-<SPAN style="FONT: 7pt 'Times New Roman'">          </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Brent</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=ecxMsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> Honia A [mailto:honia2002@hotmail.com] <BR><B>Sent:</B> Thursday, July 15, 2010 3:45 PM<BR><B>To:</B> Nagios-users<BR><B>Subject:</B> Re: [Nagios-users] Adding a line to GUI</SPAN></P></DIV></DIV>
<P class=ecxMsoNormal> </P>
<P style="MARGIN-BOTTOM: 12pt" class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">HI Jim,<BR> <BR>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. <BR> <BR>My question is if there is a way to change an existing text... I appreciate your input though.<BR> <BR>Regards,<BR>h<BR><BR></SPAN></P>
<DIV>
<DIV>
<P class=ecxMsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 10pt"> </SPAN></B></P></DIV></DIV>
<P style="MARGIN-BOTTOM: 12pt" class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt"><BR><BR><BR>  <BR>> Date: Thu, 15 Jul 2010 20:30:57 +0100<BR>> From: jim@jimavery.me.uk<BR>> To: nagios-users@lists.sourceforge.net<BR>> Subject: Re: [Nagios-users] Adding a line to GUI<BR>> <BR>> On 15 July 2010 19:58, Honia A <honia2002@hotmail.com> wrote:<BR>> > Hi all,<BR>> ><BR>> > I am new to Nagios and has installed Nagios-3.2.1 on a CentOs machine. When<BR>> > I log in to the GUI and click on the pages from the left frame, I see<BR>> > a grey-ish box on all the pages which has a title corresponding to the page<BR>> > I click on and the rest reads:<BR>> ><BR>> > Last Updated: Thu Jul 15 14:58:26 EDT 2010<BR>> > Updated every 90 seconds<BR>> > Nagios Core 3.2.1 - www.nagios.org<BR>> > Logged in as nagiosadmin<BR>> ><BR>> > I am trying to add a simple line to this box that warns users to be careful<BR>> > not to change anything, but can't seem to find the file in charge with this.<BR>> ><BR>> > Can someone please help me with this?<BR>> <BR>> <BR>> I guess it's probably not quite what you're after, but is this any help? :-<BR>> <BR>> http://nagios.sourceforge.net/docs/3_0/cgiincludes.html<BR>> <BR>> I haven't tried it myself btw.<BR>> <BR>> hth,<BR>> <BR>> Jim<BR>> <BR>> ------------------------------------------------------------------------------<BR>> This SF.net email is sponsored by Sprint<BR>> What will you do first with EVO, the first 4G phone?<BR>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first<BR>> _______________________________________________<BR>> Nagios-users mailing list<BR>> Nagios-users@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>> ::: Messages without supporting info will risk being sent to /dev/null</SPAN></P>
<DIV style="TEXT-ALIGN: center" class=ecxMsoNormal align=center><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">The New Busy is not the old busy. Search, chat and e-mail from your inbox. <A href="http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3">Get started.</A></SPAN></P></DIV>                                         <br /><hr />The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.  <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5' target='_new'>Get busy.</a></body>
</html>