Recommended IOPS for nagios/mysql
Posted: Tue Nov 27, 2012 1:36 pm
This past weekend we ran into an issue where the optimize tables function appeared to have hung and locked out our database, it first hung on the table nagios_logentries and then later on nagios_notifications, both times the mysqld daemon was stopped the tables repaired and trunctated. The process has been running longer and longer over time I have noticed(was reindexing both notifications and logenetires hourly lately and taking 4 or 5 minutes to complete). It appears there may have been some latency issues on our storage network this weekend, I have put in an inquiry to have the mysql server moved to a faster service of disk however the storage team has asked me what Nagios requirement is for in terms of IOPS? Also outside of the table optimization that appears to run frequently is there any other type of maintenance that should be performed?
our configuration is as follows
1643 Hosts
12448 active service checks running at 5 min intervals
1 - nagiosxi 2012 server 4 vcpu's 8 gb ram
1 - mysql server 2 vcpu's 2 gb ram(additional cpu added recently, server doesn't appear to be memory bound)
5 - centos mod_gearman worker servers 1 vcpu 2gb(check_wmi_plus primarily used for checks)
2 - windows mod_gearman servers 1 vcpu 2gb (run some vb scripts for ms clusters)
Thanks,
Paul
our configuration is as follows
1643 Hosts
12448 active service checks running at 5 min intervals
1 - nagiosxi 2012 server 4 vcpu's 8 gb ram
1 - mysql server 2 vcpu's 2 gb ram(additional cpu added recently, server doesn't appear to be memory bound)
5 - centos mod_gearman worker servers 1 vcpu 2gb(check_wmi_plus primarily used for checks)
2 - windows mod_gearman servers 1 vcpu 2gb (run some vb scripts for ms clusters)
Thanks,
Paul