Downtime and host not in configuration.

Marc Powell marc at ena.com
Fri Dec 12 16:32:10 CET 2003


This shouldn't happen with 2.0. Ethan creates a cached copy of the config files that both nagios and the cgis use.


--
Marc

-----Original Message-----
From: Garrett, Matt M SITI-ITDIEEE <matt.garrett at shell.com>
To: Nagios-Users (E-mail) <nagios-users at lists.sourceforge.net>
Sent: Fri Dec 12 04:11:38 2003
Subject: [Nagios-users] Downtime and host not in configuration.

Folks 

Sorry if this sounds real stupid. 

One of the admin guy's was trying to add downtime via the web pages. 
All was going fine , until he tried to enter downtime for a host that did not exist in the nagios config files. 

The error message was 
"Sorry, but you are not authorized to commit the specified command. 
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.

Return from whence you came 
" 

While technically correct , in that he was not authorized to do the command , because the host was not in the config. 
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.

Just a idea. 

Matt 



Matthew Garrett 
Unix System Support 
Shell Information Technology International Limited 
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom 

Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 
Email: 
Internet: http://www.shell.com 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031212/c81b1fe1/attachment.html>


More information about the Users mailing list