Nagios Status and MySQL

Dan Rich drich at employees.org
Thu Aug 22 00:42:37 CEST 2002


On Wed, 21 Aug 2002, Ein Bielaczyc wrote:

> I successfully compiled Nagios with MySQL support on RedHat 7.2. Created the database and used the scripts from the contrib dir to create the database tables. For this initial test I have it monitoring 40 devices. Everything seems to be functioning properly with the following exceptions. For each monitoring option I see, under the Current Status bubble upper left corner, that the "Monitoring process my not be running!" I click the "Click here for more info." Process info bubble looks good, it gives me the correct Start Time, Total Running Time, PID, etc.. But Process Commands says "It appears as though Nagios is not running, so commands are temporarily unavailable..." and Process Status Information says: Process Status - Critical, Check Command Output:  Error: Cannot open status log for reading!"
> 
> It appears to me that the external commands are disabled due to my using the database to store status information as opposed to the standard status.log file. I tried a different check_nagios perl script I found in the mailing list archives but I was unsuccessful in executing it.

Check the list archives.  Someone just posted a new version of the check 
script for this very issue a week or two ago.

-- 
Dan Rich <drich at employees.org> |   http://www.employees.org/~drich/
                               |  "Step up to red alert!"  "Are you sure, sir?
                               |   It means changing the bulb in the sign..."
                               |          - Red Dwarf (BBC)



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list