Page 1 of 1
check service only once in a day
Posted: Wed Sep 03, 2014 10:49 am
by srikanth.kallu
Hi,
I have wrote a plugin and it works fine, now i want to run this only once in a day at 1AM
What setting to i change to achieve this.
Thanks,
Srikanth
Re: check service only once in a day
Posted: Wed Sep 03, 2014 11:19 am
by slansing
You could create a custom timeperiod for that service check, and assign it as the check period for that service and it's interval, that would probably be the easiest way. This would be done in the CCM.
Re: check service only once in a day
Posted: Wed Sep 03, 2014 11:26 am
by srikanth.kallu
can you please provide the steps to do it.
Thanks,
Srikanth.
Re: check service only once in a day
Posted: Wed Sep 03, 2014 11:29 am
by slansing
You will need to create the time period to your specs in CCM > Time Periods > Add New. Then save that time period, and simply apply it to the Check Period portion of one of your services.
Re: check service only once in a day
Posted: Wed Sep 03, 2014 12:10 pm
by BanditBBS
Don't go through the hell I just went through the other day, here is what you have to do
1.) Create a new time period and set it for 01:00-01:00 for every day
2.) Set that as the check_period for the service
3.) Set the check_interval to 1 for the service
It will schedule it then once per day withing a minute of 01:00
Re: check service only once in a day
Posted: Wed Sep 03, 2014 1:46 pm
by srikanth.kallu
It worked, Thank you for your help.