Nagios and Web Interface
ericblumenau at techtvcorp.com
ericblumenau at techtvcorp.com
Wed Feb 5 17:38:36 CET 2003
Good morning Mr. Ghosh,
Thanks for the quick reply. I pulled that 's' from the documentation:
http://nagios.sourceforge.net/docs/1_0/configmain.html#command_check_interval
I have the default interval_length of 60 seconds and I wanted to
check for external commands more frequently than that. Thus the "20s"
entry. I will try it with an integer and see if that works.
Eric
Subhendu Ghosh wrote:
> command_check_interval should be just an integer "20" not "20s"
>
> This is probably a bug in the flight-check routine for not catching it.
>
> -sg
>
> On Tue, 4 Feb 2003 ericblumenau at techtvcorp.com wrote:
>
>
>>
>>
>>Greetings all,
>>I'm having some problems with the web interface and executing
>>external commands. I've followed the instructions in the documentation.
>> The permissions on the directory that holds the command file are:
>>drwxrwsr-- 2 nagios nagios 512 Feb 4 15:46 logs
>>
>> Here are the permissions for the command file:
>>prw-rw---- 1 nagios nagios 0 Feb 4 15:44 nagios.cmd
>>
>> My apache is running as user nobody. This user is also a member of
>>the nagios group.
>>
>> I have these two lines in my main Nagios config file:
>>check_external_commands=1
>>command_check_interval=20s
>>
>> I can tail my command file and see commands entered when I click
>>through the web interface. Here is a command that I just sent and
>>caught in a tail -f:
>>[1044402248] DISABLE_SVC_NOTIFICATIONS;townsend-edge;Aliveness
>>
>> I've certainly waited more than 20s to see the change go through. In
>>fact, I haven't seen a change in over an hour. The mailing-list
>>archives don't seem to be working and Google has let me down on this.
>>Is there a known issue on the web interface and external commands?
>>
>> If you reply to the nagios list, please cc: me in at
>>ericblumenau at techtvcorp.com I don't want to miss your response amongst
>>the voluminous daily summaries.
>>
>>Thanks,
>>Eric
>>
>>
>>
>
>
PLEASE NOTE: This message, including any attachments, may include privileged,
confidential and/or inside information. Any distribution or use of this
communication by anyone other than the intended recipient(s) is strictly
prohibited and may be unlawful. If you are not the intended recipient, please
notify the sender by replying to this message and then delete it from your
system. Thank you.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list