Forcing a check through the CGI appears to essentially result in the submittion of an ‘external command’. Check the following:
[blockquote]
Format: check_external_commands=<0/1>
Example: check_external_commands=1
This option determines whether or not Nagios will check the command file for commands that should be executed. This option must be enabled if you plan on using the command CGI to issue commands via the web interface. More information on external commands can be found here.
0 = Don’t check external commands
1 = Check external commands (default) [/blockquote] nagios.sourceforge.net/docs/3_0/ … l_commands
[blockquote]External Command File
Format: command_file=<file_name>
Example: command_file=/usr/local/nagios/var/rw/nagios.cmd
This is the file that Nagios will check for external commands to process. The command CGI writes commands to this file. The external command file is implemented as a named pipe (FIFO), which is created when Nagios starts and removed when it shuts down. If the file exists when Nagios starts, the Nagios process will terminate with an error message. More information on external commands can be found here. [/blockquote] nagios.sourceforge.net/docs/3_0/ … mmand_file
[blockquote]External Command Check Interval
Format: command_check_interval=[s]
Example: command_check_interval=1
If you specify a number with an “s” appended to it (i.e. 30s), this is the number of seconds to wait between external command checks. If you leave off the “s”, this is the number of “time units” to wait between external command checks. Unless you’ve changed the interval_length value (as defined below) from the default value of 60, this number will mean minutes.
Note: By setting this value to -1, Nagios will check for external commands as often as possible. Each time Nagios checks for external commands it will read and process all commands present in the command file before continuing on with its other duties. More information on external commands can be found here. [/blockquote] nagios.sourceforge.net/docs/3_0/ … k_interval
Check permissions on the command file (eg nagios.cmd) are correct.
Check the timestamp is updated when the command is submitted.
Lastly, and I can’t find any reference to this at this precise moment due to the limited search functionallity, but IIRC a regular poster by the name of “Loose” reguarly posted on the fact that he believes the 10s to be the absolute minimum interval between check times… maybe that is a sticking point also…
HTH
/S