<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6396.0">
<TITLE>Downtime and host not in configuration.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Folks</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Sorry if this sounds real stupid.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">One of the admin guy's was trying to add downtime via the web pages.</FONT>

<BR><FONT SIZE=2 FACE="Arial">All was going fine , until he tried to enter downtime for a host that did not exist in the nagios config files.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The error message was</FONT>

<BR><FONT FACE="Times New Roman">"Sorry, but you are not authorized to commit the specified command. </FONT>

<BR><FONT FACE="Times New Roman">Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.<BR>
<BR>
<U></U></FONT><U><FONT COLOR="#0000FF" FACE="Times New Roman">Return from whence you came </FONT></U>

<BR><U><FONT COLOR="#0000FF" FACE="Times New Roman">"</FONT></U>
</P>

<P><FONT SIZE=2 FACE="Arial">While technically correct , in that he was not authorized to do the command , because the host was not in the config.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Is there any way to make nagios , give a better error message , like check if the host is in the config files and if not generate a suitable error.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Just a idea.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Matt</FONT>
</P>
<BR>
<BR>

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Matthew Garrett</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Unix System Support</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Shell Information Technology International Limited</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom</FONT></SPAN>
</P>

<P><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Tel:</FONT></B> <FONT SIZE=2 FACE="Arial">+44 (0)1224 81 8373</FONT><B><FONT SIZE=2 FACE="Arial"> Other Tel:</FONT></B> <FONT SIZE=2 FACE="Arial">Internal 630 8373</FONT></SPAN>

<BR><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Email:</FONT></B> </SPAN>

<BR><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Internet:</FONT></B> <FONT SIZE=2 FACE="Arial"><A HREF="http://www.shell.com">http://www.shell.com</A></FONT></SPAN>
</P>

</BODY>
</HTML>