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
check service only once in a day
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check service only once in a day
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.
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: check service only once in a day
can you please provide the steps to do it.
Thanks,
Srikanth.
Thanks,
Srikanth.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check service only once in a day
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
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
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
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: check service only once in a day
It worked, Thank you for your help.