From my Nagios (3.2.3) system I had to check Linux systems.
Between other issues I had to check the available disk space and whether there are new updates available.
Both checks works correct now.
The next step is to configure Nagios on such a way that the check for available disk space is performed every quarter of an hour
and the check for available updates is performed one times a day.
How can I configure this?
I know the use of timeperiod's and notification_period's.
I can configure the the timeperiod of all check for one host.
But how can I configure the different check to one systems with a different time period?
Different frequency of tests to one systems.
-
Hans van Leeuwen
- Posts: 5
- Joined: Mon Jan 04, 2016 7:27 am
Re: Different frequency of tests to one systems.
I think what you're looking for is check_interval in your service definition -
See this link: https://assets.nagios.com/downloads/nag ... tions.htmlThis directive is used to define the number of "time units" to wait before scheduling the next "regular" check of the service. "Regular" checks are those that occur when the service is in an OK state or when the service is in a non-OK state, but has already been rechecked max_check_attempts number of times. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation.
Former Nagios Employee