How to schedule weekly service check.
James Pratt
jpratt at norwich.edu
Mon Mar 28 18:00:24 CEST 2011
Hi. Sorry it's not working for you - from below, i am deducing you have it setup to check every 2 minutes, from 11am-5pm, only on Mondays. Is this correct?
Can you post your host definition, and maybe the command template for template_TEST/TEST_CMD, as I'm not sure why it's not recurring after check 1.
Btw, i was under the assumption you only wanted it to actually run a check once per week, perhaps I am missing what you are really trying to accomplish, sorry.
Thanks,
Jamie
From: Nair [mailto:vmanojv at rediffmail.com]
Sent: Monday, March 28, 2011 10:59 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users]How to schedule weekly service check.
Thank you, Jamie. However, similar set of config not working with me.
define timeperiod{
timeperiod_name only_mon
alias Only on monday
monday 11:00-17:00
}
define service{
service_description TEST_SRV
host_name localhost
max_check_attempts 1
normal_check_interval 120
retry_check_interval 1
check_period only_mon
check_command TEST_CMD
use template_TEST
}
Here, after the first check, the recurring checks fails to do, unless i reload the nagios. Still no clue about the reason !! :(
Thank you
Nair
On Fri, 25 Mar 2011 22:17:36 +0530 wrote
>Hi, there is an archived thread about a similar request; it should help get you fixed up -
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24221.html
Regards,
Jamie
From: Nair [mailto:vmanojv at rediffmail.com]
Sent: Friday, March 25, 2011 12:19 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] How to schedule weekly service check.
Friends
Can anyone please share how to configure a service check to perform check once in a week.
Thank you
Nair
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
<http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110328/03a8f387/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and publish
your website. http://p.sf.net/sfu/ms-webmatrix-sf
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list