Check_interval 0

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
emperaza
Posts: 16
Joined: Fri Apr 15, 2011 12:08 pm

Check_interval 0

Post 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,
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Check_interval 0

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check_interval 0

Post 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
Locked