timeperiod_name workhours in nagios


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers timeperiod_name workhours in nagios
# 1  
Old 04-20-2007
timeperiod_name workhours in nagios

Hi All,

Any of you explain in brief on "timeperiod_name workhours" in nagios

for example: define timeperiod{
timeperiod_name workhours
alias "Normal" Working Hours
monday 08:00-18:00
tuesday 08:00-18:00 ....

this means, is it check the respective service at 08:00 & 18:00 or it will checks every hr/sec ... please clarify

Thanks in advance for your valuable feedback

Regards,
Bachegowda
# 2  
Old 04-20-2007
read about timeperiods in the online documentation of Nagios: here
# 3  
Old 04-22-2007
The timeperiods only cover alerting coverage for that particular service, as referenced by the notification_period directive in services.cfg.

To specify how often services are checked, normal_check_interval is what you need (here, we check every 2 minutes), then we retry on failure every 1 minute, and notify every 20 minutes until the service comes good or is acknowledged. We also check the service 3 times before alerting (i.e. the failure, then two retries).
Code:
define service {
        ...
        max_check_attempts              3
        normal_check_interval           2
        retry_check_interval            1
        notification_interval           20
        notification_period             mytimeperiod
        ...
}

Cheers
ZB
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

2. Infrastructure Monitoring

How secure using Nagios?

Hello Experts, I have my windows servers located at different data-centers across US and I am monitoring all of them using Nagios server configured on a CentOS. All communications are done via public IP address and I doubt it can invite some security threats too. Can anyone let me know if it is... (3 Replies)
Discussion started by: naw_deepak
3 Replies

3. Red Hat

Nagios Problem

Hi Everybody, I have configure nagios server and client on my lab machines which are running under VMWARE. Now i would like to know how the nagios working in my systems. For that, what i did is i filled up the / partition with some data above 95% in client. But still it is report good... (0 Replies)
Discussion started by: mastansaheb
0 Replies

4. Infrastructure Monitoring

Nagios Error

Im new to monitoring so i was testing few monitoring tools and I've had this problem with nagios, i downloaded the Nagios XI VM and im using virtualbox to run it and when i reach the GRUB i get this Error 16 : inconsistent file system structure, i have tried troubleshooting the problem but i... (1 Reply)
Discussion started by: HashB
1 Replies

5. AIX

Nagios on AIX

I have just been handed a server running aix 61, and an installation of nagios is running on this server. It is monitoring multiple servers in our environment, i assume it is only monitoring aix servers, the admin that did this install has left the company and there isnt any documentation on this... (2 Replies)
Discussion started by: asyed123
2 Replies

6. Red Hat

Need help with Nagios scripting

hye, I) so am using nagios through centreon. i now understand were perl plugins should be written "in libexec" but my question is , i just create a file via VI write the script in it , and use it through centreon interface? II) lets say i would like to add a drop down menu to this webpage... (0 Replies)
Discussion started by: waelkd
0 Replies

7. Red Hat

Nagios Problem

Hello, I installed Nagios on the Centreon Platform <----"Centralized monitoring platform" anyways now every time i click on any of the tabs inside centreon interface, it gives me a Blank page, i have no idea what to do. i thought of resetting nagios to an earlier time when it was running... (2 Replies)
Discussion started by: waelkd
2 Replies

8. Infrastructure Monitoring

Nagios Auditing

Hi Folks, I have Nagios 3.0.6 which is monitoring 400+ servers in my environment and is administered by multiple administrators. I want to get notified if somebody enable or disable any notification of any of the hosts/services from GUI. Is it possible to configure? If so, how? (0 Replies)
Discussion started by: SiddhV
0 Replies

9. Red Hat

nagios configuration

HI all, This is my first topic in this forum. I have a test environment which has a fedora in it and i installed nagios 3.0.6 I added windows clients into it. But i am not getting informative outputs from it. Can anyone tell me where i can edit inorder to get a more informative garph output.... (4 Replies)
Discussion started by: Renjesh
4 Replies
Login or Register to Ask a Question