Page 1 of 1

Check_interval 0

Posted: Mon Dec 05, 2011 12:22 pm
by emperaza
Hello,

I am running XI 2011R1.5 on a Redhat 5.6 64 bit VM.

for some reason i seem to have set all of my hosts check intervals to 0 during my nagios core configuration import of about 1700 hosts. I am not sure what kind of behavior this would cause as I have been receiving alerts on these hosts but i find it a bit odd that it continues to work. I would like to go back and remove the check interval parameter all together so that i can just define it in the template, so my question is there a better way to do this than to go host by host via core config manager?
if i were to edit the host.cfg files manually and then import them again would I loose any of the perf data that i have recorded so far?

Thanks,

Re: Check_interval 0

Posted: Mon Dec 05, 2011 3:35 pm
by jsmurphy
Unless your SQL skills are up to date the only way to change them is going to be host-by-host as there's no bulk change utility yet. I think re-importing would be the best way to go, but while I don't think you would lose any performance data I'm really not 100% sure.

Re: Check_interval 0

Posted: Tue Dec 06, 2011 10:30 am
by mguthrie
jsmurphy is correct. The import trick *might* work correctly, I would recommend testing on a small scale first just to verify. Otherwise the below link explains roughly how to make a change in the DB "At your own risk."

http://support.nagios.com/wiki/index.ph ... In_The_CCM