This is a multi-part message in MIME format.
--------------000708040601020705070906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I am using Nagios 2.10 and ndoutils-1.4b6 with Nagvis. Every 2-3 weeks
Nagvis reports:
'NDO claims that Nagios did no status Update for more than "180"
seconds. Make sure that Nagios and ndo2db are running.'
If I attempt to stop Nagios, it will not stop properly:
# service nagios stop
Stopping nagios: ..........
Warning - nagios did not exit in a timely manner
# ps ax | grep nagios
18178 ? Ss 0:00 /usr/local/nagios/bin/ndo2db -c
/usr/local/nagios/etc/ndo2db.cfg
28978 ? Ssl 40:55 /usr/local/nagios/bin/nagios -d
/usr/local/nagios/etc/nagios.cfg
27550 ? S 0:58 /usr/local/nagios/bin/ndo2db -c
/usr/local/nagios/etc/ndo2db.cfg
If I kill the processes and restart nagios and ndo, Nagvis still does
not work. It doesn't appear to be a problem with Nagvis as ndo2db
appears to hang.
What I have done to get around the problem is to drop the nagios
database and re-create it using the ndo installdb script. After that,
everything works again for 2-3 weeks. I have done this three times so
far. I have also seen this with Nagios 2.8 / ndoutils-1.4b6. I am
using RHEL4 64bit.
The nagios database was 287MB, and the previous time it was 273MB.
I have copies of the old databases so I can do some checks if needed. I
have included the output of mysqlshow --status nagios.
Would any of the fixes in ndoutils-1.4b7 help? I will give it a try,
but it will be 2-4 weeks before I can report back the results.
Alex
--------------000708040601020705070906
Content-Type: text/plain;
name="nagios-11-14-07.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="nagios-11-14-07.txt"
Database: nagios3
+----------------------------------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+-----------------------------------------------------------------------------------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment |
+----------------------------------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+-----------------------------------------------------------------------------------+
| nagios_acknowledgements | InnoDB | 9 | Dynamic | 0 | 0 | 16384 | | 0 | 0 | 1 | 2007-11-14 08:51:46 | | | latin1_swedish_ci | | | Current and historical host and service acknowledgements; InnoDB free: 55296 kB |
| nagios_commands | InnoDB | 9 | Dynamic | 70 | 234 | 16384 | | 16384 | 0 | 1983 | 2007-11-14 08:51:46 | | | latin1_swedish_ci | | | Command definitions; InnoDB free: 55296 kB |
| nagios_commenthistory | InnoDB | 9 | Dynamic | 0 | 0 | 16384 | | 16384 | 0 | 1 | 2007-11-14 08:51:46 | | | latin1_swedish_ci | | | Historical host and service comments; InnoDB free: 55296 kB |
| nagios_comments | InnoDB | 9 | Dynamic | 0 | 0 | 1638
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]